joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 7
jbe 0x425774
mov edi, dword [edi]
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x37
mov byte [ebp - 0x11], 5
mov byte [ebp - 0x10], 0x37
mov byte [ebp - 0xf], 0x16
mov byte [ebp - 0xe], 0x37
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x37
mov byte [ebp - 0xb], 0x14
mov byte [ebp - 0xa], 0x37
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x37
mov byte [ebp - 7], 0x30
mov byte [ebp - 6], 0x37
mov byte [ebp - 5], 0x47
mov byte [ebp - 4], 0x37
mov byte [ebp - 3], 0x37
mov byte [ebp - 2], 0x37
mov al, byte [ebp - 0x13]
mov al, byte [ebp - 0x14]
test al, al
jne 0x4257f4
xor esi, esi
lea ebx, [esi + 0x7f]
nop
mov al, byte [ebp + esi - 0x13]
movzx ecx, al
sub ecx, 0x37
mov eax, ecx
shl eax, 5
sub eax, ecx
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + esi - 0x13], dl
inc esi
cmp esi, 0x12
jb 0x4257d0
lea eax, [ebp - 0x13]
push edi
push eax
call fcn.00424130
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
push edi
cmp esi, eax
je 0x42610d
cmp dword [esi + 0x14], 7
mov ebx, esi
jbe 0x42603a
mov ebx, dword [esi]
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0x4b
mov byte [ebp - 0x2a], 0x24
mov byte [ebp - 0x29], 0x49
mov byte [ebp - 0x28], 0x24
mov byte [ebp - 0x27], 0x21
mov byte [ebp - 0x26], 0x24
mov byte [ebp - 0x25], 0x78
mov byte [ebp - 0x24], 0x24
mov byte [ebp - 0x23], 0x2c
mov byte [ebp - 0x22], 0x24
mov byte [ebp - 0x21], 0x33
mov byte [ebp - 0x20], 0x24
mov byte [ebp - 0x1f], 0x37
mov byte [ebp - 0x1e], 0x24
mov byte [ebp - 0x1d], 0x16
mov byte [ebp - 0x1c], 0x24
mov byte [ebp - 0x1b], 0x2c
mov byte [ebp - 0x1a], 0x24
mov byte [ebp - 0x19], 0x43
mov byte [ebp - 0x18], 0x24
mov byte [ebp - 0x17], 0x4b
mov byte [ebp - 0x16], 0x24
mov byte [ebp - 0x15], 0x5d
mov byte [ebp - 0x14], 0x24
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0x24
mov byte [ebp - 0x11], 0x24
mov byte [ebp - 0x10], 0x24
mov al, byte [ebp - 0x2b]
mov al, byte [ebp - 0x2c]
test al, al
jne 0x4260e7
xor edi, edi
lea esi, [edi + 0x7f]
nop dword [eax]
mov al, byte [ebp + edi - 0x2b]
mov ecx, 0x24
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x23
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + edi - 0x2b], dl
inc edi
cmp edi, 0x1c
jb 0x4260c0
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x2b]
push ebx
push eax
call fcn.00424130
add esi, 0x18
add esp, 8
mov dword [ebp - 4], esi
cmp esi, dword [ebp - 8]
jne 0x426030
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
push edi
cmp esi, eax
je 0x42620f
cmp dword [esi + 0x14], 7
mov ebx, esi
jbe 0x42614a
mov ebx, dword [esi]
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0x3e
mov byte [ebp - 0x26], 3
mov byte [ebp - 0x25], 0x5c
mov byte [ebp - 0x24], 3
mov byte [ebp - 0x23], 0x24
mov byte [ebp - 0x22], 3
mov byte [ebp - 0x21], 0x23
mov byte [ebp - 0x20], 3
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 3
mov byte [ebp - 0x1d], 0x5a
mov byte [ebp - 0x1c], 3
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x1a], 3
mov byte [ebp - 0x19], 0x66
mov byte [ebp - 0x18], 3
mov byte [ebp - 0x17], 0x3e
mov byte [ebp - 0x16], 3
mov byte [ebp - 0x15], 0x63
mov byte [ebp - 0x14], 3
mov byte [ebp - 0x13], 0x5c
mov byte [ebp - 0x12], 3
mov byte [ebp - 0x11], 3
mov byte [ebp - 0x10], 3
mov al, byte [ebp - 0x27]
mov al, byte [ebp - 0x28]
test al, al
jne 0x4261e9
xor edi, edi
lea esi, [edi + 0x7f]
nop dword [eax]
mov al, byte [ebp + edi - 0x27]
movzx ecx, al
sub ecx, 3
lea eax, [ecx*8]
sub eax, ecx
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + edi - 0x27], dl
inc edi
cmp edi, 0x18
jb 0x4261c0
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x27]
push ebx
push eax
call fcn.00424130
add esi, 0x18
add esp, 8
mov dword [ebp - 4], esi
cmp esi, dword [ebp - 8]
jne 0x426140
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [0x4692e8]
sub esp, 0x18
push esi
mov esi, ecx
push edi
sub eax, 1
je 0x42a820
sub eax, 1
je 0x42a777
xorps xmm0, xmm0
push 0
movups xmmword [esi], xmm0
push 0x461aac
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00415e90
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0x38
mov byte [ebp - 0x16], 0x2f
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], 0x2f
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x2f
mov byte [ebp - 0x11], 0x7b
mov byte [ebp - 0x10], 0x2f
mov byte [ebp - 0xf], 0x5f
mov byte [ebp - 0xe], 0x2f
mov byte [ebp - 0xd], 0x38
mov byte [ebp - 0xc], 0x2f
mov byte [ebp - 0xb], 0x3f
mov byte [ebp - 0xa], 0x2f
mov byte [ebp - 9], 0x47
mov byte [ebp - 8], 0x2f
mov byte [ebp - 7], 0x2f
mov byte [ebp - 6], 0x2f
mov al, byte [ebp - 0x17]
mov al, byte [ebp - 0x18]
test al, al
jne 0x42a7f2
xor ecx, ecx
lea edi, [ecx + 0x7f]
mov al, byte [ebp + ecx - 0x17]
movzx eax, al
sub eax, 0x2f
imul eax, eax, 0x37
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 0x12
jb 0x42a7d2
xorps xmm0, xmm0
lea ecx, [ebp - 0x17]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a810
jmp 0x42a8d1
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0x60
mov byte [ebp - 0x16], 0x7a
mov byte [ebp - 0x15], 0x16
mov byte [ebp - 0x14], 0x7a
mov byte [ebp - 0x13], 6
mov byte [ebp - 0x12], 0x7a
mov byte [ebp - 0x11], 0x31
mov byte [ebp - 0x10], 0x7a
mov byte [ebp - 0xf], 0x12
mov byte [ebp - 0xe], 0x7a
mov byte [ebp - 0xd], 0x46
mov byte [ebp - 0xc], 0x7a
mov byte [ebp - 0xb], 0x7b
mov byte [ebp - 0xa], 0x7a
mov byte [ebp - 9], 0x21
mov byte [ebp - 8], 0x7a
mov byte [ebp - 7], 0x60
mov byte [ebp - 6], 0x7a
mov byte [ebp - 5], 0x7a
mov byte [ebp - 4], 0x7a
mov al, byte [ebp - 0x17]
mov al, byte [ebp - 0x18]
test al, al
jne 0x42a8ac
push ebx
xor ebx, ebx
lea edi, [ebx + 0x7f]
mov al, byte [ebp + ebx - 0x17]
mov ecx, 0x7a
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 3
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ebx - 0x17], dl
inc ebx
cmp ebx, 0x14
jb 0x42a884
pop ebx
xorps xmm0, xmm0
lea ecx, [ebp - 0x17]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a8c6
sub ecx, edx
lea eax, [ebp - 0x17]
sar ecx, 1
push ecx
mov ecx, esi
push eax
call fcn.00415e90
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42a8f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [0x4692e8]
sub esp, 0x20
push esi
mov esi, ecx
push edi
sub eax, 1
je 0x42aa05
sub eax, 1
je 0x42a937
xorps xmm0, xmm0
push 0
movups xmmword [esi], xmm0
push 0x461aac
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00415e90
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x5a
mov byte [ebp - 0x1e], 0x17
mov byte [ebp - 0x1d], 0x1e
mov byte [ebp - 0x1c], 0x17
mov byte [ebp - 0x1b], 0x34
mov byte [ebp - 0x1a], 0x17
mov byte [ebp - 0x19], 0x6d
mov byte [ebp - 0x18], 0x17
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x17
mov byte [ebp - 0x15], 0x5a
mov byte [ebp - 0x14], 0x17
mov byte [ebp - 0x13], 1
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x17
mov byte [ebp - 0xf], 0x4f
mov byte [ebp - 0xe], 0x17
mov byte [ebp - 0xd], 0x24
mov byte [ebp - 0xc], 0x17
mov byte [ebp - 0xb], 0x5d
mov byte [ebp - 0xa], 0x17
mov byte [ebp - 9], 0x24
mov byte [ebp - 8], 0x17
mov byte [ebp - 7], 0x17
mov byte [ebp - 6], 0x17
mov al, byte [ebp - 0x1f]
mov al, byte [ebp - 0x20]
test al, al
jne 0x42a9db
push ebx
xor ebx, ebx
lea edi, [ebx + 0x7f]
mov al, byte [ebp + ebx - 0x1f]
mov ecx, 0x17
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 3
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ebx - 0x1f], dl
inc ebx
cmp ebx, 0x1a
jb 0x42a9b3
pop ebx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1f]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a9f5
jmp 0x42aadb
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x5b
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0x60
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0x19
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0x1e
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0x37
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0x3c
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0x79
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0x5b
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0xc
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0x1e
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0xf
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0x1e
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x1f]
mov al, byte [ebp - 0x20]
test al, al
jne 0x42aaae
xor ecx, ecx
lea edi, [ecx + 0x7f]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x1f]
xor edx, edx
movzx eax, al
imul eax, eax, 0x19
div edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ecx - 0x1f], dl
inc ecx
cmp ecx, 0x1c
jb 0x42aa90
xorps xmm0, xmm0
lea ecx, [ebp - 0x1f]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42aad0
sub ecx, edx
lea eax, [ebp - 0x1f]
sar ecx, 1
push ecx
mov ecx, esi
push eax
call fcn.00415e90
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435410
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00435420

Function at 0x4356a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4356ac
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004356c0

Function at 0x438531
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x438570
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438570
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438570
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x438570
cmp dword [ecx + 0x74], 0xe
jbe 0x438570
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x447fe1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004386a0
mov eax, dword [0x465040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00446c55
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x448023
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x44817f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00454e00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4682f0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00447bf9
mov ecx, dword [esi*4 + 0x4682f0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x448178
cmp eax, dword [ecx + edi + 0x24]
jne 0x448178
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448178
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00447bf9
add esp, 0x14
test edx, edx
jl 0x448178
jg 0x4480ee
test eax, eax
jb 0x448178
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x448178
jl 0x448108
cmp dword [ebp - 0x1008], eax
ja 0x448178
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x448126
test ebx, ebx
je 0x44815f
cmp ecx, edi
jae 0x44815f
mov al, byte [ecx]
cmp al, 0xd
jne 0x448140
lea eax, [edi - 1]
cmp ecx, eax
jae 0x44814c
cmp byte [ecx + 1], 0xa
jne 0x44814c
inc ecx
jmp 0x44814c
movzx eax, al
movsx eax, byte [eax + 0x465318]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x448126
cmp edx, ebx
jne 0x448126
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x44817d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00437671
leave
ret
Function at 0x448f46
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4682f0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x448f86
cmp byte [ebx], 0xa
jne 0x448f86
or byte [edi + eax + 0x28], 4
jmp 0x448f8b
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x44908a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x44906d
inc eax
cmp dl, 0xd
je 0x448fb7
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x448fdd
cmp eax, ecx
jae 0x448feb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x448f9f
jmp 0x44908a
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x449068
cmp dword [ebp - 0x10], 0
je 0x449068
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4682f0]
test byte [eax + edi + 0x28], 0x48
je 0x449042
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44902d
mov byte [esi], dl
jmp 0x44903e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4682f0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44908a
cmp byte [ebp - 1], 0xa
jne 0x449051
cmp esi, ebx
jne 0x449051
mov byte [esi], 0xa
jmp 0x449089
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00447c17
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44908a
mov byte [esi], 0xd
jmp 0x449089
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4682f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x449087
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44908a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x449093
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4682f0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4490d9
cmp word [ebx], dx
jne 0x4490d9
or byte [eax + edi + 0x28], 4
jmp 0x4490de
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x449241
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x449221
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x44911f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x449155
cmp eax, edx
jae 0x449163
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4490fa
jmp 0x449241
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44921c
cmp dword [ebp - 0x18], 0
je 0x44921c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4682f0]
test byte [eax + edi + 0x28], 0x48
je 0x4491f2
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4491b6
mov word [esi], cx
jmp 0x4491ed
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4682f0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4682f0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4682f0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x449241
pop eax
cmp word [ebp - 4], ax
jne 0x449202
cmp esi, ebx
jne 0x449202
mov word [esi], ax
jmp 0x44923e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00447c17
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x449241
push 0xd
pop eax
jmp 0x4491fd
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4682f0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x44923b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x449241
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44a3ae
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45cddc
push 0x45cdd4
push str.FlsAlloc
push 0x1f
call fcn.0044a276
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44a3e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x456210]
call esi
jmp 0x44a3e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44a42c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45cdec
push 0x45cde4
push str.FlsGetValue
push 0x21
call fcn.0044a276
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44a463
push dword [ebp + 8]
mov ecx, esi
call dword [0x456210]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44a46b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45cdf4
push 0x45cdec
push str.FlsSetValue
push 0x22
call fcn.0044a276
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44a4a5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x456210]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44d049
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44d0e6
push ebx
push esi
call fcn.0044d012
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00449af0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44d093
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44d0e5
push edi
push eax
call fcn.004456f2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44d0b3
call fcn.00445d69
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44d0e4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00449af0
add esp, 0x20
test eax, eax
jne 0x44d0d2
push edi
call fcn.00445d69
jmp 0x44d0da
push ebx
call fcn.00445d69
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x44f52f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00445a7e
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44f59e
cmp esi, dword [ebp - 4]
je 0x44f599
cmp dword [ebp + 0xc], 0
je 0x44f599
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44f576
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044f081
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44f5a0
xor eax, eax
inc eax
jmp 0x44f5a0
xor eax, eax
pop edi
pop esi
leave
ret