joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420af3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0x14c
mov eax, dword [0x46059c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp + 0xc8], eax
lea eax, [ebp - 0x40]
push eax
xor esi, esi
mov ebx, 0x20019
push ebx
push esi
push dword [ebp + 0xd8]
mov dword [ebp - 0x5c], 0x104
push dword [ebp + 0xd4]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], esi
call edi
test eax, eax
jne 0x420c76
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x420c6d
mov eax, dword [ebp - 0x44]
inc eax
push eax
mov dword [ebp - 0x50], eax
call fcn.00439d6b
push dword [ebp + 0xd8]
mov dword [ebp - 0x54], eax
call fcn.00439ce0
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x58]
lea eax, [eax + ecx + 0xa]
push eax
call fcn.00439d6b
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x60]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
mov dword [ebp - 0x78], eax
jne 0x420c47
push dword [ebp - 0x54]
push dword [ebp + 0xd8]
push str._s_s
push dword [ebp - 0x4c]
call fcn.0043addc
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
push ebx
push esi
push dword [ebp - 0x4c]
push dword [ebp + 0xd4]
call edi
test eax, eax
jne 0x420c4f
push dword [ebp - 0x4c]
push dword [ebp + 0xe0]
push dword [ebp - 0x48]
call fcn.004204ea
add esp, 0xc
cmp eax, esi
je 0x420c3c
mov edx, dword [ebp + 0xdc]
mov ecx, dword [edx]
cmp ecx, esi
jne 0x420c34
mov dword [edx], eax
jmp 0x420c3c
mov ecx, dword [ecx + 0x34]
cmp dword [ecx + 0x34], esi
jne 0x420c31
mov dword [ecx + 0x34], eax
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x420c4f
cmp eax, 0x103
je 0x420c4f
nop
inc dword [ebp - 0x60]
cmp dword [ebp - 0x78], esi
je 0x420bb3
push dword [ebp - 0x4c]
call fcn.00439c96
push dword [ebp - 0x54]
call fcn.00439c96
pop ecx
pop ecx
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc8]
pop edi
pop esi
pop ebx
call fcn.00439ccc
add ebp, 0xcc
leave
ret
Function at 0x421b2d
Capabilities:
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
cmp byte [ebp + 8], 0
mov eax, dword [0x46059c]
mov dword [ebp - 4], eax
je 0x421d49
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x421d48
push dword [ebp + 0xc]
call fcn.00439ce0
cmp eax, edi
pop ecx
mov dword [ebp - 0x510], eax
jle 0x421d48
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
mov byte [ebp - 0x108], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0043b650
cmp eax, edi
pop ecx
pop ecx
je 0x421bb0
mov byte [eax + 1], 0
lea eax, [ebp - 0x108]
push str.wrapperdl.tdat
push eax
call fcn.00439d90
pop ecx
pop ecx
push ebx
push esi
push edi
mov esi, 0x80
push esi
push 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov ebx, 0x40000000
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
jne 0x421c0e
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push esi
push 4
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
je 0x421d46
push 0
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x421c4b
cmp eax, 0x19000
jbe 0x421c4b
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push esi
push 5
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
mov edi, eax
jmp 0x421c51
mov edi, dword [ebp - 0x50c]
cmp edi, 0xffffffff
je 0x421d46
push 2
xor ebx, ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x10], ebx
mov esi, dword [ebp - 0x510]
je 0x421c8a
push dword [ebp + 0x10]
call fcn.00439ce0
cmp eax, esi
pop ecx
jle 0x421c8a
push dword [ebp + 0x10]
call fcn.00439ce0
pop ecx
mov esi, eax
add esi, 0x64
push esi
call fcn.0043abe2
mov ebx, 0x451528
mov esi, eax
push ebx
push esi
call fcn.00439d80
add esp, 0xc
cmp byte [ebp + 0x14], 0
je 0x421cb1
push edi
call fcn.0041cb54
pop ecx
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
call fcn.00439f68
lea eax, [ebp + 8]
push eax
call fcn.0043c423
push eax
push str._d__m__Y__H:_M:_S
lea eax, [ebp - 0x508]
push 0x400
push eax
call fcn.0043c408
lea eax, [ebp - 0x508]
push eax
push esi
call fcn.00439d80
push edi
call fcn.0041cb54
push dword [ebp + 0xc]
push esi
call fcn.00439d80
push edi
call fcn.0041cb54
add esp, 0x30
cmp dword [ebp + 0x10], 0
je 0x421d28
push dword [ebp + 0x10]
call fcn.00439ce0
test eax, eax
pop ecx
jbe 0x421d28
push dword [ebp + 0x10]
push esi
call fcn.00439d80
push edi
call fcn.0041cb54
add esp, 0xc
push ebx
push esi
call fcn.00439d80
push edi
call fcn.0041cb54
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00439c96
pop ecx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
call fcn.00439ccc
leave
ret
Function at 0x423dc2
Capabilities:
Delete file

