joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4091a8
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x45e0a0]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 0xc
mov eax, 0x44af04
call fcn.00439907
mov eax, dword [ebp + 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00403216
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x4092a1
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x18], esi
je 0x40929e
push 0x228
lea eax, [ebp + 4]
push ebx
push eax
call fcn.00434800
add esp, 0xc
lea eax, [ebp]
push eax
push esi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40923b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40929e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x24]
call fcn.00403216
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004350dd
test eax, eax
pop ecx
pop ecx
jne 0x40927e
push dword [ebp + 8]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x40927e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00402f9a
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409241
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402f9a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.004347e5
add ebp, 0x230
leave
ret 4
Function at 0x409df4
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x44a8db
call fcn.00439907
push 0x44
pop edi
xor esi, esi
push edi
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00434800
push 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
mov dword [ebp - 0x68], edi
call fcn.00434800
mov ebx, dword [ebp + 0xc]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x409e57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.004374f7
pop ecx
pop ecx
jmp 0x409e72
push dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
call fcn.00409fff
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
lea eax, [ebx - 0x10]
call fcn.00402f9a
call fcn.004399a6
ret 8

Function at 0x409e82
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44cd93
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0xa20], 4
jne 0x409fe7
lea eax, [esp + 0x2c]
push eax
call fcn.0042d1c0
xor ebx, ebx
lea eax, [esi + 0xa18]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x18], ebx
call fcn.004275b0
test eax, eax
jbe 0x409fde
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x409ef9
mov esi, dword [ebp + 8]
mov eax, dword [0x45fb34]
mov ecx, 0x45fb34
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0xa18]
mov byte [esp + 0xa0], 1
call fcn.00427600
call fcn.00427590
push ebx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0042c640
push eax
push dword [esi + 0x464]
lea eax, [esp + 0x1c]
push str._s_s
push eax
call fcn.00402dc0
push 0x44
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.00434800
add esp, 0x1c
push 0x10
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.00434800
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea esi, [esp + 0x34]
call fcn.00404b5e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x409f98
xor eax, eax
jmp 0x409f9f
push esi
call fcn.00434f36
pop ecx
lea edx, [esp + 0x14]
call fcn.00402f31
push dword [esp + 0x1c]
call edi
push dword [esp + 0x20]
call edi
lea eax, [esi - 0x10]
mov byte [esp + 0xa0], bl
call fcn.00402f9a
mov eax, dword [ebp + 8]
inc dword [esp + 0x18]
add eax, 0xa18
call fcn.004275b0
cmp dword [esp + 0x18], eax
jb 0x409ef6
lea edi, [esp + 0x2c]
call fcn.0042c530
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b7c0
Capabilities:
Create process on windows
Hide graphical window
Terminate process

Disassembly:
movzx eax, word [esp + 4]
sub eax, 0x3e8
push esi
mov esi, ecx
je 0x40b7e7
dec eax
dec eax
je 0x40b7e7
sub eax, 0x7cf
jne 0x40b828
push 5
push eax
push eax
push str.http:__www.itools.cn_redirect_uninstfb.htm
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40b828
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x444]
test ecx, ecx
je 0x40b801
call fcn.004105da
mov esi, dword [esi + 0x440]
test esi, esi
je 0x40b819
cmp dword [esi + 0x2a8], 0
jne 0x40b819
call fcn.0040b82e
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop esi
ret 8

Function at 0x40b82e
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x45e0a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x44b5f5
call fcn.00439907
xor esi, esi
push 0x206
lea eax, [ebp + 2]
push esi
push eax
mov word [ebp], si
call fcn.00434800
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b8cb
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
call fcn.00403216
mov dword [ebp - 4], esi
mov esi, str.ThinkSkyiTools
push esi
call fcn.00434f36
pop ecx
push eax
push esi
lea eax, [ebp - 0x10]
call fcn.00404ed9
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40b8b9
mov ecx, esi
call fcn.00426510
jmp 0x40b8c0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402f9a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004347e5
add ebp, 0x20c
leave
ret

Function at 0x40b9c9
Capabilities:
Initialize winsock library

Disassembly:
push 0x19c
mov eax, 0x44bb78
call fcn.00439970
mov dword [edi], vtable.ILite.0
mov dword [ebp - 0x1a8], edi
mov dword [edi + 4], 0
and dword [ebp - 4], 0
lea esi, [edi + 0x20]
mov dword [edi], vtable.CHttpAgent.0
call fcn.0040141f
lea esi, [edi + 0x3c]
call fcn.0040141f
lea esi, [edi + 0x58]
call fcn.0040141f
lea esi, [edi + 0x74]
call fcn.0040141f
lea esi, [edi + 0x90]
call fcn.0040141f
lea esi, [edi + 0xac]
call fcn.0040141f
lea esi, [edi + 0xc8]
call fcn.0040141f
lea esi, [edi + 0xe4]
call fcn.0040141f
lea esi, [edi + 0x100]
mov byte [ebp - 4], 8
call fcn.0040eddc
lea esi, [edi + 0x10c]
call fcn.0040141f
lea esi, [edi + 0x128]
mov byte [ebp - 4], 0xa
call fcn.0040eddc
or dword [edi + 0xc], 0xffffffff
and dword [edi + 0x18], 0
push 0x190
lea eax, [ebp - 0x1a4]
push 0
push eax
mov dword [edi + 0x10], 0x1e
mov dword [edi + 0x14], 0x1000
call fcn.00434800
add esp, 0xc
lea eax, [ebp - 0x1a4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, edi
call fcn.004399ba
ret
Function at 0x40bbba
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
push edi
mov dword [ebp - 0x108], eax
xor edi, edi
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40bc1f
lea eax, [ebp - 0x10c]
push eax
push dword [esi + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x40bc1f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x40bc22
or eax, 0xffffffff
pop edi
leave
ret 8

Function at 0x40bc27
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
push edi
mov dword [ebp - 0x108], eax
xor edi, edi
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40bc8c
lea eax, [ebp - 0x10c]
push eax
push dword [esi + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x40bc8c
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x40bc8f
or eax, 0xffffffff
pop edi
leave
ret 8
Function at 0x40bc94
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ae24
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x6c]
lea ebx, [esi + 0xe4]
mov eax, ebx
call fcn.00404c0f
lea eax, [esi + 0x10c]
call fcn.00404c0f
lea eax, [esi + 0xac]
call fcn.00404c0f
lea eax, [esi + 0xc8]
call fcn.00404c0f
lea edi, [esi + 0x100]
call fcn.0040ef21
lea edi, [esi + 0x128]
call fcn.0040ef21
xor eax, eax
cmp dword [ebp + 8], eax
je 0x40be54
cmp dword [ebp + 0x10], eax
je 0x40be54
cmp dword [ebp + 0x14], eax
je 0x40be54
cmp dword [ebp + 0x18], eax
je 0x40be54
push dword [ebp + 8]
call fcn.00434db0
test eax, eax
pop ecx
je 0x40be54
push dword [ebp + 0x10]
call fcn.00434db0
test eax, eax
pop ecx
je 0x40be54
push dword [ebp + 0x14]
call fcn.00434db0
test eax, eax
pop ecx
je 0x40be54
push dword [ebp + 0x18]
call fcn.00434db0
test eax, eax
pop ecx
je 0x40be54
mov di, word [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [esi + 0x90]
mov word [esi + 8], di
call fcn.004031ae
cmp dword [esi + 0x18], 0
push dword [ebp + 0x10]
mov ecx, ebx
je 0x40be0f
call fcn.004031ae
push str._http:__
push ebx
call fcn.0040ed74
push dword [ebp + 8]
push ebx
call fcn.0040ed74
mov eax, dword [0x45fb34]
mov ecx, 0x45fb34
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
and dword [esp + 0x20], 0
movzx eax, di
push eax
lea eax, [esp + 0x14]
push str.:_ld
push eax
call fcn.00410110
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push ebx
call fcn.0040ed74
push dword [ebp + 0x14]
push ebx
call fcn.0040ed74
push 0x45466c
push ebx
call fcn.0040ed74
push dword [ebp + 0x18]
push ebx
call fcn.0040ed74
lea eax, [edi - 0x10]
call fcn.00402f9a
jmp 0x40be39
call fcn.004031ae
mov edi, 0x45466c
push edi
push ebx
call fcn.0040ed74
push dword [ebp + 0x14]
push ebx
call fcn.0040ed74
push edi
push ebx
call fcn.0040ed74
push dword [ebp + 0x18]
push ebx
call fcn.0040ed74
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 0xc], eax
mov eax, ecx
jmp 0x40be56
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40c118
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45e0a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0xc], 0xffffffff
jne 0x40c135
xor eax, eax
jmp 0x40c215
cmp dword [esi + 0x18], 0
push edi
je 0x40c14c
cmp dword [esi + 0x38], 0x10
jb 0x40c147
mov edi, dword [esi + 0x24]
jmp 0x40c160
lea edi, [esi + 0x24]
jmp 0x40c160
lea eax, [esi + 0x90]
cmp dword [eax + 0x18], 0x10
jb 0x40c15d
mov edi, dword [eax + 4]
jmp 0x40c160
lea edi, [eax + 4]
push ebx
push edi
call fcn.00434db0
mov ebx, eax
test ebx, ebx
pop ecx
je 0x40c20d
movsx eax, byte [edi]
push eax
call fcn.00437a71
test eax, eax
pop ecx
jne 0x40c190
movsx eax, byte [ebx + edi - 1]
push eax
call fcn.00437a71
test eax, eax
pop ecx
je 0x40c1aa
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40c20d
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
push edi
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x10], eax
je 0x40c1c6
movzx eax, word [esi + 0x1c]
jmp 0x40c1ca
movzx eax, word [esi + 8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40c206
lea eax, [ebp - 0x18]
push eax
push 0x8004667e
push dword [esi + 0xc]
xor edi, edi
inc edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x40c211
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
xor eax, eax
jmp 0x40c213
mov eax, edi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004347e5
leave
ret
Function at 0x40c914
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b561
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.0042d1c0
and dword [esp + 0x38], 0
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 8]
call fcn.0042c6d0
push dword [ebp + 0x10]
mov edx, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
push eax
call dword [edx + 0x10]
lea edi, [esp + 0xc]
mov esi, eax
call fcn.0042c530
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40da6b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a801
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x45e0a0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
mov ebx, ecx
call fcn.00404c0f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x58]
xor esi, esi
cmp edx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x40dc04
jg 0x40dad1
cmp eax, esi
jbe 0x40dc04
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
call fcn.00401353
mov dword [esp + 0x80], esi
jmp 0x40db2c
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x40dafb
lea eax, [esp + 0x3c]
push dword [esp + 0x4c]
push eax
mov eax, edi
call fcn.00404b75
add esi, dword [esp + 0x4c]
mov eax, esi
cdq
cmp edx, dword [esp + 0x18]
jg 0x40db6a
jl 0x40db1c
cmp eax, dword [esp + 0x14]
ja 0x40db6a
cmp eax, dword [esp + 0x14]
jne 0x40db2c
cmp edx, dword [esp + 0x18]
je 0x40dbf8
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x50]
test eax, eax
jne 0x40daec
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.00401308
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004347e5
mov esp, ebp
pop ebp
ret 4
push dword [esp + 0x14]
lea esi, [esp + 0x58]
push 0
push edi
call fcn.0040edae
push 0xffffffffffffffff
push dword [esp + 0x18]
lea esi, [esp + 0x24]
push edi
mov byte [esp + 0x8c], 1
call fcn.0040edae
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebx + 0xac]
mov byte [esp + 0x8c], 2
call fcn.00401038
push esi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 1
call fcn.00401308
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call fcn.00401038
xor eax, eax
cmp dword [edi + 0x14], esi
push esi
setne al
push 1
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.00401308
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00401308
mov eax, edi
jmp 0x40db4a
xor eax, eax
cmp dword [edi + 0x14], eax
setne al
mov edi, eax
jmp 0x40dbe4
mov eax, dword [ebx]
push str.Transfer_Encoding
mov ecx, ebx
call dword [eax + 0x60]
push eax
push str.chunked
call fcn.0043788f
test eax, eax
pop ecx
pop ecx
jne 0x40db48
push edi
mov ecx, ebx
call fcn.0040dcba
jmp 0x40db4a
Function at 0x40dfb8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a784
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x45e0a0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
jne 0x40e029
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004347e5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx]
call dword [eax + 0x58]
cmp edx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jg 0x40e040
jl 0x40e007
cmp eax, esi
jbe 0x40e007
push ebx
push edx
push eax
push esi
push esi
push esi
push esi
push esi
push esi
call edi
add esp, 0x24
test eax, eax
je 0x40e007
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], 0xf
call fcn.00401353
mov dword [esp + 0x60], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
call edi
mov dword [esp + 0x2c], eax
jmp 0x40e0fa
call edi
mov ecx, eax
sub ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
add ebx, eax
cmp ecx, esi
jbe 0x40e09c
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x4c], 0x10
mov ecx, dword [esp + 0x38]
jae 0x40e0ab
lea ecx, [esp + 0x38]
push dword [esp + 0x20]
xor eax, eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x5c]
mov eax, ebx
push ecx
imul eax, eax, 0x64
push dword [esp + 0x4c]
push dword [esp + 0x38]
push dword [esp + 0x38]
push esi
push eax
call fcn.004432c0
push eax
call dword [esp + 0x48]
add esp, 0x24
test eax, eax
je 0x40e123
call edi
mov dword [esp + 0x2c], eax
xor eax, eax
cmp eax, dword [esp + 0x18]
jg 0x40e110
jl 0x40e0fa
cmp ebx, dword [esp + 0x14]
jae 0x40e110
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
call dword [eax + 0x50]
test eax, eax
jne 0x40e07c
cmp esi, dword [esp + 0x18]
jl 0x40e138
jg 0x40e11e
cmp ebx, dword [esp + 0x14]
jb 0x40e138
xor edi, edi
inc edi
jmp 0x40e125
xor edi, edi
push esi
push 1
lea ecx, [esp + 0x3c]
call fcn.00401308
mov eax, edi
jmp 0x40e009
push dword [esp + 0x20]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push esi
push ebx
push esi
push esi
push esi
push 0xffffffffffffffff
call dword [esp + 0x48]
add esp, 0x24
jmp 0x40e123
Function at 0x40e3b5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b561
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.0042d1c0
and dword [esp + 0x38], 0
mov ax, word [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [esi + 0x20]
mov dword [esi + 0x18], 1
mov word [esi + 0x1c], ax
call fcn.004031ae
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
call fcn.004031ae
push dword [ebp + 0x14]
lea ecx, [esi + 0x58]
call fcn.004031ae
push dword [ebp + 0x18]
lea ecx, [esi + 0x74]
call fcn.004031ae
lea edi, [esp + 0xc]
call fcn.0042c530
xor eax, eax
inc eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x411714
Capabilities:
Link many functions at runtime

Disassembly:
push edi
push 0x40
xor edi, edi
push edi
push esi
call fcn.00434800
add esp, 0xc
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
call fcn.00411a97
mov dword [esi + 0x40], eax
dec eax
dec eax
je 0x41175d
dec eax
jne 0x4117a9
push str.GetSystemFirmwareTable
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x58], eax
jmp 0x4117a9
push ebx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.NtOpenSection
push ebx
call edi
push str.NtMapViewOfSection
push ebx
mov dword [esi + 0x44], eax
call edi
push str.NtUnmapViewOfSection
push ebx
mov dword [esi + 0x48], eax
call edi
push str.RtlInitUnicodeString
push ebx
mov dword [esi + 0x4c], eax
call edi
push str.RtlNtStatusToDosError
push ebx
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
pop ebx
mov eax, esi
pop edi
ret

Function at 0x411a97
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x45e0a0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00434800
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x70]
dec eax
dec eax
je 0x411ae2
xor eax, eax
inc eax
jmp 0x411af5
cmp dword [ebp - 0x7c], 6
jae 0x411af2
cmp dword [ebp - 0x78], 2
jae 0x411af2
push 2
jmp 0x411af4
push 3
pop eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004347e5
add ebp, 0x98
leave
ret
Function at 0x411b0a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push edi
push str.devicephysicalmemory
lea eax, [ebp - 0x20]
push eax
call dword [esi + 0x50]
push 0x18
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00434800
lea eax, [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push 4
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 4], ebx
call dword [esi + 0x44]
test eax, eax
jge 0x411b5d
xor eax, eax
pop edi
pop ebx
leave
ret 8
push 0x24
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00434800
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 8]
mov eax, ecx
xor edx, edx
div dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
push 2
push ebx
push 1
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov edi, edx
add eax, edi
push eax
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [esi + 0x48]
test eax, eax
jge 0x411bbf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x411b57
push dword [ebp - 8]
call fcn.004351d9
mov ebx, eax
mov eax, dword [ebp - 8]
sub eax, edi
push eax
mov eax, dword [ebp - 0xc]
add eax, edi
push eax
push ebx
call fcn.00434880
add esp, 0x10
push dword [ebp - 0xc]
push 0xffffffffffffffff
call dword [esi + 0x4c]
jmp 0x411bb2