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

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x562e0f1c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x562e0f1c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x562e0f1c
ret
cmp word [ebx + 4], 0x14c
jne 0x562e0f1c
test word [ebx + 0x16], 2
je 0x562e0f1c
test word [ebx + 0x16], 0x100
je 0x562e0f1c
cmp word [ebx + 0x18], 0x10b
jne 0x562e0f1c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x562e0f1c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x562e0fa8
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x562e0f3c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.562c7e87
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x562e0f1c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x562e0fa8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x562e0f1c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x562e0f1c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x562e0f1c
ret
cmp word [ebx + 4], 0x14c
jne 0x562e0f1c
test word [ebx + 0x16], 2
je 0x562e0f1c
test word [ebx + 0x16], 0x100
je 0x562e0f1c
cmp word [ebx + 0x18], 0x10b
jne 0x562e0f1c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x562e0f1c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x562e0fa8
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x562e0f3c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.562c7e87
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x562e0f1c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x562e105f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x562e10b8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x562e105f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x562e106e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x566e6d11
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x562e10bf
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.562c7f35
cmp eax, dword [ebp + 0xc]
pop eax
je 0x562e115e
add edi, 4
add eax, 2
dec ecx
jne 0x562e10a4
call 0x562e110b
loope 0x562e1101
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x562e115b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x562e116c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x562e111f
cmp eax, ecx
ja 0x562e111f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x562e11a9
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x562e119f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.562c8414
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x562e106e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x562e10b8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x562e105f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x562e106e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x566e6d11
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x562e10bf
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.562c7f35
cmp eax, dword [ebp + 0xc]
pop eax
je 0x562e115e
add edi, 4
add eax, 2
dec ecx
jne 0x562e10a4
call 0x562e110b
loope 0x562e1101
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x562e115b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x562e116c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x562e111f
cmp eax, ecx
ja 0x562e111f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x562e11a9
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x562e119f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.562c8414
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x432004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x51b504e5
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x793c6be0
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4019f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x4019ff
push esp
mov dword [ebp - 0x24], 0x40171b
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a9e
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a7f
pop ebp
ret 0x10

Function at 0x44a410
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push 0
push eax
push 0
push 0x20019
push 0
push 0
add byte [edx], ch
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp]
test eax, eax
je 0x44a4b0
lea ecx, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.FeatureSettings
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 4
call esi
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.FeatureSettingsOverride
push edx
call esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
or eax, ecx
pop esi
xor eax, 0x11
neg eax
sbb eax, eax
inc eax
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x491514
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0x3d5231e9
mov byte [0xebe05142], al
pushal
cmp dl, 0x67
pop ss
pushal
cwde
xor ecx, dword [edi]
xor byte [esi], ah
adc bh, ch
out dx, al
adc bh, dl
push ebx
nop
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x612200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x121000]
push edi
jmp 0x61221a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x612221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x612210
mov eax, 1
add ebx, ebx
jne 0x612233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x612244
jne 0x612263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x612263
dec eax
add ebx, ebx
jne 0x612250
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x612228
add ebx, ebx
jne 0x61225f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6122b5
xor ecx, ecx
sub eax, 3
jb 0x61227b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6122ea
sar eax, 1
mov ebp, eax
jmp 0x612286
add ebx, ebx
jne 0x612286
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x612254
inc ecx
add ebx, ebx
jne 0x612294
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x612254
add ebx, ebx
jne 0x6122a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x612296
jne 0x6122b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x612296
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6122d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6122c6
jmp 0x612216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6122d4
add edi, ecx
jmp 0x612216
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6122f2
cmp byte [edi], 0
jne 0x6122f2
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 0x6122f7
lea edi, [esi + 0x20e000]
mov eax, dword [edi]
or eax, eax
je 0x61236f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22f9c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22fb00]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x612324
mov ecx, edi
jns 0x612353
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 + 0x22fb04]
or eax, eax
je 0x612369
mov dword [ebx], eax
add ebx, 4
jmp 0x612341
call dword [esi + 0x22fb14]
mov ebp, dword [esi + 0x22fb08]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x6123a3
sub esp, 0xffffff80
jmp 0x4fd51c
Function at 0x401000
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebp, ebp
push edi
push ebp
call esi
mov edi, dword [esp + 0x18]
cmp word [edi], 0x5a4d
jne 0x40115b
push ebp
call esi
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
jne 0x40115b
push ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push dword [ebx + 0x50]
push dword [ebx + 0x34]
call edi
push 0
mov ebp, eax
call esi
test ebp, ebp
jne 0x40106c
push 4
push 0x2000
push dword [ebx + 0x50]
push ebp
call edi
mov ebp, eax
test ebp, ebp
je 0x40115b
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor eax, eax
push eax
mov dword [edi + 4], ebp
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
call esi
push 4
push 0x1000
push dword [ebx + 0x50]
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
call esi
push 4
push 0x1000
push dword [ebx + 0x54]
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
mov dword [esp + 0x14], eax
call esi
push 0
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
add ecx, dword [ebx + 0x54]
push ecx
push eax
push dword [esp + 0x18]
call fcn.00402190
mov eax, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [eax + 0x3c]
push 0
add eax, dword [esp + 0x14]
mov dword [edi], eax
call esi
mov eax, dword [edi]
push 0
mov dword [eax + 0x34], ebp
call esi
push edi
push ebx
push dword [esp + 0x20]
call fcn.0040116a
add esp, 0xc
push 0
call esi
mov eax, ebp
sub eax, dword [ebx + 0x34]
je 0x401116
push eax
push edi
call fcn.00401301
pop ecx
pop ecx
xor ebx, ebx
push ebx
call esi
push edi
call fcn.0040138e
test eax, eax
pop ecx
je 0x401154
push ebx
call esi
push edi
call fcn.00401244
pop ecx
push ebx
call esi
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
cmp eax, ebx
je 0x401162
lea ebx, [eax + ebp]
test ebx, ebx
je 0x401154
push 0
call esi
push 0
push 1
pop esi
push esi
push ebp
call ebx
test eax, eax
jne 0x40115f
push edi
call fcn.00401564
pop ecx
xor eax, eax
jmp 0x401164
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40116a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 4]
push ebx
mov dword [esp + 0x14], eax
call edi
mov eax, dword [esi]
mov dword [esp + 0xc], ebx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], bx
lea esi, [ecx + eax + 0x18]
jbe 0x40123d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
jmp 0x4011ac
xor ebx, ebx
cmp dword [esi], ebx
jne 0x4011f3
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x38]
cmp eax, ebx
mov dword [esp + 0x18], eax
jle 0x4011ed
push 4
push 0x1000
push eax
mov eax, dword [esi - 4]
add eax, dword [esp + 0x20]
push eax
call ebp
push 0
mov ebx, eax
call edi
push 0
mov dword [esi - 8], ebx
call edi
push dword [esp + 0x18]
push 0
push ebx
call fcn.004024d0
add esp, 0xc
push 0
call edi
jmp 0x401221
push ebx
call edi
mov eax, dword [esi - 4]
push 4
add eax, dword [esp + 0x18]
push 0x1000
push dword [esi]
push eax
call ebp
push dword [esi]
mov ebx, eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x24]
push eax
push ebx
call fcn.00402190
add esp, 0xc
mov dword [esi - 8], ebx
mov eax, dword [esp + 0x28]
inc dword [esp + 0x10]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [esp + 0x10], eax
jl 0x4011aa
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4017ef
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
and byte [ebp - 4], 0
mov byte [ebp - 0x44], 0x41
mov byte [ebp - 0x43], 0x42
mov byte [ebp - 0x42], 0x43
mov byte [ebp - 0x41], 0x44
mov byte [ebp - 0x40], 0x45
mov byte [ebp - 0x3f], 0x46
mov byte [ebp - 0x3e], 0x47
mov byte [ebp - 0x3d], 0x48
mov byte [ebp - 0x3c], 0x49
mov byte [ebp - 0x3b], 0x4a
mov byte [ebp - 0x3a], 0x4b
mov byte [ebp - 0x39], 0x4c
mov byte [ebp - 0x38], 0x4d
mov byte [ebp - 0x37], 0x4e
mov byte [ebp - 0x36], 0x4f
mov byte [ebp - 0x35], 0x50
mov byte [ebp - 0x34], 0x51
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x53
mov byte [ebp - 0x31], 0x54
mov byte [ebp - 0x30], 0x55
mov byte [ebp - 0x2f], 0x56
mov byte [ebp - 0x2e], 0x57
mov byte [ebp - 0x2d], 0x58
mov byte [ebp - 0x2c], 0x59
mov byte [ebp - 0x2b], 0x5a
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x62
mov byte [ebp - 0x28], 0x63
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x66
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x68
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x6a
mov byte [ebp - 0x20], 0x6b
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x6d
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x71
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x15], 0x76
mov byte [ebp - 0x14], 0x77
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x79
mov byte [ebp - 0x11], 0x7a
mov byte [ebp - 0x10], 0x30
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x32
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 0x35
mov byte [ebp - 0xa], 0x36
mov byte [ebp - 9], 0x37
mov byte [ebp - 8], 0x38
mov byte [ebp - 7], 0x39
mov byte [ebp - 6], 0x2b
mov byte [ebp - 5], 0x2f
lea eax, [ebp - 0x44]
mov cl, 0x41
cmp cl, byte [ebp + 8]
je 0x401910
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4018fe
or eax, 0xffffffff
leave
ret
lea ecx, [ebp - 0x44]
sub eax, ecx
leave
ret