Disassembly:
mov eax, 0x44c4b8
call fcn.0043a534
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xa054]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [esi], 0x4521a8
mov dword [ebp - 4], ebx
je 0x423df1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 0x1c], ebx
je 0x423e36
mov ecx, esi
call fcn.00422a26
mov edi, eax
cmp edi, ebx
je 0x423e1a
mov eax, dword [esi + 0x1c]
push dword [eax + 4]
push 0x457690
push edi
call fcn.004118a6
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, dword [esi + 0x1c]
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x423e2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0xc], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi + 0x20], ebx
je 0x423e5a
push dword [esi + 0x2c]
push 0x457730
push dword [esi + 0x28]
call fcn.004118a6
mov eax, dword [esi + 0x20]
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x423e67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x423e74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x30]
cmp dword [ecx], ebx
je 0x423e80
call fcn.00421aa4
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x423e8e
push eax
call fcn.0043abdd
pop ecx
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x423e9c
push eax
call fcn.0043abdd
pop ecx
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x423eaa
push eax
call fcn.0043abdd
pop ecx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x423eb8
push eax
call fcn.0043abdd
pop ecx
lea eax, [esi + 0x48]
cmp byte [eax], bl
je 0x423ec6
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x424830
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46059c]
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, 0x44e5c8
push esi
push esi
push 1
push str.MyZylomActiveXPlugin
mov dword [ebp - 4], eax
mov byte [ebp - 0x11], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x4249fc
push edi
mov edi, dword [ebp + 0x10]
cmp di, 0x50
jne 0x424874
push 0x50
pop edi
jmp 0x424880
cmp di, 0x1bb
jne 0x424880
mov edi, 0x1bb
push ebx
push 0x4000000
push 3
push ebx
push ebx
push edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x4249f2
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x4249e9
cmp dword [ebp + 0x14], ebx
lea eax, [ebp - 0x10]
jne 0x4248be
push 0x4522a8
jmp 0x4248c3
push str.POST
push eax
call fcn.00439d80
cmp di, 0x1bb
pop ecx
pop ecx
mov eax, 0xa0000000
jne 0x4248dc
mov eax, 0xa0800000
push ebx
push eax
push ebx
push esi
push str.HTTP_1.0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x4249e9
mov eax, dword [0x4660e4]
xor esi, esi
cmp eax, ebx
je 0x424929
push eax
call fcn.00439ce0
inc eax
push eax
call fcn.00439d6b
push dword [0x4660e4]
mov esi, eax
push esi
call fcn.00439d80
add esp, 0x10
cmp dword [ebp + 0x18], ebx
jbe 0x4249a9
cmp dword [ebp + 0x14], ebx
je 0x4249a9
mov edi, dword [ebp + 0x1c]
cmp edi, ebx
je 0x4249a9
cmp esi, ebx
jne 0x424966
push edi
call fcn.00439ce0
add eax, 0x14
push eax
call fcn.00439d6b
mov esi, eax
push str.Content_Type:
push esi
call fcn.00439d80
push edi
push esi
call fcn.00439d90
add esp, 0x18
jmp 0x4249a9
push esi
mov dword [ebp - 0x1c], esi
call fcn.00439ce0
push edi
mov esi, eax
call fcn.00439ce0
lea eax, [esi + eax + 0x15]
push eax
call fcn.00439d6b
push dword [ebp - 0x1c]
mov esi, eax
push esi
call fcn.00439d80
push str.Content_Type:
push esi
call fcn.00439d90
push edi
push esi
call fcn.00439d90
push dword [ebp - 0x1c]
call fcn.00439c96
add esp, 0x28
cmp esi, ebx
jne 0x4249b1
xor eax, eax
jmp 0x4249b8
push esi
call fcn.00439ce0
pop ecx
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0x18]
push ecx
push dword [ebp + 0x14]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4249d9
mov byte [ebp - 0x11], 1
push esi
call fcn.00439c96
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x11]
pop esi
pop ebx
call fcn.00439ccc
leave
ret
Function at 0x424a0b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x46059c]
push esi
mov esi, dword [ebp + 0x3ac]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp + 0x394], eax
mov byte [ebp - 0x6d], 0
je 0x424bf6
push 0x5c
push esi
call fcn.0043b650
cmp eax, edi
pop ecx
pop ecx
jne 0x424a4d
mov dword [ebp - 0x78], esi
jmp 0x424a51
inc eax
mov dword [ebp - 0x78], eax
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x424bf6
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424bee
cmp ebx, dword [ebp + 0x3b4]
ja 0x424bee
push ebx
mov dword [ebp - 0x80], edi
call fcn.00439d6b
pop ecx
push edi
lea ecx, [ebp - 0x80]
push ecx
push ebx
push eax
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
setne byte [ebp + 0x3af]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x3af], 0
je 0x424be3
cmp dword [ebp - 0x80], ebx
jne 0x424be3
cmp dword [ebp + 0x3b0], edi
jne 0x424ae4
mov dword [ebp + 0x3ac], edi
jmp 0x424af6
push dword [ebp + 0x3b0]
call fcn.00439ce0
pop ecx
mov dword [ebp + 0x3ac], eax
push dword [ebp - 0x78]
call fcn.00439ce0
mov edi, eax
mov dword [esp], str._r_n___s___r_n
call fcn.00439ce0
add edi, eax
mov dword [esp], str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_nContent_Length:__d_r_n_r_n
call fcn.00439ce0
mov esi, str.____________________kjasktiuasuidgkjgfasgdsigfyitgifguwe
push esi
add edi, eax
call fcn.00439ce0
push esi
add edi, eax
call fcn.00439ce0
add edi, eax
mov eax, dword [ebp + 0x3ac]
add eax, ebx
lea eax, [edi + eax - 0xa]
mov dword [ebp + 0x3ac], eax
add eax, 0x64
push eax
call fcn.00439d6b
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x3b0]
add esp, 0x10
test eax, eax
jne 0x424b61
mov eax, 0x44e5c8
push ebx
push dword [ebp - 0x78]
push eax
push esi
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_nContent_Length:__d_r_n_r_n
push dword [ebp - 0x74]
call fcn.0043addc
push dword [ebp - 0x74]
call fcn.00439ce0
mov edi, eax
add edi, dword [ebp - 0x74]
push ebx
push dword [ebp - 0x7c]
push edi
call fcn.0043a560
push esi
push str._r_n___s___r_n
add edi, ebx
push edi
call fcn.0043addc
push esi
lea eax, [ebp - 0x6c]
push str.multipart_form_data__boundary_s_
push eax
call fcn.0043addc
add esp, 0x40
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x3ac]
push dword [ebp - 0x74]
push dword [ebp + 0x3a8]
push dword [ebp + 0x3a4]
push dword [ebp + 0x3a0]
call fcn.00424830
add esp, 0x18
test al, al
je 0x424bda
mov byte [ebp - 0x6d], 1
push dword [ebp - 0x74]
call fcn.00439c96
pop ecx
push dword [ebp - 0x7c]
call fcn.00439c96
pop ecx
jmp 0x424bf5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp + 0x394]
mov al, byte [ebp - 0x6d]
pop edi
pop esi
call fcn.00439ccc
add ebp, 0x398
leave
ret
Function at 0x4256a5
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4260e3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
je 0x426196
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 2]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call esi
test eax, eax
setne al
cmp al, bl
je 0x426195
cmp dword [ebp - 8], 1
jne 0x426156
cmp byte [ebp - 2], bl
je 0x426156
inc dword [ebp - 0xc]
push ebx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 2]
push eax
push dword [ebp + 8]
call esi
test eax, eax
setne al
cmp al, bl
jne 0x42612f
cmp al, bl
je 0x426195
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
je 0x426195
mov edi, dword [ebp - 0xc]
inc edi
push edi
call fcn.0043abe2
pop ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ecx], eax
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x426192
cmp dword [ebp - 8], edi
mov byte [ebp - 1], 1
je 0x426195
mov byte [ebp - 1], bl
pop esi
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret

Function at 0x4261ef
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42623f
push ebx
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42623f
cmp dword [ebp - 8], 2
jne 0x42623f
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov bl, 1
mov al, bl
pop ebx
leave
ret
Function at 0x42924e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
push dword [esi + 0x154]
mov byte [ebp - 1], 0
call fcn.0043abdd
xor edi, edi
cmp dword [ebp + 8], edi
pop ecx
mov dword [esi + 0x154], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x14c], edi
je 0x4293ba
push ebx
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4293b9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esi + 4]
mov dword [ebp + 8], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
test al, al
je 0x4293b2
mov edx, dword [esi + 0x68]
sub edx, 0x40
lea ecx, [esi + 0x6c]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 4]
test al, al
je 0x4293b2
lea ecx, [esi + 0x80]
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
test al, al
je 0x4293b2
push dword [esi + 0x11c]
lea ecx, [esi + 0x120]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x48]
test al, al
je 0x4293b2
lea eax, [esi + 0x120]
push eax
push dword [esi + 0x94]
lea edi, [esi + 0x134]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0xc]
test al, al
je 0x4293b2
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x14]
test al, al
je 0x4293b2
mov edi, dword [esi + 0x130]
jmp 0x429351
mov eax, dword [edi]
push esi
push ebx
mov ecx, edi
call dword [eax + 4]
test al, al
je 0x4293c3
mov edi, dword [edi + 4]
test edi, edi
jne 0x429341
push 1
push edi
push edi
push ebx
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4293b2
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], ecx
je 0x4293ae
push ecx
call fcn.0043abe2
and dword [ebp + 8], edi
pop ecx
push edi
lea ecx, [ebp + 8]
push ecx
push dword [esi + 0x150]
mov dword [esi + 0x154], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4293c3
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x150]
jne 0x4293c3
mov byte [ebp - 1], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret 4
mov byte [ebp - 1], 0
jmp 0x4293b2

Function at 0x42977a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
jne 0x4297a1
push 0x45f390
lea ecx, [ebp - 0xc]
call fcn.0043ac5c
push 0x45c080
lea eax, [ebp - 0xc]
push eax
call fcn.0043ac11
push esi
xor esi, esi
cmp dword [ecx + 0x3cc], esi
jle 0x4297c3
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
xor byte [eax], dl
inc edi
inc eax
inc esi
cmp esi, dword [ecx + 0x3cc]
jl 0x4297b3
pop edi
pop esi
leave
ret 8
Function at 0x42a897
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46059c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], 0x37
mov byte [ebp - 0xc], 0x38
mov byte [ebp - 0xb], 0x39
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x42
mov byte [ebp - 8], 0x43
mov byte [ebp - 7], 0x44
mov byte [ebp - 6], 0x45
mov byte [ebp - 5], 0x46
call fcn.00439ce0
inc eax
push eax
call fcn.0043abe2
mov ebx, eax
push edi
push ebx
call fcn.00439d80
xor esi, esi
push ebx
mov dword [ebp + 8], esi
call fcn.00439ce0
add esp, 0x14
test eax, eax
jbe 0x42a97d
mov eax, dword [ebp + 8]
mov al, byte [eax + ebx]
cmp al, 0x41
jb 0x42a921
cmp al, 0x5a
jbe 0x42a96a
cmp al, 0x61
jb 0x42a929
cmp al, 0x7a
jbe 0x42a96a
cmp al, 0x30
jb 0x42a931
cmp al, 0x39
jbe 0x42a96a
cmp al, 0x2d
je 0x42a96a
cmp al, 0x5f
je 0x42a96a
cmp al, 0x2e
je 0x42a96a
cmp al, 0x2a
je 0x42a96a
cmp al, 0x20
jne 0x42a94b
mov byte [esi + edi], 0x2b
jmp 0x42a96d
movzx eax, al
mov ecx, eax
shr ecx, 4
mov cl, byte [ebp + ecx - 0x14]
mov byte [esi + edi], 0x25
inc esi
mov byte [esi + edi], cl
cdq
push 0x10
pop ecx
inc esi
idiv ecx
mov al, byte [ebp + edx - 0x14]
mov byte [esi + edi], al
inc esi
inc dword [ebp + 8]
push ebx
call fcn.00439ce0
cmp dword [ebp + 8], eax
pop ecx
jb 0x42a913
push ebx
mov byte [esi + edi], 0
call fcn.0043abdd
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00439ccc
leave
ret

