joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418e6c
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push esi
mov esi, dword [ebp + 0x5a8]
push edi
xor edi, edi
push 0x206
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call sub.MSVCR80.dll_memset
push 0x40e
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x4237c4
mov ecx, esi
call fcn.00402cf4
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x418fc6
push ebx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ressrcchskismain.ini
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
push 0x208
lea eax, [ebp + 0x394]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, str.version
push ebx
push str.infos
call edi
test eax, eax
je 0x418fc5
lea eax, [ebp + 0x394]
push eax
mov ecx, esi
call fcn.0040191b
push 6
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.00418cb8
push eax
mov ecx, esi
call fcn.004018aa
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.00401234
push 0
lea eax, [ebp + 0x394]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x208
lea eax, [ebp + 0x394]
push eax
push 0
push ebx
push str.DisplayVersions
call edi
and word [ebp + 0x39c], 0
push esi
lea eax, [ebp + 0x394]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041426b
add esp, 0xc
push eax
mov ecx, esi
call fcn.004018aa
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.00401234
push 0x41d690
push 0x41ea28
mov ecx, esi
call fcn.00418b6a
pop ebx
mov ecx, dword [ebp + 0x59c]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041c236
add ebp, 0x5a0
leave
ret 4
Function at 0x419458
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
mov esi, dword [ebp + 0x1ac]
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x6a]
push edi
push eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edi
mov word [ebp - 0x6c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x2001f
push str.CLSID9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0Implemented_CategoriesA5F7140E_4311_4ef9_AABC_F55941B5EBE5
push 0x80000000
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], 0x80
call fcn.0040f282
test eax, eax
jne 0x4194d9
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x1a8]
lea ecx, [ebp - 0x74]
call fcn.004131ed
test eax, eax
je 0x4194e0
mov dword [ebp - 0x80], 1
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0040191b
push 0x4237c4
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x70], edi
call fcn.00402cf4
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.00418fe1
mov ebx, eax
cmp ebx, edi
je 0x41952e
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
push 0x104
push eax
push edi
push dword [ebp + 0x1a8]
push 0x41f8f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x80], edi
je 0x41955c
cmp dword [ebp - 0x70], edi
ja 0x41954c
mov ecx, dword [ebp - 0x7c]
push esi
lea eax, [ebp + 0x1a8]
push eax
call fcn.00419071
mov ebx, eax
jmp 0x419571
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0040191b
xor ebx, ebx
inc ebx
jmp 0x419561
cmp dword [ebp - 0x70], edi
ja 0x419571
mov ecx, dword [ebp - 0x7c]
push esi
lea eax, [ebp + 0x1a8]
push eax
call fcn.00418898
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.00401234
lea ecx, [ebp - 0x74]
call fcn.0040f21d
lea ecx, [ebp - 0x74]
call fcn.0040f21d
mov ecx, dword [ebp + 0x1a8]
add ecx, 0xfffffff0
call fcn.00401234
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041c236
add ebp, 0x1a0
leave
ret 8
Function at 0x41a453
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push 0xc
mov dword [ebp - 8], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x41a477
mov ecx, eax
call fcn.00419fae
mov esi, eax
jmp 0x41a479
xor esi, esi
cmp esi, ebx
je 0x41a527
push 0x4237c4
lea ecx, [ebp - 4]
call fcn.00402cf4
cmp dword [ebp + 8], ebx
jge 0x41a496
mov dword [ebp + 8], ebx
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push str._4d__d__d__d__d
push eax
call fcn.00401938
mov edi, dword [ebp - 4]
push edi
push dword [ebp + 0xc]
lea eax, [esi + 4]
push dword [ebp + 8]
push str.actionnameduba_uninstalldays_dchoice_scollecttime_s
push eax
call fcn.00401938
add esp, 0x30
push 0x41fb48
mov ecx, esi
call fcn.0040191b
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push fcn.0041a251
push ebx
push ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.00401234
pop edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401234
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x41a516

