joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f8c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
push ebx
push esi
push edi
test eax, eax
je 0x1000f9d0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000f9d0
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x1000f9d0
cmp dword [ecx], 0x4550
jne 0x1000f9d0
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
xor eax, eax
cmp edi, 0xffffffff
cmove edi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000f91d
mov eax, dword [ecx + 0x50]
mov dword [ebp - 8], eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f922
sub ecx, esi
mov dword [ebp - 4], edx
xor esi, esi
lea eax, [ecx + edx]
mov dword [ebp - 0x10], eax
cmp edx, eax
jae 0x1000f989
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov eax, edx
cmp byte [edx], 0x3f
jne 0x1000f959
lea edx, [eax + 1]
mov dword [ebp - 4], edx
cmp byte [edx], 0x3f
jne 0x1000f953
inc edx
xor bl, bl
xor al, al
jmp 0x1000f96a
push 0x10
lea eax, [ebp - 4]
mov bl, 1
push eax
push edx
call edi
mov edx, dword [ebp - 4]
add esp, 0xc
mov byte [esi + 0x108c0700], al
lea ecx, [esi + 1]
inc edx
mov byte [esi + 0x108c0b00], bl
mov eax, edx
mov dword [ebp - 4], edx
mov esi, ecx
cmp edx, dword [ebp - 0x10]
jb 0x1000f942
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
sub ebx, esi
cmp edi, ebx
jae 0x1000f9d0
mov edx, dword [ebp - 0xc]
add edx, edi
xor eax, eax
test esi, esi
je 0x1000f9b9
nop dword [eax]
mov cl, byte [eax + 0x108c0700]
cmp cl, byte [edx + eax]
je 0x1000f9b4
cmp byte [eax + 0x108c0b00], 1
je 0x1000f9ca
inc eax
cmp eax, esi
jb 0x1000f9a0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, edi
add eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
inc edx
cmp edi, ebx
jb 0x1000f997
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f9e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1000fa13
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x1000fa20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000fa13
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4021ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0040230f
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x48], 0x30
and dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x401ed4
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov eax, dword [section..data]
mov dword [ebp - 0x34], eax
push 0x74
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x30], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], str.MyClass
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [section..data]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Hello_World
push str.MyClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 8], eax
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4022ec
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4022cc
push dword [ebp - 4]
call sub.gdiplus.dll_GdiplusShutdown
leave
ret
Function at 0x40b15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40b168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40b14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40b145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40b145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x41d940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x41d95a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d950
mov eax, 1
add ebx, ebx
jne 0x41d973
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d968
jne 0x41d984
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d968
xor ecx, ecx
sub eax, 3
jb 0x41d998
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41da0a
mov ebp, eax
add ebx, ebx
jne 0x41d9a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d9b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d9d4
inc ecx
add ebx, ebx
jne 0x41d9c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d9b5
jne 0x41d9d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d9b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d9f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d9e5
jmp 0x41d956
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d9f4
add edi, ecx
jmp 0x41d956
pop esi
mov edi, esi
mov ecx, 8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41da12
cmp byte [edi], 1
jne 0x41da12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41da17
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41da8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d8bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d8f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41da44
mov ecx, edi
jns 0x41da73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d900]
or eax, eax
je 0x41da89
mov dword [ebx], eax
add ebx, 4
jmp 0x41da61
call dword [esi + 0x1d8fc]
mov ebp, dword [esi + 0x1d904]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41dac3
sub esp, 0xffffff80
jmp 0x40115c
Function at 0x401370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x451688]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x130], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xffffffff
jne 0x4013ca
push 0x4014b0
push str.CreateToolhelp32Snapshot_
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401db0
xor al, al
jmp 0x4014a2
mov byte [ebp - 1], 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401492
mov eax, dword [ebp - 0x134]
add eax, 0x24
push eax
push 0x104
lea ecx, [ebp - 0x240]
push ecx
call fcn.00424d08
add esp, 0xc
lea edx, [ebp - 0x240]
mov dword [ebp - 0x244], edx
jmp 0x401430
mov eax, dword [ebp - 0x244]
add eax, 1
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
movsx edx, byte [ecx]
test edx, edx
je 0x401459
mov eax, dword [ebp - 0x244]
movsx ecx, byte [eax]
push ecx
call fcn.00424ce1
add esp, 4
mov edx, dword [ebp - 0x244]
mov byte [edx], al
jmp 0x401421
push str.360safe.exe
lea eax, [ebp - 0x240]
push eax
call fcn.00424ac0
add esp, 8
test eax, eax
jne 0x401477
mov byte [ebp - 1], 1
jmp 0x401492
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4013f5
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042415d
mov esp, ebp
pop ebp
ret

