joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416b50
Capabilities:
Query service configuration

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
mov esi, ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x416bba
push ebp
add esi, 8
push 1
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
cmp esi, ebx
je 0x416bad
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x24
push ecx
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x416baa
cmp dword [esp + 0x18], 4
sete bl
push esi
call ebp
push edi
call ebp
pop ebp
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x28
ret
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x417340
Capabilities:
Create process on windows
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
sub esp, 0x984
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [esp + 0x68]
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x417384
lea ecx, [esp + 0x64]
push str.Internet_ExplorerIEXPLORE.EXE
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4173f9
lea edx, [esp + 0x1c]
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov al, byte [esp + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test al, al
jne 0x4173ed
lea edx, [esp + 0x64]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [esp + 0x64]
push str.Program_Files
push ecx
call esi
lea edx, [esp + 0x64]
push str.Internet_ExplorerIEXPLORE.EXE
push edx
call esi
mov eax, dword [esp + 0x990]
lea ecx, [esp + 0x64]
push eax
push ecx
push str._s__s
lea edx, [esp + 0x174]
push 0x824
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x34]
add esp, 0x14
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
push eax
lea eax, [esp + 0x188]
mov dword [esp + 0x40], 0x44
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x994]
test eax, eax
je 0x41747d
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41748e
push eax
call esi
mov eax, dword [esp + 8]
test eax, eax
je 0x417499
push eax
call esi
pop edi
pop esi
add esp, 0x984
ret
Function at 0x417980
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4445de
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00417760
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
test eax, eax
je 0x4179bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
push 0x78
call fcn.0041b540
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x220], 0
je 0x4179e2
mov ecx, eax
call fcn.004099e0
jmp 0x4179e4
xor eax, eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x220], 0xffffffff
push ecx
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.0040a510
mov eax, dword [esi + 8]
test eax, eax
je 0x417a0d
cmp eax, 1
jne 0x417ac5
push 1
lea edx, [esp + 0x14]
push 0x104
push edx
call fcn.00413c00
add esp, 0xc
test eax, eax
jge 0x417a7d
push 0
mov ecx, esi
call fcn.00418130
mov edi, eax
test edi, edi
jge 0x417a51
mov ecx, esi
call fcn.00417760
mov esi, dword [esi + 0x28]
test esi, esi
je 0x417afe
mov eax, dword [esi]
push edi
push esi
call dword [eax]
jmp 0x417afe
push 0
lea ecx, [esp + 0x118]
push 0x104
push ecx
call fcn.00413c00
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.00413b50
add esp, 8
test eax, eax
jne 0x417ab9
push 0x454988
call fcn.004118e0
add esp, 4
mov ecx, esi
call fcn.00417760
mov esi, dword [esi + 0x28]
test esi, esi
je 0x417afe
mov eax, dword [esi]
push 0x80004005
push esi
call dword [eax]
jmp 0x417afe
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0040a510
push 0
push 0
push 0
push 0
push esi
push 0x417b20
call sub.MFC42.DLL_AfxBeginThread
mov esi, eax
test esi, esi
je 0x417afe
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0
push 0x100040
push ebx
call edi
mov edx, dword [esi + 0x2c]
push eax
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x218
ret

Function at 0x417b30
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x2c]
push edi
test eax, eax
jne 0x417b71
mov ebp, dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push str.download.baofeng.com
call ebp
test eax, eax
jne 0x417b7b
xor esi, esi
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x417b71
push 0xc8
call edi
inc esi
cmp esi, 0x64
jl 0x417b56
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x417b49
pop edi
pop esi
pop ebp
mov eax, 0x80004004
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x417d90
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x417dba
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x10]
push 1
push eax
push 0
call fcn.0040a320
pop esi
add esp, 0x208
ret 4
mov ecx, dword [esi + 0x20]
push ebx
push ebp
lea ebp, [esi + 0x10]
push 0
push ebp
push eax
call fcn.0040a320
mov ebx, eax
mov eax, dword [esi + 8]
cmp eax, 1
jbe 0x417e75
test ebx, ebx
jl 0x417e75
mov eax, dword [esp + 0x218]
test eax, eax
jne 0x417e75
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push 0x104
push ecx
stosb byte es:[edi], al
call fcn.00413c00
add esp, 0xc
test eax, eax
pop edi
jne 0x417e75
push 1
lea edx, [esp + 0x114]
push 0x104
push edx
call fcn.00413c00
add esp, 0xc
lea eax, [esp + 0x110]
lea ecx, [esp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x417e75
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esi + 8]
dec esi
je 0x417ea2
dec esi
je 0x417e85
dec esi
jne 0x417eb4
push 0
jmp 0x417ea3
cmp ebx, 0x80004004
je 0x417eb4
push 0
call fcn.0040e250
mov eax, ebx
pop ebp
pop ebx
pop esi
add esp, 0x208
ret 4
push ebp
call fcn.0040e250
push 1
push 0x53
call fcn.004177b0
add esp, 8
mov eax, ebx
pop ebp
pop ebx
pop esi
add esp, 0x208
ret 4

