joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.00474020
mov eax, dword [0x4c5cb0]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
ja 0x44f5f7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x44f5f7
cmp dword [esp + 0x88], 0x40000000
ja 0x44f5f7
push ebx
push edi
push eax
call fcn.0040ee80
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.0042bc80
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.0042b860
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.0042ba10
add esp, 0x20
test eax, eax
je 0x44f5d3
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0042ba10
add esp, 0xc
test eax, eax
je 0x44f5d3
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.0042ba10
add esp, 0xc
test eax, eax
je 0x44f5d3
push 0
cmp esi, edi
jb 0x44f59b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0042b7b0
add esp, 0xc
test eax, eax
je 0x44f5d3
sub esi, edi
je 0x44f5cb
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.0042b860
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.0042ba10
add esp, 0x18
test eax, eax
jne 0x44f4e7
jmp 0x44f5d3
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0042b7b0
add esp, 0xc
test eax, eax
je 0x44f5d3
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.00474050
lea eax, [esp + 0x48]
push edi
push eax
call fcn.004095d0
add esp, 0x14
mov dword [esp + 0x14], 1
lea eax, [esp + 0x24]
push eax
call fcn.0042ba20
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00472d2a
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.00472d2a
add esp, 0x70
ret
Function at 0x44f7a0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x44f7b2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.0040ea20
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x44f869
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x44f804
test esi, esi
jle 0x44f848
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
lea ebx, [ebx]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x44f7f0
jmp 0x44f848
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x44f828
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.004746a0
add esp, 0xc
test esi, esi
jle 0x44f848
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x44f836
push esi
push ebp
push ebp
push edi
call fcn.0040ee30
add esp, 0x10
pop ebx
test eax, eax
jne 0x44f869
push esi
push ebp
call fcn.004095d0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x45b7b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.00474020
mov eax, dword [0x4c5cb0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.0042bc80
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0042bae0
add esp, 0xc
test eax, eax
je 0x45b8b2
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0042b7e0
add esp, 0xc
test eax, eax
je 0x45b8b2
lea eax, [esp + 0x20]
push eax
call fcn.0042ba20
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x45b8d0
push edi
call fcn.004414a0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.00436010
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45b8b2
push esi
call fcn.00452120
add esp, 4
test eax, eax
jle 0x45b8b2
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00435db0
add esp, 0x18
test eax, eax
jle 0x45b8b2
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.00452040
add esp, 0x14
test eax, eax
jle 0x45b8b2
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.00435fa0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00472d2a
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x45b8e8
cmp dword [edi], edx
je 0x45b912
inc eax
add ecx, 4
cmp eax, 4
jl 0x45b8d5
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.00408230
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00472d2a
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x45b946
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.00408230
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00472d2a
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00472d2a
add esp, 0x6c
ret
Function at 0x46c710
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x46c727
mov edi, ecx
jmp 0x46c72b
mov edi, ebp
mov ebp, ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x46c73b
mov eax, ebx
jmp 0x46c745
push eax
push ebx
call fcn.0042d2d0
add esp, 8
test eax, eax
jne 0x46c74d
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x46c76b
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x46c755
cmp esi, dword [edi + 4]
jge 0x46c780
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x46c770
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x46c7a4
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x46c7a1
dec ecx
test ecx, ecx
jg 0x46c793
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x4808f3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c5cb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047c93b
mov dword [ebp - 0x14], eax
cmp dword [0x4c9c88], esi
jne 0x4809e6
push 0x800
push esi
push 0x4bd414
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x480973
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x480ac6
push esi
push esi
push 0x4bd414
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x480ac6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x480ac6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4c9c88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4c9c8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4bd45c
push edi
mov dword [0x4c9c90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c9c98], eax
test eax, eax
je 0x4809e3
push 0x4bd478
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c9c94], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x480a0b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4809fe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x480a20
push 4
pop eax
jmp 0x480ac8
cmp dword [ebp - 0x14], esi
je 0x480a20
push dword [0x4c9c88]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x480a05
mov eax, dword [0x4c9c94]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x480a7e
cmp dword [0x4c9c98], edi
je 0x480a7e
push eax
call ebx
push dword [0x4c9c98]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x480a7e
test eax, eax
je 0x480a7e
call ecx
test eax, eax
je 0x480a73
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x480a73
test byte [ebp - 8], 1
jne 0x480a7e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x480aae
mov eax, dword [0x4c9c8c]
cmp eax, edi
je 0x480aab
push eax
call ebx
test eax, eax
je 0x480aab
call eax
mov esi, eax
test esi, esi
je 0x480aab
mov eax, dword [0x4c9c90]
cmp eax, edi
je 0x480aab
push eax
call ebx
test eax, eax
je 0x480aab
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c9c88]
call ebx
test eax, eax
je 0x480ac6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x480ac8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472d2a
mov esp, ebp
pop ebp
ret
Function at 0x401a6c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42914c]
jne 0x401a76
repz ret
jmp fcn.0040251b

Function at 0x40b0ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42914c]
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.00404134
and dword [ebp - 0x14], 0
cmp dword [0x42b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x40b161
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b209
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b209
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42b7e0], eax
call edi
push eax
call esi
mov dword [0x42b7e8], eax
test eax, eax
je 0x40b161
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42b7e4], eax
mov eax, dword [0x42b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b1ba
cmp dword [0x42b7e8], ecx
je 0x40b1ba
push eax
call esi
push dword [0x42b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b1ba
test ebx, ebx
je 0x40b1ba
call edi
test eax, eax
je 0x40b1b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b1b1
test byte [ebp - 8], 1
jne 0x40b1ba
or dword [ebp + 0x10], 0x200000
jmp 0x40b1ed
mov eax, dword [0x42b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40b1ed
push eax
call esi
test eax, eax
je 0x40b1ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b1ed
mov eax, dword [0x42b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40b1ed
push eax
call esi
test eax, eax
je 0x40b1ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42b7d8]
call esi
test eax, eax
je 0x40b209
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b20b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a6c
leave
ret
Function at 0x421f30
Capabilities:
Get geographical location

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jle 0x421fbe
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
cmp dword [esp + 0x18], 0x2d
jne 0x421f7c
push 0
push str.vepamanal_tulesizoxe_yabadodopa_zokorubonoxesiticohub_foyidufumobowebacaxosububonobo
call edi
push str.wuviyakox
push str.yekukefocudovizene
push str.kaluravujokiziduyux
push str.vixuboxituja
call ebx
push 0
call ebp
call fcn.00421e80
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], al
cmp dword [esp + 0x18], 0xf
jne 0x421fb4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str.tigegisipawupesavumefozoj
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x421f52
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc], 0x2d
pop esi
jne 0x421fda
mov dword [0x42c8d0], 0xa62e7790
mov dword [0x42c8d4], 0xffffffff
ret
Function at 0x422380
Capabilities:
Access the windows event log
Set file attributes

Disassembly:
mov eax, dword [0x42c8c4]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov ebp, 0x1519a5
lea esp, [esp]
mov dword [0x42c52c], 0x8e46a7b8
cmp eax, 0x3dc
jne 0x4223ca
push 0
push 0x426f90
call esi
push str.rusokuj
push 0
push 0
call edi
mov eax, dword [0x42c8c4]
dec ebp
jne 0x4223a0
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
xor esi, esi
mov ebp, 0xec58acac
lea ebx, [ebx]
cmp eax, 0x997
jne 0x4223f2
push 0
push 0
call edi
mov eax, dword [0x42c8c4]
cmp esi, 0x846373
jne 0x422409
mov eax, dword [0x42aad0]
add eax, 0xa231
mov dword [0x42c8c4], eax
cmp eax, 0x141
jne 0x422420
mov dword [0x42bd18], ebp
mov dword [0x42bd1c], 0xffffffff
inc esi
cmp esi, 0x123c962
jl 0x4223e0
call fcn.00422020
pop edi
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x53ea0824
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x21194ff8
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10cc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010cc1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10cc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10cc06a
add dl, dl
jne 0x10cc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10cc0dc
xor eax, eax
add dl, dl
jne 0x10cc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10cc17d
add dl, dl
jne 0x10cc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10cc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10cc075
mov eax, 1
add dl, dl
jne 0x10cc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10cc0e1
sub eax, ebx
mov ebx, 1
jne 0x10cc128
mov ecx, 1
add dl, dl
jne 0x10cc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10cc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10cc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10cc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10cc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10cc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10cc136
cmp eax, 0x7d00
jae 0x10cc16d
cmp eax, 0x500
jb 0x10cc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10cc075
cmp eax, 0x7f
ja 0x10cc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10cc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10cc19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10cc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4057a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x476dbb
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.0046bce8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405822
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00469c37
mov eax, dword [eax]
push 0x48d1c0
push eax
call fcn.0045c944
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046bf73
test bl, bl
je 0x405822
push 0x48d1c0
lea ecx, [esp + 0xc]
call fcn.0046c303
push 0x490d0c
lea ecx, [esp + 0xc]
call fcn.0046c303
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 0x40585e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046bf73
jmp 0x405929
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 0x4058e2
lea edx, [esp + 0x7c]
push 0x490d08
push edx
call fcn.0045c944
add esp, 8
test eax, eax
je 0x4058e2
lea eax, [esp + 0x7c]
push 0x490d04
push eax
call fcn.0045c944
add esp, 8
test eax, eax
je 0x4058e2
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 0x405872
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.0046bf73
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 0x406120
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 0x406182
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