Function at 0x42b18a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, 0x3e8
div ecx
shr eax, 0xa
leave
ret
Function at 0x42b2c4
Capabilities:
Check os version

Disassembly:
mov eax, 0x44c56b
call fcn.0043a534
sub esp, 0xbc
mov eax, dword [0x46059c]
push ebx
push esi
push edi
mov esi, ecx
push str.Microsoft_Windows
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.0040305a
mov edi, 0x9c
xor ebx, ebx
push edi
lea eax, [ebp - 0xc8]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043b3e0
add esp, 0xc
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call edi
test eax, eax
jne 0x42b34d
lea eax, [ebp - 0xc8]
push eax
mov dword [ebp - 0xc8], 0x94
call edi
test eax, eax
jne 0x42b34d
push str.Unknown
mov ecx, esi
call fcn.00402fda
mov dword [esi + 0x1c], ebx
jmp 0x42b410
mov eax, dword [ebp - 0xb8]
sub eax, ebx
je 0x42b4fa
dec eax
je 0x42b449
dec eax
jne 0x42b3f9
cmp dword [ebp - 0xc4], 4
ja 0x42b37f
push str._NT
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
push 6
pop edi
push 5
pop ebx
cmp dword [ebp - 0xc4], ebx
jne 0x42b3cb
cmp dword [ebp - 0xc0], 0
jne 0x42b3ae
push str._2000
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
cmp dword [ebp - 0xc4], ebx
mov dword [esi + 0x20], edi
jne 0x42b3cb
cmp dword [ebp - 0xc0], 1
jne 0x42b3f7
push str._XP
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
mov dword [esi + 0x20], 7
cmp dword [ebp - 0xc4], edi
jne 0x42b3e7
push str._Vista
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
mov dword [esi + 0x20], 8
push 4
pop eax
cmp dword [ebp - 0xc4], eax
ja 0x42b3f7
jne 0x42b432
mov dword [esi + 0x20], ebx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00402e09
mov eax, dword [ebp - 0xbc]
mov dword [esi + 0x1c], eax
push ebx
lea ecx, [ebp - 0x2c]
push 1
call fcn.00402673
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00439ccc
leave
ret
cmp dword [ebp - 0xc4], 3
jne 0x42b3f7
cmp dword [ebp - 0xc0], 0x33
jne 0x42b3f7
mov dword [esi + 0x20], eax
jmp 0x42b3f7
cmp dword [ebp - 0xc4], 4
jne 0x42b3f9
cmp dword [ebp - 0xc0], ebx
jne 0x42b49c
push str._95
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
cmp byte [ebp - 0xb3], 0x43
lea ecx, [ebp - 0x2c]
jne 0x42b47a
push str.OSR2
jmp 0x42b48f
push dword [ebp - 0xb3]
push 1
call fcn.004197e3
push 0x44edd0
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
mov dword [esi + 0x20], ebx
jmp 0x42b3f9
cmp dword [ebp - 0xc0], 0xa
jne 0x42b4d4
push str._98
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
cmp byte [ebp - 0xb3], 0x41
jne 0x42b4c8
push 0x4560c4
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
mov dword [esi + 0x20], 1
jmp 0x42b3f9
cmp dword [ebp - 0xc0], 0x5a
jne 0x42b3f9
push str._Me
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
mov dword [esi + 0x20], 2
jmp 0x42b3f9
push str._Win32s
lea ecx, [ebp - 0x2c]
call fcn.00402fbd
mov dword [esi + 0x20], 3
jmp 0x42b3f9