Function at 0x401917
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call fcn.004016ef
pop ecx
mov esi, eax
pop ecx
xor ecx, ecx
test esi, esi
jle 0x401952
mov eax, dword [ebp - 4]
add byte [eax + ecx], 0x7a
add eax, ecx
mov eax, dword [ebp - 4]
xor byte [eax + ecx], 0x59
add eax, ecx
inc ecx
cmp ecx, esi
jl 0x40193b
and byte [ebp - 7], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x47
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x67
mov byte [ebp - 0xa], 0x35
mov byte [ebp - 9], 0x33
mov byte [ebp - 8], 0x38
call fcn.00402a80
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004015e3
push esi
lea eax, [ebp - 0x110]
push dword [ebp - 4]
push eax
call fcn.00401677
mov eax, dword [ebp - 4]
add esp, 0x1c
pop esi
leave
ret
Function at 0x401be8
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x1c], 0x4d
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x7a
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x2f
mov byte [ebp - 0x14], 0x34
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x20
mov byte [ebp - 0x10], 0x28
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0xd], 0x6d
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x62
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x29
mov byte [ebp - 4], bl
call dword [0x4116b4]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x401c8b
push ebx
push 0x80000000
push ebx
push ebx
push dword [ebp + 8]
push eax
call dword [0x4116a8]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x401c92
xor eax, eax
jmp 0x401d13
push esi
push edi
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401cff
mov esi, 0x400
push esi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.004024d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x428]
push esi
push eax
push dword [ebp + 8]
call dword [0x4116b0]
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 0x428]
push dword [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x20], ebx
ja 0x401cb4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop ebx
push dword [ebp + 8]
mov esi, dword [0x4116ac]
call esi
push dword [ebp - 0x24]
call esi
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x401d6f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push 0x104
mov esi, 0x4116c8
push ebx
push esi
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x3a
mov byte [ebp - 0x1a], 0x5c
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x67
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0x12], 0x20
mov byte [ebp - 0x11], 0x46
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0x70
mov byte [ebp - 9], 0x70
mov byte [ebp - 8], 0x50
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0x63
mov byte [ebp - 4], 0x68
mov byte [ebp - 3], 0x5c
mov byte [ebp - 2], bl
call fcn.004024d0
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0040214c
push dword [ebp + 8]
push esi
call fcn.0040214c
add esp, 0x1c
mov al, bl
add al, 0x43
push eax
call fcn.00401d16
test eax, eax
pop ecx
jne 0x401e25
inc bl
cmp bl, 4
jl 0x401e0b
pop esi
pop ebx
leave
ret
push 1
pop eax
jmp 0x401e21

Function at 0x401e2a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
and byte [ebp - 3], 0
lea eax, [ebp - 0xc]
push 0xa
push eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 0xc], 0x4b
push eax
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x68
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x35
mov byte [ebp - 5], 0x39
mov byte [ebp - 4], 0x39
call fcn.004015e3
push dword [ebp + 0xc]
lea eax, [ebp - 0x10c]
push dword [ebp + 8]
push eax
call fcn.00401677
add esp, 0x18
leave
ret