Function at 0x41a52b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push 0xc
mov dword [ebp - 8], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x41a54f
mov ecx, eax
call fcn.00419fae
mov esi, eax
jmp 0x41a551
xor esi, esi
cmp esi, ebx
je 0x41a5ff
push 0x4237c4
lea ecx, [ebp - 4]
call fcn.00402cf4
cmp dword [ebp + 8], ebx
jge 0x41a56e
mov dword [ebp + 8], ebx
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push str._4d__d__d__d__d
push eax
call fcn.00401938
mov edi, dword [ebp - 4]
push edi
push dword [ebp + 0xc]
lea eax, [esi + 4]
push dword [ebp + 8]
push str.actionnameduba_uninstall_newdays_dchoice_scollecttime_s
push eax
call fcn.00401938
add esp, 0x30
push str.duba_uninstall_new
mov ecx, esi
call fcn.0040191b
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push fcn.0041a251
push ebx
push ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.00401234
pop edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401234
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x41a5ee
Function at 0x41a603
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push 0xc
mov dword [ebp - 4], edi
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x41a626
mov ecx, eax
call fcn.00419fae
mov esi, eax
jmp 0x41a628
xor esi, esi
cmp esi, edi
mov ebx, dword [ebp + 0xc]
je 0x41a694
push 0x4237c4
lea ecx, [ebp + 0xc]
call fcn.00402cf4
push dword [ebp + 0x10]
lea eax, [esi + 4]
push ebx
push dword [ebp + 8]
push str.actionnameduba_uninword_newword_sqq_sforumclick_d
push eax
call fcn.00401938
add esp, 0x14
push str.duba_uninword_new
mov ecx, esi
call fcn.0040191b
cmp dword [ebp + 0x14], edi
mov eax, dword [ebp + 0x18]
mov dword [esi + 8], eax
je 0x41a683
lea eax, [ebp - 4]
push eax
push edi
push esi
push fcn.0041a251
push edi
push edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
jmp 0x41a689
push esi
call fcn.0041a251
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401234
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401234
lea ecx, [ebx - 0x10]
call fcn.00401234
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a6ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push 0xc
mov dword [ebp - 4], edi
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x41a6cf
mov ecx, eax
call fcn.00419fae
mov esi, eax
jmp 0x41a6d1
xor esi, esi
cmp esi, edi
mov ebx, dword [ebp + 0xc]
je 0x41a73d
push 0x4237c4
lea ecx, [ebp + 0xc]
call fcn.00402cf4
push dword [ebp + 0x10]
lea eax, [esi + 4]
push ebx
push dword [ebp + 8]
push str.actionnameduba_uninwordword_sqq_sforumclick_d
push eax
call fcn.00401938
add esp, 0x14
push str.duba_uninword
mov ecx, esi
call fcn.0040191b
cmp dword [ebp + 0x14], edi
mov eax, dword [ebp + 0x18]
mov dword [esi + 8], eax
je 0x41a72c
lea eax, [ebp - 4]
push eax
push edi
push esi
push fcn.0041a251
push edi
push edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
jmp 0x41a732
push esi
call fcn.0041a251
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401234
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401234
lea ecx, [ebx - 0x10]
call fcn.00401234
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41b10a
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x58
lea eax, [ebp - 0x5c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x48], 0
and dword [ebp - 0x4c], 0
push esi
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.0041afe5
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0041b07b
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041c236
leave
ret
Function at 0x41b392
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov esi, ecx
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x60], eax
je 0x41b4e7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call edi
push str.WinHttpConnect
push dword [esi + 0x60]
mov dword [esi + 4], eax
call edi
push str.WinHttpOpenRequest
push dword [esi + 0x60]
mov dword [esi + 8], eax
call edi
push str.WinHttpAddRequestHeaders
push dword [esi + 0x60]
mov dword [esi + 0xc], eax
call edi
push str.WinHttpSendRequest
push dword [esi + 0x60]
mov dword [esi + 0x10], eax
call edi
push str.WinHttpReceiveResponse
push dword [esi + 0x60]
mov dword [esi + 0x14], eax
call edi
push str.WinHttpQueryHeaders
push dword [esi + 0x60]
mov dword [esi + 0x18], eax
call edi
push str.WinHttpReadData
push dword [esi + 0x60]
mov dword [esi + 0x1c], eax
call edi
push str.WinHttpCloseHandle
push dword [esi + 0x60]
mov dword [esi + 0x20], eax
call edi
push str.WinHttpCrackUrl
push dword [esi + 0x60]
mov dword [esi + 0x24], eax
call edi
push str.WinHttpSetOption
push dword [esi + 0x60]
mov dword [esi + 0x28], eax
call edi
push str.WinHttpSetTimeouts
push dword [esi + 0x60]
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 4], ebx
mov dword [esi + 0x30], eax
je 0x41b4e5
cmp dword [esi + 0x10], ebx
je 0x41b4e5
cmp dword [esi + 0x24], ebx
je 0x41b4e5
cmp dword [esi + 8], ebx
je 0x41b4e5
cmp dword [esi + 0xc], ebx
je 0x41b4e5
cmp dword [esi + 0x1c], ebx
je 0x41b4e5
cmp dword [esi + 0x20], ebx
je 0x41b4e5
cmp dword [esi + 0x18], ebx
je 0x41b4e5
cmp dword [esi + 0x14], ebx
je 0x41b4e5
cmp dword [esi + 0x28], ebx
je 0x41b4e5
cmp dword [esi + 0x2c], ebx
je 0x41b4e5
cmp eax, ebx
je 0x41b4e5
inc ebx
mov dword [esi], ebx
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c236
leave
ret
Function at 0x41b4f8
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov esi, ecx
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.wininet.dll
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x64], eax
je 0x41b62a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenW
push eax
call edi
push str.InternetConnectW
push dword [esi + 0x64]
mov dword [esi + 0x38], eax
call edi
push str.HttpOpenRequestW
push dword [esi + 0x64]
mov dword [esi + 0x3c], eax
call edi
push str.HttpAddRequestHeadersW
push dword [esi + 0x64]
mov dword [esi + 0x40], eax
call edi
push str.HttpSendRequestW
push dword [esi + 0x64]
mov dword [esi + 0x44], eax
call edi
push str.HttpQueryInfoW
push dword [esi + 0x64]
mov dword [esi + 0x48], eax
call edi
push str.InternetReadFile
push dword [esi + 0x64]
mov dword [esi + 0x4c], eax
call edi
push str.InternetCloseHandle
push dword [esi + 0x64]
mov dword [esi + 0x50], eax
call edi
push str.InternetCrackUrlW
push dword [esi + 0x64]
mov dword [esi + 0x54], eax
call edi
push str.InternetSetOptionW
push dword [esi + 0x64]
mov dword [esi + 0x58], eax
call edi
cmp dword [esi + 0x38], ebx
mov dword [esi + 0x5c], eax
je 0x41b627
cmp dword [esi + 0x3c], ebx
je 0x41b627
cmp dword [esi + 0x40], ebx
je 0x41b627
cmp dword [esi + 0x44], ebx
je 0x41b627
cmp dword [esi + 0x48], ebx
je 0x41b627
cmp dword [esi + 0x4c], ebx
je 0x41b627
cmp dword [esi + 0x50], ebx
je 0x41b627
cmp dword [esi + 0x54], ebx
je 0x41b627
cmp dword [esi + 0x58], ebx
je 0x41b627
cmp eax, ebx
je 0x41b627
inc ebx
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c236
leave
ret
Function at 0x41b8c6
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
jg 0x41b8e0
mov dword [ebp + 0x10], 1
mov eax, 0x400
cdq
idiv dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov ebx, eax
lea esi, [ebx + 2]
push esi
call fcn.0041c22a
push esi
push edi
push eax
mov dword [ebp - 0x10], eax
call sub.MSVCR80.dll_memset
mov esi, dword [ebp - 8]
add esp, 0x10
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
sub esp, 0x70
push 0x1c
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0041b6a1
mov esi, eax
xor edi, edi
add esp, 0x84
cmp esi, edi
mov dword [ebp + 0xc], esi
je 0x41b966
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x41b951
mov eax, dword [ecx]
push esi
push 2
call dword [eax]
cmp dword [ebp - 0x10], edi
je 0x41b95f
push dword [ebp - 0x10]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, esi
jmp 0x41ba88
mov esi, dword [ebp - 0x10]
push 4
push edi
push esi
mov dword [ebp - 4], ebx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push 0x13
push dword [ebp - 0xc]
call fcn.0041b311
test eax, eax
je 0x41b9c3
mov eax, dword [ebp - 4]
push esi
mov byte [eax + esi], 0
call dword [sym.imp.MSVCR80.dll__wtoi64]
cmp eax, 0xc8
pop ecx
je 0x41b9ae
cmp eax, 0xce
mov dword [ebp + 0xc], eax
jne 0x41b9b1
mov dword [ebp + 0xc], edi
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x41b9c6
mov edx, dword [edi]
push eax
push 3
mov ecx, edi
call dword [edx]
jmp 0x41b9c6
mov edi, dword [ebp + 0x18]
push 4
push 0
push esi
mov dword [ebp - 4], ebx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call fcn.0041b33b
test eax, eax
je 0x41ba46
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x41ba59
test edi, edi
mov byte [eax + esi], 0
je 0x41ba0d
push 0
push dword [ebp - 4]
lea ecx, [edi + 4]
mov eax, dword [ecx]
push esi
call dword [eax]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x41ba1d
push dword [ebp - 4]
mov eax, dword [ecx]
push 4
call dword [eax]
cmp dword [ebp + 0x10], 1
jle 0x41ba2b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call fcn.0041b33b
test eax, eax
jne 0x41b9f1
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x41ba59
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
mov ecx, edi
call dword [ebx]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.0041b34c
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.0041b34c
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.0041b34c
test esi, esi
je 0x41ba85
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x41bc70
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041bbaf
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41bcbf
cmp dword [ebp - 0x1c], 5
jb 0x41bcd7
jmp 0x41bcd3
cmp dword [ebp - 0x10], 1
jne 0x41bcd7
cmp dword [ebp - 0x1c], 4
ja 0x41bcd3
jne 0x41bcd7
cmp dword [ebp - 0x18], 0
jbe 0x41bcd7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4200c0
call fcn.0040e798
test eax, eax
jge 0x41bcf8
mov byte [0x423554], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041c236
add ebp, 0x78
leave
ret

Function at 0x41c13d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4237e0], 0
push esi
jne 0x41c0b0
call fcn.0041bfdb
test eax, eax
je 0x41c0f3
mov eax, dword [0x4237e0]
cmp eax, 1
jne 0x41c0d1
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41c0f3
pop esi
ret
push eax
call dword [0x4237e8]
test eax, eax
jne 0x41c13b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41c0f7
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4237e0]
call dword [0x4237e8]
mov edi, eax
test edi, edi
je 0x41c11e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x41c13a
lea edi, [esi + 0xff0]
push esi
push dword [0x4237e0]
call dword [0x4237e4]
add esi, 0x10
cmp esi, edi
jb 0x41c124
mov eax, esi
pop edi
pop esi
ret
jmp 0x41c09d

Function at 0x41c236
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4234f4]
jne 0x41c240
repz ret
jmp fcn.0041c85d
Function at 0x40609c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040624c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40619a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40613d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x406180
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x406154
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40616f
test al, 0x40
je 0x406166
mov ecx, dword [edi + 0x20]
jmp 0x40616d
test al, 0x80
je 0x406180
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x406180
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40610c
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x421580
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x484a2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047933d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x421602
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00476bf0
mov eax, dword [eax]
push 0x4c1cdc
push eax
call fcn.00469814
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004795c8
test bl, bl
je 0x421602
push 0x4c1cdc
lea ecx, [esp + 0xc]
call fcn.00479958
push 0x4c1ce8
lea ecx, [esp + 0xc]
call fcn.00479958
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42163e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004795c8
jmp 0x421709
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4216c2
lea edx, [esp + 0x7c]
push 0x4c1ce4
push edx
call fcn.00469814
add esp, 8
test eax, eax
je 0x4216c2
lea eax, [esp + 0x7c]
push 0x4c1ce0
push eax
call fcn.00469814
add esp, 8
test eax, eax
je 0x4216c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x421652
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004795c8
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x421f10
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 0x421f72
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