joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e51c
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 0x41e5b9
push ebx
push esi
call fcn.0041e4e5
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.0041d181
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e566
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e5b8
push edi
push eax
call fcn.00416c00
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e586
call fcn.00416bb0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e5b7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041d181
add esp, 0x20
test eax, eax
jne 0x41e5a5
push edi
call fcn.00416bb0
jmp 0x41e5ad
push ebx
call fcn.00416bb0
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 0x4207da
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00416a38
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 0x420849
cmp esi, dword [ebp - 4]
je 0x420844
cmp dword [ebp + 0xc], 0
je 0x420844
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x420821
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0042032f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42084b
xor eax, eax
inc eax
jmp 0x42084b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4208b6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x436040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00416a38
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00416a38
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x42092d
cmp word [ecx], dx
je 0x42092d
mov eax, dword [0x42f4c4]
push edi
dec eax
push eax
push 0x42f3b0
call fcn.0042084f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4209a0
cmp word [eax], dx
je 0x4209a0
mov eax, dword [edi]
test eax, eax
je 0x420951
cmp word [eax], dx
je 0x420951
lea eax, [ebp - 0x10]
push eax
call fcn.00420235
jmp 0x42095a
lea eax, [ebp - 0x10]
push eax
call fcn.004202d0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4209ca
mov eax, dword [0x42f3ac]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42f0a0
call fcn.0042084f
add esp, 0xc
test al, al
je 0x4209ca
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x420995
cmp word [eax], di
je 0x420995
lea eax, [ebp - 0x10]
push eax
call fcn.00420235
pop ecx
jmp 0x4209cc
lea eax, [ebp - 0x10]
push eax
call fcn.004202d0
jmp 0x420992
mov eax, dword [edi]
test eax, eax
je 0x4209b7
cmp word [eax], dx
je 0x4209b7
lea eax, [ebp - 0x10]
push eax
call fcn.004201ea
pop ecx
jmp 0x4209ca
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x420a95
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004206d4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x420a95
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x420a95
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x420a95
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420a22
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00419297
test ebx, ebx
je 0x420a90
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00419297
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x420a95
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x420a95
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00424d94
add esp, 0x10
xor eax, eax
inc eax
jmp 0x420a97
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409513
leave
ret
Function at 0x425d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425d3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425d3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x413b25
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
push edi
mov byte [ebp - 0xa28], 0
mov ecx, 0x289
xor eax, eax
lea edi, [ebp - 0xa27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 8], 0
jne 0x413b50
jmp 0x413b90
lea eax, [ebp + 0xc]
mov dword [ebp - 0xa2c], eax
mov ecx, dword [ebp - 0xa2c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0xa27
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea ecx, [ebp - 0xa28]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0xa2c], 0
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41548a
Capabilities:
Packed with generic packer

Disassembly:
push ecx
mov dword [esp + 0x2c], ebp
cmc
mov dword [esp + 0x28], edi
cmp si, 0xf284
call fcn.00414cb0
add cl, 0x25
not cl
test dl, 0x95
shl cl, 5
mov al, byte [ebp]
jg 0x415131
clc
mov cl, byte [ebp + 2]
call fcn.0041570a
sbb cl, 0x4f
clc
rcr cl, cl
mov cl, byte [ebp + 2]
clc
stc
sub ebp, 2
cmp dl, 0xfc
shl al, cl
jmp loc.004ff732
pushfd
pop dword [esp + 0x28]
bt cx, 0xc
push 0xb3c60bf0
jmp 0x414d99

Function at 0x415732
Capabilities:
Packed with generic packer

