joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005519f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100550e8
add ebx, 0
push ecx
call 0x100550fd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c64912a
sub ebx, dword [0x6c668969]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c668959
call fcn.10050bc7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100500d5
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005525b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005525b
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10055212
mov eax, 1
lock xchg dword [0x6c668965], eax
push 0x3dd1fc71
call 0x1005519f
push esi
add esp, 8
cmp eax, 0
jne 0x10055188
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100551ae
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100551c3
cmp ecx, edx
cmp eax, 0
je 0x100551e8
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100551d2
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10055201
dec eax
loope 0x10055204
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c668965], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10055238
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005524d
jmp 0x10055258
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10055146
Function at 0x1005c2c0
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1005c596
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c6555dd
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c64c5a3
push 0xffffffffffffffff
call fcn.100534c0
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1005c32a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1005c342
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1005c58a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1005c55e
Function at 0x1006bd90
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 0x1006bdb2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1006bdb2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1006bdb2
ret
cmp word [ebx + 4], 0x14c
jne 0x1006bdb2
test word [ebx + 0x16], 2
je 0x1006bdb2
test word [ebx + 0x16], 0x100
je 0x1006bdb2
cmp word [ebx + 0x18], 0x10b
jne 0x1006bdb2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1006bdb2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1006be3e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006bdd2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10052d1d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1006bdb2
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 0x1006be3e
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 0x1006bdb2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1006bdb2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1006bdb2
ret
cmp word [ebx + 4], 0x14c
jne 0x1006bdb2
test word [ebx + 0x16], 2
je 0x1006bdb2
test word [ebx + 0x16], 0x100
je 0x1006bdb2
cmp word [ebx + 0x18], 0x10b
jne 0x1006bdb2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1006bdb2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1006be3e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006bdd2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10052d1d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1006bdb2
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 0x1006bef5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1006bf4e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1006bef5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1006bf04
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 0x10471ba7
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 0x1006bf55
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.10052dcb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006bff4
add edi, 4
add eax, 2
dec ecx
jne 0x1006bf3a
call 0x1006bfa1
loope 0x1006bf97
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006bff1
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 0x1006c002
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 0x1006bfb5
cmp eax, ecx
ja 0x1006bfb5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006c03f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1006c035
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100532aa
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1006bf04
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1006bf4e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1006bef5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1006bf04
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 0x10471ba7
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 0x1006bf55
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.10052dcb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006bff4
add edi, 4
add eax, 2
dec ecx
jne 0x1006bf3a
call 0x1006bfa1
loope 0x1006bf97
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006bff1
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 0x1006c002
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 0x1006bfb5
cmp eax, ecx
ja 0x1006bfb5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006c03f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1006c035
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100532aa
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403c05
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.0040ec30
mov eax, dword [0x287282c]
mov ecx, dword [0x28722b8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403cd9
mov edi, ecx
mov ebx, eax
cmp dword [0x287282c], 0x959
jne 0x403cc9
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403770
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403794
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4037b0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1800]
push eax
push esi
push 0x4037c8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403a97
add edi, 8
dec ebx
jne 0x403c31
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f97
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1800
call fcn.0040ec30
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0x986
jge 0x403fd5
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthI]
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp edi, 0x4f4c8ec
jg 0x403ff0
inc edi
cmp edi, 0x3455969
jl 0x403fad
cmp dword [0x287282c], 0x400
jne 0x4040fd
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
lea eax, [esp + 0x80c]
push eax
push esi
push 0x403948
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x100c]
push eax
push 0x403924
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0x40398c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call fcn.004047fa
pop ecx
push esi
call fcn.00404684
pop ecx
push esi
push esi
call fcn.004047ba
push esi
push esi
call fcn.00404ab6
push esi
call fcn.00404ee9
add esp, 0x14
push esi
call fcn.0040510a
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404160
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404240
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404990
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404370
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404be0
fstp st(0)
push esi
push esi
call fcn.00404d34
push esi
call fcn.0040517e
add esp, 0x14
push esi
push esi
call fcn.004046be
push esi
push esi
call fcn.00404614
push esi
call fcn.00404f4e
add esp, 0x14
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x40411d
inc edi
cmp edi, 0x3011b
jl 0x4040ff
mov eax, dword [0x47ac84]
mov dword [0x287282c], eax
call fcn.00403cde
mov edi, 0x2ec37
cmp dword [0x287282c], 0x51f
jne 0x40414c
push esi
lea eax, [esp + 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404131
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4075a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4771f8]
jne 0x4075b2
repz ret
jmp fcn.0040c880
Function at 0x40cebe
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4771f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409723
and dword [ebp - 0x14], 0
cmp dword [0x48f80c], 0
mov dword [ebp - 0x18], eax
jne 0x40cf71
push 0x402e34
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d019
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402e28
push ebx
call edi
test eax, eax
je 0x40d019
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402e18
push ebx
mov dword [0x48f80c], eax
call edi
push eax
call esi
push 0x402e04
push ebx
mov dword [0x48f810], eax
call edi
push eax
call esi
push 0x402de8
push ebx
mov dword [0x48f814], eax
call edi
push eax
call esi
mov dword [0x48f81c], eax
test eax, eax
je 0x40cf71
push 0x402dd0
push ebx
call edi
push eax
call esi
mov dword [0x48f818], eax
mov eax, dword [0x48f818]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cfca
cmp dword [0x48f81c], ecx
je 0x40cfca
push eax
call esi
push dword [0x48f81c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cfca
test ebx, ebx
je 0x40cfca
call edi
test eax, eax
je 0x40cfc1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cfc1
test byte [ebp - 8], 1
jne 0x40cfca
or dword [ebp + 0x10], 0x200000
jmp 0x40cffd
mov eax, dword [0x48f810]
cmp eax, dword [ebp - 0x18]
je 0x40cffd
push eax
call esi
test eax, eax
je 0x40cffd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cffd
mov eax, dword [0x48f814]
cmp eax, dword [ebp - 0x18]
je 0x40cffd
push eax
call esi
test eax, eax
je 0x40cffd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48f80c]
call esi
test eax, eax
je 0x40d019
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d01b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004075a8
leave
ret
Function at 0x4550d6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045506b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043b840
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x455125
cmp dword [ebp - 0x1c], 5
jb 0x45513d
jmp 0x455139
cmp dword [ebp - 0x10], 1
jne 0x45513d
cmp dword [ebp - 0x1c], 4
ja 0x455139
jne 0x45513d
cmp dword [ebp - 0x18], 0
jbe 0x45513d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x464da4
call fcn.00454f5c
test eax, eax
jge 0x45515e
mov byte [0x484e93], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00438785
add ebp, 0x78
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x10371636
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6356142c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x404f00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d6eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00475e34
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x404f82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00470867
mov eax, dword [eax]
push 0x49da90
push eax
call fcn.0045b51d
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004760bf
test bl, bl
je 0x404f82
push 0x49da90
lea ecx, [esp + 0xc]
call fcn.0047644f
push 0x49da9c
lea ecx, [esp + 0xc]
call fcn.0047644f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x404fbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004760bf
jmp 0x405089
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x405042
lea edx, [esp + 0x7c]
push 0x49da98
push edx
call fcn.0045b51d
add esp, 8
test eax, eax
je 0x405042
lea eax, [esp + 0x7c]
push 0x49da94
push eax
call fcn.0045b51d
add esp, 8
test eax, eax
je 0x405042
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x404fd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004760bf
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x405880
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4058e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4058f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d76b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a77c0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x405a28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x405956
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004760bf
xor eax, eax
jmp 0x405a9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004761fc
push esi
lea ecx, [esp + 0xc]
call fcn.0047648b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x405a7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00405880
test eax, eax
jne 0x405a7d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00405880
test eax, eax
jne 0x405a7d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0045ba13
mov esi, eax
add esp, 8
test esi, esi
jne 0x405a5c
lea ecx, [esp + 0x14]
push 0x49daa8
push ecx
call fcn.0045b7b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x405a5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x405a5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004761ac
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40596e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004760bf
xor eax, eax
jmp 0x405a9f
mov byte [esi], 0
push 0x49daa4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004760bf
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4