joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20847c6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1002d020]
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
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea ecx, [ebp - 0x113]
push ebx
push ecx
mov dword [ebp - 0x150], eax
mov byte [ebp - 0x114], bl
call fcn.02088d06
add esp, 0xc
push 0x104
lea edx, [ebp - 0x114]
push edx
push ebx
call dword [0x1002301c]
mov esi, 0xf
lea eax, [ebp - 0x114]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x208484d
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x14c]
call fcn.02081816
push 7
push 0x1002352c
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.02081816
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x20848ec
dec eax
jne 0x2084946
mov esi, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x120]
cmp esi, edi
jb 0x2084946
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x20848c7
lea eax, [ebp - 0x130]
push edi
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x14c]
call fcn.02084736
sub esi, edi
cmp eax, esi
jne 0x2084946
mov ecx, dword [ebp - 0x150]
push ebx
push ebx
push ecx
push 0x10006590
jmp 0x2084934
mov esi, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x120]
cmp esi, edi
jb 0x2084946
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x2084911
lea eax, [ebp - 0x130]
push edi
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x14c]
call fcn.02084736
sub esi, edi
cmp eax, esi
jne 0x2084946
mov edx, dword [ebp - 0x150]
push ebx
push ebx
push edx
push 0x100065b0
push ebx
push ebx
call fcn.02089bf1
add esp, 0x18
push 0x64
call dword [0x10023060]
mov esi, 0x10
cmp dword [ebp - 0x11c], esi
jb 0x2084962
mov eax, dword [ebp - 0x130]
push eax
call fcn.02088ffa
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
cmp dword [ebp - 0x138], esi
jb 0x208498f
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.02088ffa
add esp, 4
mov eax, 1
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.02088cf7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x20849b6
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1002d020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, 1
push esi
push edi
mov dword [ebp - 0x210], eax
test byte [0x1002eb28], bl
jne 0x20849f5
or dword [0x1002eb28], ebx
mov esi, 0xe
mov dword [0x1002eb24], esi
jmp 0x20849fb
mov esi, dword [0x1002eb24]
push 0x101
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.02088d06
push 0x101
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.02088d06
add esp, 0x18
xor eax, eax
mov byte [ebp + eax - 0x108], al
add eax, ebx
cmp eax, 0x100
jb 0x2084a26
mov edi, dword [ebp + 0x14]
xor eax, eax
xor ecx, ecx
test edi, edi
je 0x2084a66
mov esi, dword [ebp + 0x10]
mov edi, edi
cmp eax, edi
jne 0x2084a4c
xor eax, eax
mov dl, byte [eax + esi]
mov byte [ebp + ecx - 0x20c], dl
add ecx, ebx
add eax, ebx
cmp ecx, 0x100
jb 0x2084a46
jmp 0x2084a85
cmp eax, esi
jne 0x2084a6c
xor eax, eax
mov dl, byte [eax + 0x10023534]
mov byte [ebp + ecx - 0x20c], dl
add ecx, ebx
add eax, ebx
cmp ecx, 0x100
jb 0x2084a66
xor ecx, ecx
xor eax, eax
jmp 0x2084a96
mov dl, byte [ebp + eax - 0x108]
movsx esi, byte [ebp + eax - 0x20c]
movsx edi, dl
add ecx, esi
add ecx, edi
and ecx, 0xff
mov bl, byte [ebp + ecx - 0x108]
mov byte [ebp + eax - 0x108], bl
inc eax
mov byte [ebp + ecx - 0x108], dl
cmp eax, 0x100
jb 0x2084a96
xor eax, eax
xor edi, edi
xor esi, esi
cmp dword [ebp + 0xc], eax
jbe 0x2084b38
mov edx, dword [ebp - 0x210]
lea ebx, [ebx]
inc esi
and esi, 0xff
mov cl, byte [ebp + esi - 0x108]
movsx ebx, cl
add edi, ebx
and edi, 0xff
mov bl, byte [ebp + edi - 0x108]
mov byte [ebp + esi - 0x108], bl
mov byte [ebp + edi - 0x108], cl
movsx ebx, byte [ebp + esi - 0x108]
movsx ecx, cl
add ecx, ebx
and ecx, 0xff
movzx ecx, byte [ebp + ecx - 0x108]
xor byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0xc]
jb 0x2084ae6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.02088cf7
mov esp, ebp
pop ebp
ret 0x10

Function at 0x20873b6
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x20873cb
xor eax, eax
jmp 0x2087440
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x20873f8
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x208743b
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x2087439
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x2087435
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x2087439
xor eax, eax
jmp 0x2087440
jmp 0x20873ef
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x2c4e010
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe8a000]
push edi
or ebp, 0xffffffff
jmp 0x2c4e032
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x2c4e039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2c4e028
mov eax, 1
add ebx, ebx
jne 0x2c4e04b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x2c4e05c
jne 0x2c4e07b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2c4e07b
dec eax
add ebx, ebx
jne 0x2c4e068
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x2c4e040
add ebx, ebx
jne 0x2c4e077
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x2c4e0cd
xor ecx, ecx
sub eax, 3
jb 0x2c4e093
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x2c4e102
sar eax, 1
mov ebp, eax
jmp 0x2c4e09e
add ebx, ebx
jne 0x2c4e09e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2c4e06c
inc ecx
add ebx, ebx
jne 0x2c4e0ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2c4e06c
add ebx, ebx
jne 0x2c4e0b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x2c4e0ae
jne 0x2c4e0ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x2c4e0ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x2c4e0ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x2c4e0de
jmp 0x2c4e02e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x2c4e0ec
add edi, ecx
jmp 0x2c4e02e
pop esi
mov edi, esi
mov ecx, 0x3aa13
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x2c4e10a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x2c4e10f
lea edi, [esi + 0x2041000]
mov eax, dword [edi]
or eax, eax
je 0x2c4e180
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x206f114]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x206f238]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x2c4e135
mov ecx, edi
jns 0x2c4e164
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 + 0x206f240]
or eax, eax
je 0x2c4e17a
mov dword [ebx], eax
add ebx, 4
jmp 0x2c4e152
call dword [esi + 0x206f23c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x2c4e1ba
cmp al, 0xef
ja 0x2c4e1a4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x2c4e186
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x2c4e193
mov eax, dword [edi]
add edi, 4
jmp 0x2c4e193
mov ebp, dword [esi + 0x206f244]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x2c4e1ee
sub esp, 0xffffff80
jmp 0x1307f9e
Function at 0x402063
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x404364], eax
je 0x402085
cmp dword [0x404364], ebx
jne 0x402119
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x404364
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x404364
push 4
push edi
mov dword [0x404364], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x404364]
not eax
mov dword [0x406018], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402349
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4048c8
call fcn.00402ab4
push 1
call fcn.00402611
pop ecx
test al, al
jne 0x4021f2
push 7
call fcn.0040287f
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004025dc
mov byte [ebp - 0x24], al
mov eax, dword [0x40641c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4021eb
test eax, eax
jne 0x40225c
mov dword [0x40641c], ecx
push 0x40416c
push 0x40415c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40223f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402343
push 0x404158
push 0x404150
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40641c], 2
jmp 0x402261
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040276e
pop ecx
call fcn.00402873
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402291
push esi
call fcn.004026e1
pop ecx
test al, al
je 0x402291
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00402aae
call esi
call fcn.00402879
mov esi, eax
cmp dword [esi], edi
je 0x4022af
push esi
call fcn.004026e1
pop ecx
test al, al
je 0x4022af
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00402994
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004029c7
test al, al
jne 0x4022e8
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x4022f1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040278b
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x402343
call fcn.00402afa
ret
call fcn.00402063
jmp 0x4021d3
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov edx, 5
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x401071
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4010a8
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x20
jle 0x4010a6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4010a8
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x401360
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x104
lea eax, [ebp - 0x208]
push eax
push str._systemdrive_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x208]
push ecx
push str._sProgram_Files__x86_
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4013b1
mov al, 1
jmp 0x4013b3
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4013c0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s_roapalr.jpg
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401413
xor al, al
jmp 0x40144d
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40144b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x32452f19
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x15cd014b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x420b4b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b8a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b8a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b8a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b8a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b8a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43332d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403a69
nop
nop
sub eax, 0x403a0f
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
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x23c
mov esi, dword [esp + 0x254]
mov ebx, dword [esp + 0x250]
xor eax, eax
cmp byte [0x44a518], 0
sete al
jmp dword [eax*4 + 0x445458]

Function at 0x403180
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 0x403260
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x403260
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4031ca
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4031d1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4031b0
jmp 0x4031d3
mov esi, 0x1505
jmp 0x4031d3
mov esi, ecx
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 0x403260
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x403204
inc edi
dec ebx
je 0x40325e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40325e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x403200
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.00409e20
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x403200
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.00409e40
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x403200
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x403260
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403270
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x403371
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403371
push ebx
call fcn.00409e20
add esp, 4
test eax, eax
je 0x4032ca
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4032d1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4032b0
jmp 0x4032d3
mov esi, 0x1505
jmp 0x4032d3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x403371
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403304
inc ebp
dec ebx
je 0x40336f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40336f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403300
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409e20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403300
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409e40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403300
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40336f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x403371
mov edi, dword [eax + 8]
jmp 0x403371
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4033a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x40340b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40340b
push esi
call fcn.00409e20
add esp, 4
test eax, eax
je 0x4033ea
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4033f1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4033d0
jmp 0x4033f3
mov ebp, 0x1505
jmp 0x4033f3
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x403417
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403434
inc ebx
dec edi
je 0x40340b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40340b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x403430
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409e20
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x403430
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00409e40
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x403430
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40340b
cmp dword [eax + 4], 3
jne 0x40340b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40340b
Function at 0x4034d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x4035d1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4035d1
push ebx
call fcn.00409e20
add esp, 4
test eax, eax
je 0x40352a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403531
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x403510
jmp 0x403533
mov esi, 0x1505
jmp 0x403533
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x4035d1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403564
inc ebp
dec ebx
je 0x4035cf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4035cf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403560
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409e20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403560
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409e40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403560
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4035cf
cmp dword [eax + 4], 5
mov edi, 0
jne 0x4035d1
mov edi, dword [eax + 8]
jmp 0x4035d1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret