joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b2f5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040905d
and dword [ebp - 4], 0
cmp dword [0x42d440], 0
mov ebx, eax
jne 0x40b3a6
push 0x4025c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b457
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4025b4
push edi
call esi
test eax, eax
je 0x40b457
push eax
call fcn.00408feb
mov dword [esp], 0x4025a4
push edi
mov dword [0x42d440], eax
call esi
push eax
call fcn.00408feb
mov dword [esp], 0x402590
push edi
mov dword [0x42d444], eax
call esi
push eax
call fcn.00408feb
mov dword [esp], 0x402574
push edi
mov dword [0x42d448], eax
call esi
push eax
call fcn.00408feb
pop ecx
mov dword [0x42d450], eax
test eax, eax
je 0x40b3a6
push 0x40255c
push edi
call esi
push eax
call fcn.00408feb
pop ecx
mov dword [0x42d44c], eax
mov eax, dword [0x42d44c]
cmp eax, ebx
je 0x40b3fe
cmp dword [0x42d450], ebx
je 0x40b3fe
push eax
call fcn.00409066
push dword [0x42d450]
mov esi, eax
call fcn.00409066
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b3fe
test edi, edi
je 0x40b3fe
call esi
test eax, eax
je 0x40b3f5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b3f5
test byte [ebp - 0xc], 1
jne 0x40b3fe
or dword [ebp + 0x10], 0x200000
jmp 0x40b437
mov eax, dword [0x42d444]
cmp eax, ebx
je 0x40b437
push eax
call fcn.00409066
pop ecx
test eax, eax
je 0x40b437
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b437
mov eax, dword [0x42d448]
cmp eax, ebx
je 0x40b437
push eax
call fcn.00409066
pop ecx
test eax, eax
je 0x40b437
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d440]
call fcn.00409066
pop ecx
test eax, eax
je 0x40b457
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b459
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x752a2cc5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x77a002f3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40f21f
Capabilities:
Encode data using xor

Disassembly:
stosb byte es:[edi], al
or ah, byte [esi + 0x14]
mov cl, 0xca
dec edx
xchg esp, eax
mov byte [eax + 6], bh
out dx, eax
adc dword [ecx + 0x5fccbdbd], esp
sub al, 0xf7
mov bh, 0xbf
scasb al, byte es:[edi]
in al, 0xcf
mov ebx, 0xcc1be5a2
mov dl, 0x60
nop
xor ebx, dword [ecx + 0x60]
wait
xchg edi, eax
push cs
mov cl, 0xae
test byte [esp - 0x4f1ce18e], cl
scasd eax, dword es:[edi]
cmp dword [edi], edi
inc ebx
xchg esp, eax
mov dword [0x5f076b20], eax
sub ch, bh
js 0x40f234
fcmovne st(0), st(7)
add byte [ebx - 0xa], al
mov dword [ecx + 0x4b], ebx
out 0x3f, eax
cmp eax, 0x990e2100
mov byte [0xab87a1c9], al
add byte [ebx + 0x19], dh
xchg ecx, eax
test al, 0x33
mov edi, 0x80fba81
test dword [ebx], 0x5e60b863
mov ebx, 0xe47117d7
int3
Function at 0x431550
Capabilities:
Encode data using xor

Disassembly:
imul dword [ecx + 0x283b3ce4]
imul esp, dword [ecx + 0x25b76bcb], 0xfb170cae
sti
sub edi, dword [edi - 4]
jg 0x43155f
xor al, 0x82
pop eax
or dword [eax], ecx
adc eax, 0xcbb1d072
cld
pushfd
mov ecx, 0x5775abce
pop esp
sbb byte [esi], al
jl 0x431561
push cs
inc esp
mov bl, 0xfa
or cl, byte [edi]
clc
push edx
sbb edi, eax
mov al, 0x51
test al, 0x3a
neg dword [esp + eax*4 - 0x3b4ae78e]
sahf
mov dh, 0x56
leave
or esi, dword [edx + ebx*4]
movsb byte es:[edi], byte [esi]
mov ecx, 0x397c8c08
invalid

Function at 0x4a10cf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
adc al, 0x88
and eax, 0x760e903f
pop ecx
test al, 0x1c
in eax, dx
out dx, eax
push edi
aaa
mov ebx, 0xd573eeb3
or eax, 0xa06ddaaf
mov dl, 0xdc
outsd dx, dword [esi]
cmp ah, byte [edi + edx*8 + 3]
cwde
movsb byte es:[edi], byte [esi]
add byte [esi - 0x4d], 0xc7
invalid

Function at 0x4a19e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1598dd63
clc
outsd dx, dword [esi]
jbe 0x4a1a10
push ebp
or esp, edx
sbb dword [ecx + 0xf0206ea], ecx
cmp cl, byte [ebp - 0x78065adf]
sbb dl, byte [ecx]
inc byte [eax + 0x54]
or eax, ebx
ret 0x909d
and al, 0xef
push ecx
enter 0xffffffffffffd7ca, 0xffffffffffffff97
aam 0x2c
and eax, 0xd62bcde
xchg ecx, eax
cmp ebp, 3
sti

Function at 0x4b2534
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
arpl word [edx + esi + 0x66], sp
add esp, esi
dec esp
add edx, esp
and edx, dword [ebx - 0x31d32bd4]
adc al, 0xc9
invalid
Function at 0x4c38aa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c94a8
cmp edx, dword [eax]
je 0x4c38cc
add eax, 8
inc ecx
cmp eax, 0x4c9538
jl 0x4c38bd
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c94a8]
jne 0x4c39fa
mov eax, dword [0x4cdb9c]
cmp eax, 1
je 0x4c39d4
test eax, eax
jne 0x4c38fd
cmp dword [0x4c93e8], 1
je 0x4c39d4
cmp edx, 0xfc
je 0x4c39fa
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c3934
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c3fc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c41f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c3977
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c41f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c7540
push edi
call fcn.004c59c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c3fc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c3fd0
lea eax, [ebp - 0xa0]
push 0x4c7520
push eax
call fcn.004c3fd0
push dword [esi + 0x4c94ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c3fd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c5934
add esp, 0x2c
pop edi
jmp 0x4c39fa
lea eax, [ebp + 8]
lea esi, [esi + 0x4c94ac]
push 0
push eax
push dword [esi]
call fcn.004c41f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40655a
Capabilities:
Parse pe header

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

Function at 0x41061d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420478
push 0x420470
push str.FlsAlloc
push 0x1e
call fcn.00410506
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410651
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d138]
call esi
jmp 0x410657
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41069b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420488
push 0x420480
push str.FlsGetValue
push 0x20
call fcn.00410506
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4106d2
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4122c3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00411f65

Function at 0x4122ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004120f4
Function at 0x413add
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004066c0
mov eax, dword [0x42a014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00411f3e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x413b1f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x413c7b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041c430
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x42bc88]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00413f03
mov ecx, dword [esi*4 + 0x42bc88]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x413c74
cmp eax, dword [edi + ecx + 0x24]
jne 0x413c74
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x413c74
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00413f03
add esp, 0x14
test edx, edx
jl 0x413c74
jg 0x413bea
test eax, eax
jb 0x413c74
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x413c74
jl 0x413c04
cmp dword [ebp - 0x1008], eax
ja 0x413c74
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x413c22
test ebx, ebx
je 0x413c5b
cmp ecx, edi
jae 0x413c5b
mov al, byte [ecx]
cmp al, 0xd
jne 0x413c3c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x413c48
cmp byte [ecx + 1], 0xa
jne 0x413c48
inc ecx
jmp 0x413c48
movzx eax, al
movsx eax, byte [eax + 0x42a970]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x413c22
cmp edx, ebx
jne 0x413c22
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x413c79
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00405930
leave
ret
Function at 0x4165f4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42a014]
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 0x41663f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00416793
test al, al
jne 0x416639
sub edx, 2
cmp edx, edi
jne 0x41661f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x416661
lea eax, [edi + 2]
cmp edx, eax
je 0x416661
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00416540
add esp, 0x10
jmp 0x41675b
push esi
lea ecx, [ebp - 0x255]
call fcn.00416793
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 0x4166a4
push dword [ebp - 0x25c]
jmp 0x416651
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 0x4166e1
cmp word [ebp - 0x226], 0
je 0x416702
cmp word [ebp - 0x226], ax
jne 0x4166e1
cmp word [ebp - 0x224], 0
je 0x416702
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00416540
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41674e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4166bb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x416736
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41675b
push 0x416370
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041b130
add esp, 0x10
jmp 0x41672b
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.00405930
leave
ret
Function at 0x41a07a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x42bc88]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a0ba
cmp byte [ebx], 0xa
jne 0x41a0ba
or byte [eax + edi + 0x28], 4
jmp 0x41a0bf
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41a1bd
mov al, byte [edx]
cmp al, 0x1a
je 0x41a19f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41a0ee
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41a113
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41a11d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41a0d0
jmp 0x41a1bd
push 0
lea eax, [ebp - 0xc]
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 0x41a19a
cmp dword [ebp - 0xc], 0
je 0x41a19a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x42bc88]
test byte [eax + edi + 0x28], 0x48
je 0x41a174
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41a15f
mov byte [esi], dl
jmp 0x41a170
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x42bc88]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41a1bd
cmp byte [ebp - 1], 0xa
jne 0x41a183
cmp esi, ebx
jne 0x41a183
mov byte [esi], 0xa
jmp 0x41a1bc
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00413f21
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41a1bd
mov byte [esi], 0xd
jmp 0x41a1bc
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x42bc88]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41a1b9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41a1bd
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41a1c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x42bc88]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a209
cmp word [esi], dx
jne 0x41a209
or byte [edi + eax + 0x28], 4
jmp 0x41a20e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41a361
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41a341
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41a250
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41a286
cmp eax, edx
jae 0x41a292
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41a228
jmp 0x41a361
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a33d
cmp dword [ebp - 0x14], 0
je 0x41a33d
mov eax, dword [ebx*4 + 0x42bc88]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41a315
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41a2de
mov word [esi], cx
jmp 0x41a311
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x42bc88]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x42bc88]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x42bc88]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41a361
pop ebx
cmp word [ebp - 4], bx
jne 0x41a326
cmp esi, dword [ebp + 0xc]
jne 0x41a326
mov word [esi], bx
jmp 0x41a35e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00413f21
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41a361
push 0xd
jmp 0x41a35a
mov ecx, dword [ebx*4 + 0x42bc88]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41a358
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41a361
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c3f0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
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 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x407c08
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [0x413ac0]
mov edx, dword [eax + 0x28]
test edx, edx
js 0x407c8c
test edx, edx
jne 0x407c68
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0xc]
test edi, edi
jne 0x407c4c
lea esi, [ebp - 0x20]
mov edx, esi
mov eax, ebx
call dbg._Unwind_RaiseException_Phase2
cmp eax, 7
je 0x407c5d
call sym._abort
nop
lea esi, [ebp - 0x20]
mov edx, esi
mov eax, ebx
call dbg._Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x407c45
lea eax, [ebp - 0x1c]
mov edx, esi
call dbg.uw_install_context
nop
mov edi, dword [eax + 0x24]
call sym._GetLastError_0
mov esi, eax
mov dword [esp], edi
call sym._TlsGetValue_4
push edx
mov dword [esp], esi
mov dword [ebp - 0x2c], eax
call sym._SetLastError_4
push eax
mov eax, dword [ebp - 0x2c]
jmp 0x407c27
call dbg.fc_key_init_once
mov eax, dword [0x413ac0]
mov edx, dword [eax + 0x28]
jmp 0x407c20

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a