Disassembly:
pushal
btr dx, bx
btr dx, ax
ror al, 2
jmp 0x41546a
btc dx, si
seto dl
add al, 0xbf
bsf dx, dx
sub bl, al
push dword [esp + 4]
push dword [esp + 4]
mov dx, word [ebp]
call fcn.00414bb6
call fcn.00415111
rol al, cl
test ah, ah
movzx eax, byte [esi - 1]
btr dx, sp
ror dh, cl
sub al, bl
setae dl
not dh
inc al
jmp 0x414d28
Function at 0x41f6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x18], 4
mov byte [ebp - 0x64], 0x53
mov byte [ebp - 0x63], 0x4f
mov byte [ebp - 0x62], 0x46
mov byte [ebp - 0x61], 0x54
mov byte [ebp - 0x60], 0x57
mov byte [ebp - 0x5f], 0x41
mov byte [ebp - 0x5e], 0x52
mov byte [ebp - 0x5d], 0x45
mov byte [ebp - 0x5c], 0x5c
mov byte [ebp - 0x5b], 0x41
mov byte [ebp - 0x5a], 0x70
mov byte [ebp - 0x59], 0x70
mov byte [ebp - 0x58], 0x44
mov byte [ebp - 0x57], 0x61
mov byte [ebp - 0x56], 0x74
mov byte [ebp - 0x55], 0x61
mov byte [ebp - 0x54], 0x4c
mov byte [ebp - 0x53], 0x6f
mov byte [ebp - 0x52], 0x77
mov byte [ebp - 0x51], 0x5c
mov byte [ebp - 0x50], 0x54
mov byte [ebp - 0x4f], 0x65
mov byte [ebp - 0x4e], 0x6e
mov byte [ebp - 0x4d], 0x63
mov byte [ebp - 0x4c], 0x65
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x4a], 0x74
mov byte [ebp - 0x49], 0x5c
mov byte [ebp - 0x48], 0x50
mov byte [ebp - 0x47], 0x52
mov byte [ebp - 0x46], 0x49
mov byte [ebp - 0x45], 0x53
mov byte [ebp - 0x44], 0x4d
mov byte [ebp - 0x43], 0x5c
mov byte [ebp - 0x42], 0x7b
mov byte [ebp - 0x41], 0x46
mov byte [ebp - 0x40], 0x45
mov byte [ebp - 0x3f], 0x34
mov byte [ebp - 0x3e], 0x38
mov byte [ebp - 0x3d], 0x43
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x42
mov byte [ebp - 0x3a], 0x41
mov byte [ebp - 0x39], 0x2d
mov byte [ebp - 0x38], 0x44
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x39
mov byte [ebp - 0x34], 0x2d
mov byte [ebp - 0x33], 0x34
mov byte [ebp - 0x32], 0x31
mov byte [ebp - 0x31], 0x62
mov byte [ebp - 0x30], 0x39
mov byte [ebp - 0x2f], 0x2d
mov byte [ebp - 0x2e], 0x41
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x33
mov byte [ebp - 0x2b], 0x42
mov byte [ebp - 0x2a], 0x2d
mov byte [ebp - 0x29], 0x34
mov byte [ebp - 0x28], 0x35
mov byte [ebp - 0x27], 0x33
mov byte [ebp - 0x26], 0x37
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x42
mov byte [ebp - 0x23], 0x36
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x36
mov byte [ebp - 0x20], 0x31
mov byte [ebp - 0x1f], 0x41
mov byte [ebp - 0x1e], 0x30
mov byte [ebp - 0x1d], 0x7d
mov byte [ebp - 0x1c], 0
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jne 0x41f6f9
xor eax, eax
jmp 0x41f6fc
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x42a1e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
mov eax, dword [ecx + 0x84]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42a231
jne 0x42a220
push str.server_close_connection_
push 0
push 0x3f7
push 0
push 0x138c
call fcn.00421920
add esp, 0x14
or eax, 0xffffffff
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and al, 0xfe
ret 8

Function at 0x42a240
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
or eax, 0xffffffff
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x84], eax
je 0x42a2e8
mov ebx, dword [esp + 0x124]
test ebx, ebx
jne 0x42a278
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x10c
ret 8
xor edi, edi
test ebx, ebx
jbe 0x42a2e6
mov ebp, dword [sym.imp.WS2_32.dll_select]
mov ecx, dword [esp + 0x120]
mov eax, ebx
sub eax, edi
lea edx, [edi + ecx]
push eax
push edx
mov ecx, esi
call fcn.0042a340
test eax, eax
jl 0x42a2f5
jle 0x42a2a5
add edi, eax
jmp 0x42a2e2
mov eax, dword [esi + 0x84]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push 0
push edx
inc eax
push 0
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 0x16
mov dword [esp + 0x28], 0
call ebp
cmp eax, 0xffffffff
je 0x42a30e
test eax, eax
je 0x42a327
cmp edi, ebx
jb 0x42a284
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f50
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f50
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f50
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10c
ret 8

Function at 0x42a2e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
or eax, 0xffffffff
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x84], eax
je 0x42a2e8
mov ebx, dword [esp + 0x124]
test ebx, ebx
jne 0x42a278
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x10c
ret 8
xor edi, edi
test ebx, ebx
jbe 0x42a2e6
mov ebp, dword [sym.imp.WS2_32.dll_select]
mov ecx, dword [esp + 0x120]
mov eax, ebx
sub eax, edi
lea edx, [edi + ecx]
push eax
push edx
mov ecx, esi
call fcn.0042a340
test eax, eax
jl 0x42a2f5
jle 0x42a2a5
add edi, eax
jmp 0x42a2e2
mov eax, dword [esi + 0x84]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push 0
push edx
inc eax
push 0
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 0x16
mov dword [esp + 0x28], 0
call ebp
cmp eax, 0xffffffff
je 0x42a30e
test eax, eax
je 0x42a327
cmp edi, ebx
jb 0x42a284
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f50
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f50
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x10c
ret 8
mov ecx, esi
call fcn.00429f50
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10c
ret 8
Function at 0x42a3a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [ecx + 0x84]
sub esp, 0x14
cmp eax, 0xffffffff
jne 0x42a3b4
xor eax, eax
add esp, 0x14
ret
xor ecx, ecx
lea edx, [esp]
mov dword [esp + 4], ecx
push edx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 8]
inc eax
neg eax
sbb eax, eax
and eax, ecx
add esp, 0x14
ret

Function at 0x42a8c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov dword [esp + 0x18], ebp
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 2
mov byte [esp + 0x1f], 4
mov byte [esp + 0x20], 5
mov byte [esp + 0x21], 7
mov byte [esp + 0x22], 8
mov byte [esp + 0x23], 0xa
mov byte [esp + 0x24], 0xb
mov byte [esp + 0x25], 0xc
mov byte [esp + 0x26], 0x10
mov byte [esp + 0x27], 0x16
mov byte [esp + 0x28], 0x17
mov byte [esp + 0x29], 0x1a
xor eax, eax
mov dl, byte [esp + eax + 0x1c]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc eax
cmp eax, 0xe
jb 0x42a917
xor ecx, ecx
mov edx, ebp
mov eax, ecx
mov edi, 8
test al, 1
je 0x42a946
shr eax, 1
xor eax, esi
jmp 0x42a948
shr eax, 1
dec edi
jne 0x42a93c
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0x100
jl 0x42a935
lea edi, [ebp + 0x400]
mov dword [esp + 0x14], 0x100
mov dword [esp + 0x10], edi
mov ecx, dword [edi - 0x400]
mov edx, ecx
mov eax, ecx
and edx, 0xff
mov esi, ecx
mov ebx, edx
and eax, 0xff00
shl ebx, 0x10
shr esi, 8
add eax, ebx
mov ebx, esi
shl eax, 8
and ebx, 0xff00
add eax, ebx
mov ebx, 3
shr ecx, 0x18
add eax, ecx
mov dword [edi + 0xc00], eax
mov ecx, dword [esp + 0x18]
add edi, 0x400
mov ecx, dword [ecx + edx*4]
xor ecx, esi
mov edx, ecx
mov eax, ecx
and edx, 0xff
mov esi, ecx
mov ebp, edx
and eax, 0xff00
shl ebp, 0x10
shr esi, 8
add eax, ebp
mov ebp, esi
shl eax, 8
and ebp, 0xff00
mov dword [edi - 0x400], ecx
add eax, ebp
shr ecx, 0x18
add eax, ecx
dec ebx
mov dword [edi + 0xc00], eax
jne 0x42a9a9
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jne 0x42a96b
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x43f4d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f3c8
push 0x43f680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x462a0c], 0xffffffff
or dword [0x462a10], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x46116c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x461168]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x462a08], eax
call fcn.0043f66d
cmp dword [0x45bb30], ebx
jne 0x43f54d
push 0x43f66a
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0043f652
push 0x453038
push 0x453034
call sub.MSVCRT.dll__initterm
mov eax, dword [0x461164]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x461160]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x453030
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x43f5e0
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x43f5b4
cmp al, 0x22
jne 0x43f5a6
cmp byte [esi], 0x22
jne 0x43f5bd
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x43f5c7
cmp al, 0x20
jbe 0x43f5b9
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x43f5eb
movzx eax, word [ebp - 0x2c]
jmp 0x43f5ee
cmp byte [esi], 0x20
jbe 0x43f5bd
inc esi
mov dword [ebp - 0x74], esi
jmp 0x43f5e0
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x43f540
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f3c8
push 0x43f680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x462a0c], 0xffffffff
or dword [0x462a10], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x46116c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x461168]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x462a08], eax
call fcn.0043f66d
cmp dword [0x45bb30], ebx
jne 0x43f54d
push 0x43f66a
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0043f652
push 0x453038
push 0x453034
call sub.MSVCRT.dll__initterm
mov eax, dword [0x461164]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x461160]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x453030
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x43f5e0
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x43f5b4
cmp al, 0x22
jne 0x43f5a6
cmp byte [esi], 0x22
jne 0x43f5bd
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x43f5c7
cmp al, 0x20
jbe 0x43f5b9
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x43f5eb
movzx eax, word [ebp - 0x2c]
jmp 0x43f5ee
cmp byte [esi], 0x20
jbe 0x43f5bd
inc esi
mov dword [ebp - 0x74], esi
jmp 0x43f5e0
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x449180
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4491a9
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [0x4629fc]
add esp, 4
test eax, eax
je 0x4491a9
mov eax, dword [0x4629f8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
ret

Function at 0x4ff3ab
Capabilities:
Read file via mapping

Disassembly:
mov dword [esp + 0x2c], esi
mov si, cx
call fcn.00415684

Function at 0x4ff3ee
Capabilities:
Read file via mapping

Disassembly:
cmc
stc
clc
bt esi, 0x1e
push edi
clc
cmp ch, dl
push ebx
jmp fcn.00415753
mov dword [esp + 0x44], ebp
push esi
sub esp, 0xffffffb8
jge 0x4febfb
test cl, 0xab
push edi
stc
pushal
mov dword [esp + 0x1c], ebx
pushal
bt edx, esp
call fcn.004fe5ac
rcl eax, cl
aaa
sub dh, 0x8b
dec dh
mov eax, dword [ebp]
shld dx, cx, cl
adc dl, 0x73
mov dx, word [ebp + 4]
pushfd
pushal
jmp loc.00414c7e

Function at 0x51098f
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edx
mov dword [ebp - 0x24], 0
pushfd
mov byte [esp], bh
push 0xa666c436
mov word [esp + 8], 0x2803
lea esp, [esp + 0x50]
jmp 0x505912
mov dword [ebp - 8], edx
setb al
lea eax, [0x8e7853f4]
bswap eax
pushal
mov eax, dword [ebp + 8]
jmp 0x50d0fb
mov word [esp + 4], 0xf93a
mov dword [ebp - 4], eax
mov byte [esp], dl
pushal
jmp 0x503216
cmp dword [ebp - 0x1c], 8
push edi
push dword [esp]
pushal
lea esp, [esp + 0x2c]
jne 0x50ba87
movzx edx, dl
push 0x6200f408
sete ah
rdtsc
mov edx, dword [ebp - 4]
jmp 0x50a070
Function at 0x404e20
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x9ba848]
test eax, eax
jne 0x404e7c
mov dword [0x9ba848], 1
call fcn.006623f0
test eax, eax
je 0x404e6c
push 0
push 0x104
push 0x9ba84c
call fcn.00666550
add esp, 0xc
test eax, eax
je 0x404e7c
push str.SysWow64
push 0x9ba84c
call fcn.005fc468
add esp, 8
mov eax, 0x9ba84c
ret
push 0x104
push 0x9ba84c
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x9ba84c
ret