Function at 0x4014d0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40152b
push 0x4014b0
mov ecx, dword [ebp - 8]
push ecx
push 0x4407e0
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401dd0
mov ecx, eax
call fcn.00401db0
xor al, al
jmp 0x4015a3
mov ecx, dword [ebp + 0xc]
call fcn.00404d10
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00401d90
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.00401d90
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401597
push 0x4014b0
mov eax, dword [ebp - 8]
push eax
push 0x4407c0
push 0x4556e0
call fcn.00403810
add esp, 8
mov ecx, eax
call fcn.00401dd0
mov ecx, eax
call fcn.00401db0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4015a3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40c1e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x40c205
cmp dword [edi + 0x54], 0
jne 0x40c205
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00414a1b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040c1ac
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x40c6f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40c73d
call fcn.00414a1b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c73d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40c780
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40c769
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40c769
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40c77d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x412384
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4123c7
call fcn.00414a1b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4123c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4123e2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00411f3b
test ebx, ebx
mov esi, eax
je 0x4123e0
test edi, edi
je 0x4123e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x414fc8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x414ff6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415014
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00414f32
jmp 0x415014
mov eax, dword [esi + 0x14]
test eax, eax
je 0x415014
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00414f32
test edi, edi
mov eax, edi
jne 0x414ffe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x454904]
test ecx, ecx
je 0x4150d7
jmp 0x414fc7
ret 8

Function at 0x42415d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451688]
jne 0x424167
repz ret
jmp fcn.0042a1ac
Function at 0x432767
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00429bf2
xor ebx, ebx
cmp dword [0x455610], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43283c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4327a7
xor eax, eax
jmp 0x432900
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x444538
push edi
call esi
cmp eax, ebx
je 0x4327a0
push eax
call fcn.00429b8f
mov dword [esp], 0x444528
push edi
mov dword [0x455610], eax
call esi
push eax
call fcn.00429b8f
mov dword [esp], 0x444514
push edi
mov dword [0x455614], eax
call esi
push eax
call fcn.00429b8f
mov dword [0x455618], eax
lea eax, [ebp - 8]
push eax
call fcn.00425dd3
test eax, eax
pop ecx
pop ecx
je 0x43280a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00425115
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43283c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00429b8f
cmp eax, ebx
pop ecx
mov dword [0x455620], eax
je 0x43283c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00429b8f
pop ecx
mov dword [0x45561c], eax
mov eax, dword [0x45561c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4328b5
cmp dword [0x455620], esi
je 0x4328b5
push eax
call fcn.00429bfb
pop ecx
call eax
cmp eax, ebx
je 0x432882
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x455620]
call fcn.00429bfb
pop ecx
call eax
test eax, eax
je 0x432882
test byte [ebp - 0x18], 1
jne 0x4328b5
lea eax, [ebp - 0xc]
push eax
call fcn.00425e0a
test eax, eax
pop ecx
je 0x43289d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00425115
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4328ac
or dword [ebp + 0x10], 0x200000
jmp 0x4328e6
or dword [ebp + 0x10], 0x40000
jmp 0x4328e6
mov eax, dword [0x455614]
cmp eax, esi
je 0x4328e6
push eax
call fcn.00429bfb
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4328e6
mov eax, dword [0x455618]
cmp eax, esi
je 0x4328e6
push dword [ebp - 4]
push eax
call fcn.00429bfb
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 [0x455610]
call fcn.00429bfb
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b809
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x451688]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043b79e
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 fcn.004256c0
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 0x43b858
cmp dword [ebp - 0x1c], 5
jb 0x43b870
jmp 0x43b86c
cmp dword [ebp - 0x10], 1
jne 0x43b870
cmp dword [ebp - 0x1c], 4
ja 0x43b86c
jne 0x43b870
cmp dword [ebp - 0x18], 0
jbe 0x43b870
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x446730
call fcn.0043b68f
test eax, eax
jge 0x43b891
mov byte [0x452cc0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042415d
add ebp, 0x78
leave
ret
Function at 0x512f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbe000]
push edi
jmp 0x512f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x512f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512f80
mov eax, 1
add ebx, ebx
jne 0x512fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x512fb4
jne 0x512fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512fd3
dec eax
add ebx, ebx
jne 0x512fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x512f98
add ebx, ebx
jne 0x512fcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x513025
xor ecx, ecx
sub eax, 3
jb 0x512feb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51305a
sar eax, 1
mov ebp, eax
jmp 0x512ff6
add ebx, ebx
jne 0x512ff6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512fc4
inc ecx
add ebx, ebx
jne 0x513004
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512fc4
add ebx, ebx
jne 0x513011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x513006
jne 0x513022
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x513006
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x513044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x513036
jmp 0x512f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x513044
add edi, ecx
jmp 0x512f86
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x513062
cmp byte [edi], 0x11
jne 0x513062
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x513067
lea edi, [esi + 0x10b000]
mov eax, dword [edi]
or eax, eax
je 0x5130df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14dd00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14de7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x513094
mov ecx, edi
jns 0x5130c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14de80]
or eax, eax
je 0x5130d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5130b1
call dword [esi + 0x14de90]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x513110
cmp al, 0xef
ja 0x513103
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5130e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5130f2
mov ebp, dword [esi + 0x14de84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x513144
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x571790
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x571860
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x571860
mov ebp, dword [esp + 0x28]
mov esi, 0x1505
test ebp, ebp
je 0x5717dd
xor edi, edi
nop
movzx ecx, byte [ebx + edi]
test ecx, ecx
je 0x5717dd
mov edx, esi
shl edx, 5
add edx, esi
mov esi, edx
and esi, ecx
xor edx, ecx
lea esi, [edx + esi*2]
inc edi
cmp ebp, edi
jne 0x5717c0
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x571860
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x571804
inc edi
dec ebx
je 0x57185e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x57185e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x571800
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.005791a0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x571800
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.005791c0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x571800
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x571860
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret