joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ee40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ee57
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419190
mov eax, dword [0x452fac]
cmp word [eax + 2], 0
jne 0x44ee7f
mov eax, dword [0x452fac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450518
mov eax, dword [0x453058]
cmp word [eax + 2], 0
jne 0x44ee99
mov eax, dword [0x453058]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450710
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411488]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411488]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b6c4]
call fcn.00422c28
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44f020
mov eax, dword [0x452ed4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422ff8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x450cb0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x452ed4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c02c
test eax, eax
je 0x44ef8e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004082cc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c054
test eax, eax
je 0x44efa2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x452dcc]
cmp byte [eax], 0
jne 0x44efd6
mov eax, ebx
call fcn.0044f148
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00450e8c
mov eax, ebx
call fcn.00451850
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f016
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f3c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bb0]
cmp dword [eax + 0x30], 0
je 0x44f472
cmp dword [ebx + 0x94], 0
jne 0x44f46c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f358
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f46c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44f432
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f46c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004137f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f441
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ffd4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x450009
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x450016
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451068
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4510a9
mov eax, esi
call fcn.004378c4
test al, al
je 0x4510a9
mov eax, dword [ebx + 0x84]
call fcn.004375c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4510a9
push 0
mov eax, dword [ebx + 0x84]
call fcn.004375c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x683bd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b1000]
push edi
or ebp, 0xffffffff
jmp 0x683bf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x683bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x683be8
mov eax, 1
add ebx, ebx
jne 0x683c0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x683c1c
jne 0x683c3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x683c3b
dec eax
add ebx, ebx
jne 0x683c28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x683c00
add ebx, ebx
jne 0x683c37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x683c8d
xor ecx, ecx
sub eax, 3
jb 0x683c53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x683cc2
sar eax, 1
mov ebp, eax
jmp 0x683c5e
add ebx, ebx
jne 0x683c5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x683c2c
inc ecx
add ebx, ebx
jne 0x683c6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x683c2c
add ebx, ebx
jne 0x683c79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x683c6e
jne 0x683c8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x683c6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x683cac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x683c9e
jmp 0x683bee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x683cac
add edi, ecx
jmp 0x683bee
pop esi
mov edi, esi
mov ecx, 0x3842
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x683cca
cmp byte [edi], 0x15
jne 0x683cca
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 0x683ccf
lea edi, [esi + 0x280000]
mov eax, dword [edi]
or eax, eax
je 0x683d47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28ac38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28acfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x683cfc
mov ecx, edi
jns 0x683d2b
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 + 0x28ad04]
or eax, eax
je 0x683d41
mov dword [ebx], eax
add ebx, 4
jmp 0x683d19
call dword [esi + 0x28ad00]
mov ebp, dword [esi + 0x28ad08]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x683d7b
sub esp, 0xffffff80
jmp 0x470a51
Function at 0x420492
Capabilities:
Read file on windows

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

Function at 0x42049d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004202c3

Function at 0x420897
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040d920
mov eax, dword [0x4d8a00]
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.0041e063
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4208d9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x420a35
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429330
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 + 0x4db3a0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00421636
mov ecx, dword [esi*4 + 0x4db3a0]
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 0x420a2e
cmp eax, dword [edi + ecx + 0x24]
jne 0x420a2e
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 0x420a2e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00421636
add esp, 0x14
test edx, edx
jl 0x420a2e
jg 0x4209a4
test eax, eax
jb 0x420a2e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x420a2e
jl 0x4209be
cmp dword [ebp - 0x1008], eax
ja 0x420a2e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4209dc
test ebx, ebx
je 0x420a15
cmp ecx, edi
jae 0x420a15
mov al, byte [ecx]
cmp al, 0xd
jne 0x4209f6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x420a02
cmp byte [ecx + 1], 0xa
jne 0x420a02
inc ecx
jmp 0x420a02
movzx eax, al
movsx eax, byte [eax + 0x4d8cc8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4209dc
cmp edx, ebx
jne 0x4209dc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x420a33
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040cd03
leave
ret
Function at 0x420ad4
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 + 0x4db3a0]
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 0x420b14
cmp byte [ebx], 0xa
jne 0x420b14
or byte [eax + edi + 0x28], 4
jmp 0x420b19
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x420c17
mov al, byte [edx]
cmp al, 0x1a
je 0x420bf9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x420b48
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x420b6d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x420b77
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 0x420b2a
jmp 0x420c17
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 0x420bf4
cmp dword [ebp - 0xc], 0
je 0x420bf4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4db3a0]
test byte [eax + edi + 0x28], 0x48
je 0x420bce
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x420bb9
mov byte [esi], dl
jmp 0x420bca
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4db3a0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x420c17
cmp byte [ebp - 1], 0xa
jne 0x420bdd
cmp esi, ebx
jne 0x420bdd
mov byte [esi], 0xa
jmp 0x420c16
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00421654
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x420c17
mov byte [esi], 0xd
jmp 0x420c16
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4db3a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420c13
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420c17
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x420c20
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 + 0x4db3a0]
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 0x420c63
cmp word [esi], dx
jne 0x420c63
or byte [edi + eax + 0x28], 4
jmp 0x420c68
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 0x420dbb
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 0x420d9b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x420caa
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420ce0
cmp eax, edx
jae 0x420cec
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 0x420c82
jmp 0x420dbb
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 0x420d97
cmp dword [ebp - 0x14], 0
je 0x420d97
mov eax, dword [ebx*4 + 0x4db3a0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x420d6f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x420d38
mov word [esi], cx
jmp 0x420d6b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4db3a0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4db3a0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4db3a0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x420dbb
pop ebx
cmp word [ebp - 4], bx
jne 0x420d80
cmp esi, dword [ebp + 0xc]
jne 0x420d80
mov word [esi], bx
jmp 0x420db8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00421654
add esp, 0x10
cmp word [ebp - 4], bx
je 0x420dbb
push 0xd
jmp 0x420db4
mov ecx, dword [ebx*4 + 0x4db3a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420db2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420dbb
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 0x421ced
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d8a00]
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 0x421d38
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421e8c
test al, al
jne 0x421d32
sub edx, 2
cmp edx, edi
jne 0x421d18
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421d5a
lea eax, [edi + 2]
cmp edx, eax
je 0x421d5a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421c39
add esp, 0x10
jmp 0x421e54
push esi
lea ecx, [ebp - 0x255]
call fcn.00421e8c
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 0x421d9d
push dword [ebp - 0x25c]
jmp 0x421d4a
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 0x421dda
cmp word [ebp - 0x226], 0
je 0x421dfb
cmp word [ebp - 0x226], ax
jne 0x421dda
cmp word [ebp - 0x224], 0
je 0x421dfb
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421c39
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421e47
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421db4
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421e2f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421e54
push 0x421a69
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427660
add esp, 0x10
jmp 0x421e24
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.0040cd03
leave
ret

Function at 0x429130
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42915d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42915d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42a699
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42a719
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42a718
push ebx
mov ebx, 0x4da850
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402d1f
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402d1f
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42b5b8
mov byte [edi + esi], al
call fcn.0041229e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42a6bb
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00406502
pop edi
pop ebp
ret 0x14
Function at 0x1001dfc0
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
cmp word [edx + 0xc], 0xffff
movzx eax, byte [edx + 6]
je 0x1001dfea
mov eax, dword [esp + 0x14]
or word [eax], 2
movsd xmm0, qword [edx + 6]
movsd qword [eax + 0x10], xmm0
xor eax, eax
pop edi
pop esi
ret 0x10
sub eax, 0
je 0x1001e027
dec eax
je 0x1001e011
dec eax
jne 0x1001dfe3
mov esi, dword [esp + 0x14]
or word [esi], 8
movzx eax, byte [edx + 8]
push eax
call fcn.1001aaf0
mov dword [esi + 0x10], eax
xor eax, eax
pop edi
pop esi
ret 0x10
mov ecx, dword [esp + 0x14]
pop edi
pop esi
or word [ecx], 4
movzx eax, byte [edx + 8]
mov dword [ecx + 0x10], eax
xor eax, eax
ret 0x10
test byte [esp + 0x18], 1
je 0x1001dfe3
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1001c5e0
test eax, eax
jne 0x1001dfe5
mov eax, dword [esp + 0x10]
mov ecx, 0x221
cmp ax, cx
je 0x1001e059
mov ecx, 0x4bc
cmp ax, cx
jne 0x1001e07b
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1001d580
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1001c5e0
test eax, eax
jne 0x1001dfe5
mov eax, dword [esp + 0x10]
mov ecx, 0x207
cmp ax, cx
jne 0x1001dfe3
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
or word [edi], 0x10
push esi
call fcn.1005fecd
test eax, eax
jne 0x1001dfe5
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
add eax, 2
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x18]
push dword [esi + 4]
call fcn.1001b6c0
test eax, eax
js 0x1001dfe5
push ebx
mov ebx, dword [esp + 0x18]
push 1
shr eax, 1
push eax
push ebx
push dword [esi + 0x10]
call fcn.10030f40
mov dword [edi + 0x10], eax
cmp ebx, 0x100528e0
je 0x1001e0f1
push ebx
call fcn.100324b0
cmp dword [edi + 0x10], 0xffffffff
pop ebx
jne 0x1001dfe3
pop edi
mov eax, 0xfffffffe
pop esi
ret 0x10
Function at 0x1005a407
Capabilities:
Encode data using xor

Disassembly:
call 0x1005a380
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1005a3b0
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005a3cc
xor edx, 0
jmp 0x1005a3d7
xor edx, edx
jmp 0x1005a3ee
jmp 0x1005a3fa
xor eax, eax
push 0x8427d7c0
call 0x1005a407
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005a443
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005a41c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005a45a
add eax, 0
jno 0x1005a45f
add esi, 0
ret 0x10

Function at 0x1005b1c8
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005b1ea
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1005b38c
cmp edi, dword [ebp + 0x10]
jb 0x1005b38c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1005acb4
inc edi
jmp 0x1005b273
jmp 0x1005b280
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005acb4
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005acb4
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1005b2d4
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005b2b8
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005b302
add dword [eax], 0x39
jle 0x1005b2de
sub al, 0xf5
mov ch, al
call fcn.1005b317
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10