joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446cd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446d03
push esi
call fcn.00449dd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x446cfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x446d89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446d72
mov eax, dword [esi + 8]
test eax, eax
je 0x446d27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x446d6e
cmp eax, 2
je 0x446d72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x446d1a
cmp eax, 3
je 0x446d4d
cmp eax, 1
jne 0x446d1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x446d1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x446d1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446db0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446d98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446db0
add esp, 4
pop esi
ret

Function at 0x4528e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x452983
test eax, eax
jbe 0x452983
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x452983
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45292e
xor esi, esi
jmp 0x452934
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45295f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00454850
add esi, eax
push esi
mov ebx, esi
call fcn.00454850
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x452940
pop ebp
test edi, edi
pop edi
jne 0x452983
test ebx, ebx
je 0x452983
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00474e80
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x452ac5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x452bdd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x452bdd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00486dde
mov esi, eax
test esi, esi
je 0x452bdd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x452bdd
mov ecx, esi
call fcn.00452a30
cmp edi, eax
jge 0x452bdd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x452b63
mov dword [esp + 0x34], 1
jmp 0x452bbe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x452bdd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00452010
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x454970
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4549d6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4549d6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4549b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x455510
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00455660
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x455530
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x455511
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00455660
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x455530
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x455560
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4555b7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4555cd
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.004555f0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x4555f0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x455680
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4556c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x455b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4941c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004556f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00455770
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00455770
lea ecx, [esi + 0xc]
call fcn.00485329
lea ecx, [esi + 0x10]
call fcn.00485329
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00457fa0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00457fa0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00457fa0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048539e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048539e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4567e8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4943e8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4567f8
call fcn.00456d10
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4568db
cmp byte [edi], 0
je 0x4568db
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45681d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00455510
test eax, eax
jne 0x45683d
push 0x5254e8
lea ecx, [esi + 0x38]
call fcn.004854db
jmp 0x4568db
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00455560
test eax, eax
jne 0x45686c
mov ecx, esi
call fcn.00455660
push edi
add esi, 0x38
push 0x5254c4
push esi
call fcn.00482f7a
add esp, 0xc
jmp 0x4568db
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00457590
test eax, eax
je 0x4568d4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004569b0
test eax, eax
jne 0x4568f0
push edi
lea eax, [esi + 0x38]
push 0x5254a0
push eax
call fcn.00482f7a
add esp, 0xc
mov ecx, esi
call fcn.00456d10
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x456998
mov ecx, dword [0x5276ac]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00482f7a
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00455610
test eax, eax
jne 0x45695a
push 0x525484
lea ecx, [esi + 0x38]
call fcn.004854db
jmp 0x45696a
push 0xfa
mov ecx, esi
call fcn.00457590
test eax, eax
jne 0x456987
mov ecx, esi
call fcn.00456d10
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048539e
jmp 0x4568db
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048539e
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4621f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00468670
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4622e9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push connect
mov ecx, esi
call fcn.00462300
test eax, eax
jne 0x4622e9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push connect
mov ecx, esi
call fcn.00462300
test eax, eax
jne 0x4622e9
lea edx, [esp + 0x10]
push 0x526c90
push edx
call fcn.00475580
mov esi, eax
add esp, 8
test esi, esi
jne 0x4622ba
lea eax, [esp + 0x10]
push 0x526c8c
push eax
call fcn.00475580
mov esi, eax
add esp, 8
test esi, esi
jne 0x4622ba
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4622bd
mov byte [esi], 0
push 0x526454
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x462300
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x462362
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4685b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x495238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x468660
mov eax, dword [0x5276ac]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00485782
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004857d1
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0048572e
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x468647
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x468647
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048539e
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46b760
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4956c0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46b907
mov ecx, dword [0x5276ac]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x46b85c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0046a480
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0048548b
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0048539e
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x526454
call fcn.0048540c
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0046a840
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0048548b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0048539e
lea ecx, [esp + 0xc]
call fcn.00485866
mov ecx, dword [esp + 0xc]
push 0x526e94
push ecx
call fcn.00474544
add esp, 8
test eax, eax
je 0x46b884
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x46b7bd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0048539e
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048539e
jmp 0x46b90b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0046b500
test eax, eax
push 0
je 0x46b8ef
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00469ba0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x46b8d5
cmp eax, 0x64
jg 0x46b8c3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46b860
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46b860
cmp eax, 0x64
jge 0x46b85c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46b860
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00469ba0
mov esi, eax
jmp 0x46b860
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x46b915
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x487782
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4877ba
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004857f9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004857d1
jmp 0x4877c6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x488e70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x488eb2
call fcn.0048ed1a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x488eb2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x488ea9
xor eax, eax
jmp 0x488eba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00488ec0
pop edi
pop esi
pop ebx
ret 4