Function at 0x406870
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x84d6e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push 1
call fcn.008325b4
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
mov dword [esp + 0x64], 0
je 0x4068b1
call fcn.00637540
mov eax, ebx
jmp 0x4068b3
xor eax, eax
push str.SDHELPER_APPLYCHANGERIGHTHELPER
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 0xffffffff
mov dword [esi + 0x2d4], eax
mov dword [esi + 0x1c], esi
mov dword [esi + 0x14], esi
call fcn.00617540
mov eax, dword [eax]
push 0
push 0
push 0
push 1
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 1
call fcn.004b5e90
mov bl, 3
lea ecx, [esp + 8]
mov byte [esp + 0x64], bl
call fcn.00617ec0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.004b61f0
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x68], 4
call fcn.00611f20
mov eax, dword [eax]
lea ecx, [esi + 0xc]
push eax
mov byte [esp + 0x68], 5
call fcn.0063e7e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 4
call fcn.00612730
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], bl
call fcn.00617ec0
call fcn.0064f790
push eax
lea ecx, [esi + 8]
call fcn.0064f650
push 0xffffffffffffffff
lea eax, [esi + 0x198]
push 0x2710
lea ecx, [esi + 0x18]
push 0
push eax
mov dword [eax], ecx
push 0
push 2
lea ecx, [esp + 0x34]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x19c], 0x4139b0
call fcn.005794a0
lea edx, [esp + 0x1c]
mov ecx, 0x9cf1a8
push edx
mov byte [esp + 0x68], 6
call fcn.0057a890
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1b4], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1b8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x1c0], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x1c4], eax
mov dword [esi + 0x1c8], ecx
mov dword [esi + 0x1cc], edx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x1d4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x1d0], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x1e0], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x1d8], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x1dc], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x1ec], ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x1e4], edx
mov dword [esi + 0x1e8], eax
mov byte [esp + 0x64], bl
call fcn.00579500
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.004b6020
mov ecx, dword [esp + 0x5c]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret