joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404252
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040173c
mov dword [ebp - 0x14], eax
cmp dword [0x40db48], edi
jne 0x404343
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4042d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x404423
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x404423
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404423
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x40db48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x40db4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x40db50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x40db58], eax
test eax, eax
je 0x404340
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x40db54], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x404368
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40435b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40437d
push 4
pop eax
jmp 0x404425
cmp dword [ebp - 0x14], edi
je 0x40437d
push dword [0x40db48]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x404362
mov eax, dword [0x40db54]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4043db
cmp dword [0x40db58], esi
je 0x4043db
push eax
call ebx
push dword [0x40db58]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4043db
test eax, eax
je 0x4043db
call ecx
test eax, eax
je 0x4043d0
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 0x4043d0
test byte [ebp - 8], 1
jne 0x4043db
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40440b
mov eax, dword [0x40db4c]
cmp eax, esi
je 0x404408
push eax
call ebx
test eax, eax
je 0x404408
call eax
mov edi, eax
test edi, edi
je 0x404408
mov eax, dword [0x40db50]
cmp eax, esi
je 0x404408
push eax
call ebx
test eax, eax
je 0x404408
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x40db48]
call ebx
test eax, eax
je 0x404423
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x404425
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401373
leave
ret
Function at 0x103265f7
Capabilities:
Encode data using xor

Disassembly:
xchg ecx, eax
das
mov eax, 0x1aedcc4b
setae byte [edx + 0x75270641]
cmpsb byte [esi], byte es:[edi]
loope 0x101dad9e
movsb byte es:[edi], byte [esi]
dec ecx
xchg esi, eax
shl byte [ecx + 0x54], 0x87
adc al, cl
sub al, 0xf3
mov ah, 0xcf
xchg byte [ebx], ah
pop ss
invalid
sub ecx, dword [edx + 0x7895cf38]
stosd dword es:[edi], eax
dec esi
dec esi
sub byte [edx], dl
lds ebp, [eax]
insb byte es:[edi], dx
invalid
out 8, eax
mov esp, 0xef5aea92
fdiv dword [edx + ecx*2 + 0x26]
sahf
sahf
mov bl, 0x34
test byte [edx - 0x4d9673bd], ah
aas
mov eax, 0x8c0f9a75
popal
mov esi, 0xae51bc33
jnp 0x101dad11
or al, 0x1c
in al, 0xa3
add al, 0x60
mov dword [0xbeb03493], eax
push 2
sub esp, dword [eax + ecx - 0x5411c1ca]
jl 0x101dad67
enter 0xffffffffffffa2e6, 0x2a
out 0xa2, al
sub cl, byte [ecx - 0x7f]
aam 0xa
add byte [eax], al
add al, ch
scasb al, byte es:[edi]
add bl, byte [eax]
add dh, dh
dec esi
mov ebp, 0x99129770
jl 0x101dad3e
dec ecx
adc esp, 0xa
call 0x1035b05c
test byte [esi - 0x43], 0x70
xchg edi, eax
adc bl, byte [ecx - 0x4a957884]
push 0xffffffffffffffb5
pushal
adc dword [esi], 0xffffffc5
push eax
rcl dword [esi], cl
std
push 0x5d4f9ffb
sub ecx, esp
dec eax
mov dword [0x46c66ea4], eax
jno 0x101dad71
invalid
rcl dword [esi], 0x9b
adc al, 0x81
add dl, bh
xor al, 0xd1
sub ah, bh
add ch, ch
adc dh, byte [esi - 0x7f]
les ebp, [ebx + 0x2b]
push 0x5ad5d383
rol byte [0xa45fba41], 0x41
mov edx, 0xfec83383
dec ebx
mov al, 0x55
scasb al, byte es:[edi]
fisubr dword [edx]
pop es
xor byte [edx + ebx], 0x3e
test bh, 0x58
xor dh, 0xfa
add bh, byte [edi - 0x68]
cmp bh, byte fs:[edx - 0x547cf0c4]
jae 0x101dada2
jae 0x101dada2
invalid
call fcn.10367736
mov eax, dword [0xc42be601]
push ecx
sub byte [edi - 0x50], 0x3d
outsd dx, dword [esi]
mov al, 0x3d
mov edx, 0xb251845f
daa
mov ah, 0x51
stosb byte es:[edi], al
inc edi
mov eax, 0xd988c6b8
mov byte es:[0x2c6e8b68], al
pushal
test al, 0xd5
xor bh, byte [edx - 0x54]
aam 0x64
jns 0x10326603
jb 0x10326673
or byte [eax - 0x769bd0b], al
mov byte [0x9340d522], al
jle 0x103265b5
mov edi, 0x9f0c996a
adc bl, byte [ebp - 0x56b17c88]
insb byte es:[edi], dx
xchg edi, edx
nop dword [ebx - 0x78]
or al, 0x68
mov ebp, dword [esi + 0x4b]
dec ebx
int3
inc esi
ror dword [ebx + ecx*8 + 7], 0x44
push es
pop edx
or edx, dword [edi - 0x6e88f101]
popal
add esi, dword [ebx - 0x5f0726a2]
xlatb
int 0xe1
imul ecx, dword cs:[eax + 0x62], 0x9310f2b5
push es
test ebx, edx
sub eax, 0x78af4295
in eax, dx
outsb dx, byte [esi]
pop eax
adc ah, cl
ret 0x4d3

Function at 0x1032b2df
Capabilities:
Encode data using xor

Disassembly:
dec eax
sar dword [esp + 0x18], 0xc7
dec ecx
sbb esp, 8
push 0x6fa08289
call fcn.1038b10e
inc cx
dec eax
mov dword [esp], 0xc302b589
dec eax
sar dword [esp], 0x2b
rol cx, 1
dec cx
dec eax
neg dword [esp]
push 0xaa168a21
push 0x1e2e9989
neg cx
push 0xee31378a
inc sp
xor edi, ecx
jmp 0x10321244
Function at 0x1035df86
Capabilities:
Execute syscall

Disassembly:
inc ecx
xor dh, 0xa0
inc ecx
dec dh
inc ebp
xor bh, dh
dec eax
sar dword [esp + 0x28], 0xa0
not dword [esp + 0x12]
dec esi
lea esi, [esp + esi + 0x38]
dec ecx
mov dword [esi], eax
jbe 0x1037e2dc
dec edx
cmp byte [esp + edx*2 - 0x7a804fb7], bl
pop ss
call 0x1c61bda2
pop ecx
mov al, byte [0x68977d27]
in eax, 0xb3
push ecx
fnstenv [eax - 0x6ff658b4]
daa
faddp st(7)
pop ebx
add eax, 0x41df142b
fldenv [edx - 0x3c]
mov ebx, 0xe6df149f
invalid
dec eax
not dword [esp + 0x28]
inc ecx
inc dh
push 0x64270d2d
jmp 0x101d722d
sets byte [esp + 6]
dec eax
lea esp, [esp + 0x38]
jp fcn.1036f44c
sysenter
push ecx
mov dword [esp], 0x8fc224fe
call fcn.1032781e
mov ebx, dword [esp + ebx*4 - 0x67fc]
mov dword [esp + ecx + 0xf], 0xdda0d539
mov dword [esp + ecx*2 - 0xa], ecx
mov edx, dword [esp + ecx*4 + 8]
mov ecx, dword [esp + ecx*8 - 8]
mov dword [esp + 0xc], 0x7f8bb2b1
lea esp, [esp + 0x24]
ret

Function at 0x1036967d
Capabilities:
Get number of processors

Disassembly:
inc ecx
jmp ebx
je 0x101dbdbc
inc ebp
mov byte [esi], cl
setl byte [esp + 9]
jle 0x1031f042
dec eax
lea esp, [esp + 0x10]
jne fcn.1036f44c
not byte [esp + 1]
not edx
dec eax
mov dword [esp + 8], 0xd198e4b4
push 0xc306a5a8
ror edx, 2
inc edx
sar byte [esp + 0x16], 0x64
neg dword [esp + 4]
rol dword [esp + 0x13], 0x59
dec esp
adc ebx, dword [ecx + 0x4c]
mov dword [esp + 0x10], edi
dec eax
not dword [esp + 8]
push 0xec0e4b2f
xor dword [esp + 0x18], edx
push 0x28b2ab9f
sal byte [esp + 0x14], 0x81
inc esp
mov edi, dword [esp + 0xe]
dec esp
mov edi, dword [esp + 0x20]
dec ecx
sbb esp, 8
push 0xc18407b9
push 0x753c231d
dec ecx
mov dword [esp], edx
dec eax
mov dword [esp + 0x30], 0xfb20b4af
call fcn.1038ab46
fisub dword [edx - 0x7f]
lahf
jb 0x1031f067
cmp byte [ebx - 0x28ff12c2], ch
push edx
invalid
inc ecx
neg cl
dec eax
mov dword [esp + 8], 0x8a2963af
call fcn.1032a998
dec esi
lea esi, [esp + esi + 0x10]
dec eax
not dword [esp + 8]
jno 0x101df1da
inc byte [esp + 5]
call fcn.1035fe6e
std
adc byte [edi - 0x5ffd1669], bl
lea esp, [esp + 0xc]
jmp fcn.1037d4e4

Function at 0x1036bc5c
Capabilities:
Encode data using xor

Disassembly:
call fcn.10327f10
mov eax, 0x9e836917
push eax
movzx ecx, al
mov eax, dword [edi + ecx*2 - 0x2e]
push ecx
not cl
mov cl, byte [edi + ecx*8 - 0x73c]
sar word [esp + 5], 0xeb
ja 0x1037bc80

Function at 0x103897ae
Capabilities:
Encode data using xor
Get number of processors

Disassembly:
dec eax
mov dword [esp], 0x7d93749c
dec edx
not byte [esp + 5]
call fcn.1034e98e
inc ecx
xor edx, edi
jmp 0x1031f033
jmp 0x10353a0f
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6f101870
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x42df5f37
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

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

Disassembly:
jmp 0x427b5d
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x427b6e
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00404101
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402a4f
Capabilities:
Query environment variable

Disassembly:
jmp 0x458322
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x458333
pop esi
ret
push ebx
push edi
push esi
call fcn.00458209
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040303a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45835b
push ebx
push esi
push edi
call fcn.00403f94
add esp, 0xc
push 0
call fcn.00404732
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x404011
Capabilities:
Parse pe header

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

Function at 0x4155b8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4155ed
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4155ea
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4155f6
add edx, 0x28
cmp edx, esi
jne 0x4155d8
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4155f3

Function at 0x448d2b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x448d6a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x448d6a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x448d6a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x448d6a
cmp dword [ecx + 0x74], 0xe
jbe 0x448d6a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4560b2
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x485040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4560fd
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00456669
test al, al
jne 0x4560f7
sub edx, 2
cmp edx, edi
jne 0x4560dd
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45611f
lea eax, [edi + 2]
cmp edx, eax
je 0x45611f
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00455cab
add esp, 0x10
jmp 0x456219
push esi
lea ecx, [ebp - 0x255]
call fcn.00456669
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x456162
push dword [ebp - 0x25c]
jmp 0x45610f
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45619f
cmp word [ebp - 0x226], 0
je 0x4561c0
cmp word [ebp - 0x226], ax
jne 0x45619f
cmp word [ebp - 0x224], 0
je 0x4561c0
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00455cab
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x45620c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x456179
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4561f4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x456219
push 0x455591
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403e7c
add esp, 0x10
jmp 0x4561e9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402603
leave
ret

Function at 0x45f9b8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040326f
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45fa27
cmp esi, dword [ebp - 4]
je 0x45fa22
cmp dword [ebp + 0xc], 0
je 0x45fa22
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45f9ff
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0045f3e0
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x45fa29
xor eax, eax
inc eax
jmp 0x45fa29
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x46d2ca
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4873a8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46d30a
cmp byte [ebx], 0xa
jne 0x46d30a
or byte [edi + eax + 0x28], 4
jmp 0x46d30f
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x46d40e
mov dl, byte [eax]
cmp dl, 0x1a
je 0x46d3f1
inc eax
cmp dl, 0xd
je 0x46d33b
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x46d361
cmp eax, ecx
jae 0x46d36f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x46d323
jmp 0x46d40e
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46d3ec
cmp dword [ebp - 0x10], 0
je 0x46d3ec
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4873a8]
test byte [eax + edi + 0x28], 0x48
je 0x46d3c6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46d3b1
mov byte [esi], dl
jmp 0x46d3c2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4873a8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46d40e
cmp byte [ebp - 1], 0xa
jne 0x46d3d5
cmp esi, ebx
jne 0x46d3d5
mov byte [esi], 0xa
jmp 0x46d40d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401654
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46d40e
mov byte [esi], 0xd
jmp 0x46d40d
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4873a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46d40b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46d40e
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46d46a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4873a8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46d4b0
cmp word [ebx], dx
jne 0x46d4b0
or byte [eax + edi + 0x28], 4
jmp 0x46d4b5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x46d618
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x46d5f8
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x46d4f6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46d52c
cmp eax, edx
jae 0x46d53a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x46d4d1
jmp 0x46d618
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46d5f3
cmp dword [ebp - 0x18], 0
je 0x46d5f3
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4873a8]
test byte [eax + edi + 0x28], 0x48
je 0x46d5c9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x46d58d
mov word [esi], cx
jmp 0x46d5c4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4873a8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4873a8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4873a8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x46d618
pop eax
cmp word [ebp - 4], ax
jne 0x46d5d9
cmp esi, ebx
jne 0x46d5d9
mov word [esi], ax
jmp 0x46d615
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401654
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x46d618
push 0xd
pop eax
jmp 0x46d5d4
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4873a8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x46d612
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x46d618
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5d4d5c77
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2485283d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219