Function at 0x48f24a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48f278
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48f296
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f1b0
jmp 0x48f296
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48f296
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f1b0
test edi, edi
mov eax, edi
jne 0x48f280
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402afe
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414648
push 0x402ca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x415534], 0xffffffff
or dword [0x415544], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x415530]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x41552c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x415548], eax
call fcn.00402c4d
cmp dword [0x415418], 0
jne 0x402b81
push 0x402c4a
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00402c32
push 0x41530c
push 0x415208
call sub.MSVCRT.dll__initterm
mov eax, dword [0x415528]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x415524]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x415104
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.0040102d
add esp, 0x30
mov dword [ebp - 0x24], 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 - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x5be006
Capabilities:
Encrypt data using aes

Disassembly:
mov edi, dword [esp + 3]
lea esp, [esp + 4]
movzx eax, byte [eax + 0xf]
jmp 0x5be02f
xor edx, eax
lea ebx, [esp + ecx]
xchg al, ah
rol bx, cl
mov bp, bx
jmp 0x5be006
stc
setg bl
shl edx, 8
mov bl, bh
jmp 0x5bdfdc
push esi
mov esi, ecx
lea esi, [esi + 0xc]
jmp 0x5be012
mov dword [esi], edx
pop esi
mov edi, 0xa3d8b75e
mov al, 0x82
inc al
xchg bh, al
jmp 0x5be03f
mov edi, esp
shl edx, 8
lea ebp, [ebx*4]
xor edx, esi
jmp 0x5bdffb
mov eax, edx
neg bl
mov bx, word [esp]
shr eax, 0x10
jmp 0x5be0aa
mov esi, 0xff
inc di
setb bl
jmp 0x5be091
and eax, esi
xchg bl, bh
lea ebp, [esp + ecx]
mov bl, 0xb8
setge bl
jmp 0x5bedee
btr esi, esp
mov di, word [esp]
mov esi, ebp
stc
jmp 0x5be04c
mov bp, word [esp]
bswap ebp
jmp 0x5be0e1
mov ecx, edi
lea ecx, [ecx*4]
lea ecx, reloc.RASAPI32.dll_RasHangUpA
mov edi, dword [ecx]
pop ecx
jmp 0x5be0b6
and edi, 0xff0000
mov bl, bh
jmp 0x5be123
and edi, esi
bswap ebp
lea ebp, [esi*4]
push ecx
jmp 0x5be0cd
mov ebx, dword [ecx + 4]
or bp, 0x3c88
and eax, 0xff000000
call fcn.005be108
push cs
xchg ebp, eax
add eax, 0x84289f6c
aaa
push ds
imul ecx, dword [eax - reloc.RASAPI32.dll_RasHangUpA], 0x990f08ef
invalid
mov edi, edx
shr edi, 8
setns bh
not bp
jmp 0x5be0fa
mov eax, dword [eax*4 + reloc.RASAPI32.dll_RasHangUpA]
setp bh
xor eax, 0x1000000
jmp 0x5be141

Function at 0x5be108
Capabilities:
Encrypt data using aes

Disassembly:
rcl bp, cl
jmp 0x5be769
push dword [esp + 2]
pushal
mov dword [esp], edx
call fcn.005be16f
xor eax, edi
bswap edi
lea edi, [ebp*4]
neg edi
jmp 0x5be24c
add esp, 3
lea esp, [esp + 1]
xor eax, edi
push edx
mov di, 0xf1b7
jmp 0x5be1a6
xor eax, ebx
jmp 0x5be224
mov eax, dword [ecx + 8]
pushal
mov dword [esp + 5], ebp
jmp 0x5be1e7
xor ebx, eax
mov dword [edi], eax
lea eax, [ebx + edi]
mov al, ah
jmp 0x5be1fe
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
jmp 0x5be232
mov dword [ecx + 0x1c], edx
lea esp, [esp + 0x40]
jmp 0x5be27f
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
pushal
mov byte [esp + 0x12], ah
jmp 0x5be219
call 0x5a88fe
jmp 0x58ec62
lea esp, [esp + 2]
lea esp, [esp + 0xc]
movzx edi, byte [edi*4 + 0x59930c]
mov ebp, dword [esp]
push esp
jmp 0x5be1d7
lea ebp, [esi - 0x6d]
adc bp, 0x8c4
shr edi, 0x18
sub esp, 0xa
mov ebp, 0x2cdf896e
jmp 0x5be2c3
mov ebp, dword [esp + 3]
xor eax, edi
lea edi, [ebp - 0xff]
mov edi, edx
jmp 0x5be30d

Function at 0x5be16f
Capabilities:
Encrypt data using aes

Disassembly:
bsr bp, cx
and edi, esi
push esp
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x5be18d
lea esp, [esp + 4]
popal
jmp 0x5be14e
and edi, ebp
jmp 0x5be1b3
stc
inc bp
lea esp, [esp + 0xc]
mov ebp, 0xff00
jmp 0x5be176

Function at 0x5be85b
Capabilities:
Encrypt data using aes

Disassembly:
mov byte [esp + 2], ch
push dword [esp]
add esp, 3
lea esp, [esp + 1]
jmp 0x5be8a2
mov eax, dword [edx + 4]
push edx
jmp 0x5be842
mov dword [edx], edi
push esi
mov esi, ecx
jmp 0x5be881