Function at 0x417ff0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
lea ecx, [esp + 4]
push esi
push eax
push 0x104
push ecx
call fcn.00413c00
add esp, 0xc
test eax, eax
jne 0x418074
push eax
push 0x80
push 3
push eax
push 3
lea edx, [esp + 0x1c]
push closesocket
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x418074
mov ecx, dword [esp + 0x114]
lea eax, [esp + 4]
push 0
push eax
push 8
push ecx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
je 0x41806e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x108
ret 8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0x108
ret 8
Function at 0x41b570
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
cmp dword [edx], 0x51a65f91
je 0x41b589
mov esi, dword [esp + 0xc]
add edx, 8
sub esi, 8
jmp 0x41b58d
mov esi, dword [esp + 0xc]
xor ecx, ecx
mov eax, 0xfd
test esi, esi
jbe 0x41b5c0
push ebx
push edi
lea edi, [eax + eax*2]
mov bl, byte [ecx + edx]
lea edi, [eax + edi*4]
shl edi, 4
add edi, eax
shl edi, 8
sub edi, eax
lea eax, [eax + edi*4 + 0x269ec3]
xor bl, al
mov byte [ecx + edx], bl
inc ecx
cmp ecx, esi
jb 0x41b59a
pop edi
pop ebx
mov eax, dword [esp + 0x10]
push 0
push esi
push eax
push edx
call fcn.0041b8c0
pop esi
ret 0xc

Function at 0x41e910
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
add esp, 0x190
ret

Function at 0x41e940
Capabilities:
Create udp socket

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_socket]
push 0x11
push 2
mov esi, ecx
push 2
call edi
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x41e977
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
jne 0x41e977
call fcn.0041e910
push 0x11
push 2
push 2
call edi
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
xor eax, eax
cmp edx, 0xffffffff
pop edi
setne al
dec eax
pop esi
ret

Function at 0x41e9b0
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x41e9c1
or eax, eax
pop esi
ret 8
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x41e9e6
lea ecx, [esp + 0xc]
push 4
push ecx
push 0x20
push 0xffff
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
push edi
lea edi, [esi + 8]
mov eax, edi
xor edx, edx
mov ecx, dword [esp + 0xc]
mov dword [eax], edx
push ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov word [edi], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 4]
push 0x10
push edi
push edx
mov word [esi + 0xa], ax
mov dword [esi + 0xc], 0
call dword [sym.imp.WS2_32.dll_bind]
pop edi
pop esi
ret 8
Function at 0x41ea30
Capabilities:
Check for time delay via gettickcount
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x228
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0xffffffff
je 0x41ebbd
mov dword [esp + 0x10], 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x41eb15
mov edi, dword [sym.imp.WS2_32.dll_select]
mov ebx, 1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x130]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x138], eax
push edx
lea ecx, [esp + 0x34]
push 0
inc eax
push ecx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xc350
call edi
cmp eax, 0xffffffff
je 0x41ebbd
test eax, eax
je 0x41eae4
mov eax, dword [esi + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x41eb26
mov edx, dword [esi + 4]
lea ecx, [esp + 0x130]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x41ebbd
cmp dword [esp + 0x248], 0xffffffff
je 0x41eb09
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x248]
sub eax, edx
cmp ecx, eax
jle 0x41ebac
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x41ea6e
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
add esp, 0x228
ret 0x14
mov edx, dword [esp + 0x23c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x23c]
push ecx
mov ecx, dword [esi + 4]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp esi, 0xffffffff
je 0x41eb8e
test esi, esi
je 0x41eb80
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x1e]
push edx
mov dword [ecx], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x244]
mov word [ecx], ax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x228
ret 0x14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x41eb80
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
add esp, 0x228
ret 0x14
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x228
ret 0x14
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x228
ret 0x14
Function at 0x41ea37
Capabilities:
Check for time delay via gettickcount
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x228
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0xffffffff
je 0x41ebbd
mov dword [esp + 0x10], 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x41eb15
mov edi, dword [sym.imp.WS2_32.dll_select]
mov ebx, 1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x130]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x138], eax
push edx
lea ecx, [esp + 0x34]
push 0
inc eax
push ecx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xc350
call edi
cmp eax, 0xffffffff
je 0x41ebbd
test eax, eax
je 0x41eae4
mov eax, dword [esi + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x41eb26
mov edx, dword [esi + 4]
lea ecx, [esp + 0x130]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x41ebbd
cmp dword [esp + 0x248], 0xffffffff
je 0x41eb09
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x248]
sub eax, edx
cmp ecx, eax
jle 0x41ebac
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x41ea6e
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
add esp, 0x228
ret 0x14
mov edx, dword [esp + 0x23c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x23c]
push ecx
mov ecx, dword [esi + 4]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp esi, 0xffffffff
je 0x41eb8e
test esi, esi
je 0x41eb80
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x1e]
push edx
mov dword [ecx], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x244]
mov word [ecx], ax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x228
ret 0x14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x41eb80
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
add esp, 0x228
ret 0x14
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x228
ret 0x14
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x228
ret 0x14

Function at 0x41ebd0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
or eax, 0xffffffff
push esi
mov esi, ecx
cmp dword [esi + 4], eax
je 0x41ec3f
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x24]
mov dword [esp + 8], eax
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
mov eax, dword [esi + 4]
push 0
push ecx
push edx
push eax
mov word [esp + 0x1c], 2
call dword [sym.imp.WS2_32.dll_sendto]
push 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop esi
add esp, 0x10
ret 0x10
Function at 0x41ebd6
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
or eax, 0xffffffff
push esi
mov esi, ecx
cmp dword [esi + 4], eax
je 0x41ec3f
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x24]
mov dword [esp + 8], eax
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
mov eax, dword [esi + 4]
push 0
push ecx
push edx
push eax
mov word [esp + 0x1c], 2
call dword [sym.imp.WS2_32.dll_sendto]
push 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop esi
add esp, 0x10
ret 0x10

Function at 0x41ecb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x444ea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
call fcn.0041e8d0
push 0x10001
mov byte [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x19
div ecx
lea ecx, [esi + 0x3c]
add edx, 0x201
push edx
call fcn.00421ea0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
mov word [esi + 0x2c], di
mov dword [esi], 0x44b40c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41ed70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x444f45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x44b40c
mov dword [esp + 0x1c], 2
call fcn.0041ef60
mov eax, dword [edi + 0x120]
xor ebx, ebx
cmp eax, ebx
mov dword [edi + 0x30], ebx
je 0x41edbc
push eax
call fcn.0041da60
add esp, 4
lea esi, [edi + 0x3c]
mov dword [edi + 0x120], ebx
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc8]
mov byte [esp + 0x1c], 0xc
call fcn.0041fc40
lea ecx, [esi + 0xb4]
mov byte [esp + 0x1c], 0xb
call fcn.0041fc40
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 0xa
call fcn.0041fc40
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1c], 9
call fcn.0041fc40
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 8
call fcn.0041fc40
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 7
call fcn.0041fc40
lea ecx, [esi + 0x50]
mov byte [esp + 0x1c], 6
call fcn.0041fc40
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 5
call fcn.0041fc40
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 4
call fcn.0041fc40
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 3
call fcn.0041fc40
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.0041fc40
lea ecx, [edi + 0x14]
mov byte [esp + 0x1c], bl
call fcn.0041e900
mov eax, dword [edi + 8]
push eax
mov dword [esp + 0x14], eax
call fcn.0041da60
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x41eeb0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp word [esi + 0x2c], 0
je 0x41eec7
pop edi
pop esi
mov eax, 0x80070057
pop ebx
ret 0xc
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.0041e990
mov ecx, edi
call fcn.0041e940
test eax, eax
je 0x41eee7
pop edi
pop esi
mov eax, 0x80070057
pop ebx
ret 0xc
mov ebx, dword [esp + 0x10]
push 0
push ebx
mov ecx, edi
call fcn.0041e9b0
test eax, eax
jge 0x41ef28
mov ebx, dword [esp + 0x14]
push 0
push ebx
mov ecx, edi
call fcn.0041e9b0
test eax, eax
jge 0x41ef28
mov ebx, dword [esp + 0x18]
push 0
push ebx
mov ecx, edi
call fcn.0041e9b0
test eax, eax
jge 0x41ef28
pop edi
pop esi
mov eax, 0x80070057
pop ebx
ret 0xc
mov eax, dword [esi + 0x34]
mov word [esi + 0x2c], bx
test eax, eax
jne 0x41ef4f
lea eax, [esi + 0x38]
push eax
push 0
push esi
push 0x41f040
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x34], eax
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4202c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0041fbd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
mov dword [esp + 0x24], 0
cmp ecx, dword [eax + 8]
jae 0x420310
mov esi, dword [esp + 0x2c]
push 0
mov ecx, esi
call fcn.0041f950
jmp 0x420338
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0041fbd0
lea ecx, [esp + 0x1c]
call fcn.00421230
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0041fbd0
lea ecx, [esp + 8]
call fcn.0041fc40
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8

Function at 0x420360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0041fbd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
mov dword [esp + 0x24], 0
cmp ecx, dword [eax + 8]
jb 0x4203b9
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0041fbd0
lea ecx, [esp + 0x1c]
call fcn.00421860
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0041fbd0
lea ecx, [esp + 8]
call fcn.0041fc40
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8