joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7733d370
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 0x7733d2b9
add ebx, 0
push ecx
call 0x7733d2ce
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, 0x1008b277
sub ebx, dword [0x100aaab6]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100aaaa6
call fcn.77338d98
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.773382a6
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7733d42c
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7733d42c
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 0x7733d3e3
mov eax, 1
lock xchg dword [0x100aaab2], eax
push 0x3dd1fc71
call 0x7733d370
push esi
add esp, 8
cmp eax, 0
jne 0x7733d359
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7733d37f
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7733d394
cmp ecx, edx
cmp eax, 0
je 0x7733d3b9
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 0x7733d3a3
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7733d3d2
dec eax
loope 0x7733d3d5
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100aaab2], 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 0x7733d409
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7733d41e
jmp 0x7733d429
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7733d317
Function at 0x77344491
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 0x77344767
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x1009772a
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1008e6f0
push 0xffffffffffffffff
call fcn.7733b691
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 0x773444fb
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.77344513
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 0x7734475b
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x7734472f
Function at 0x77353f61
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 0x77353f83
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77353f83
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77353f83
ret
cmp word [ebx + 4], 0x14c
jne 0x77353f83
test word [ebx + 0x16], 2
je 0x77353f83
test word [ebx + 0x16], 0x100
je 0x77353f83
cmp word [ebx + 0x18], 0x10b
jne 0x77353f83
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77353f83
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7735400f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77353fa3
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7733aeee
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77353f83
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 0x7735400f
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 0x77353f83
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77353f83
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77353f83
ret
cmp word [ebx + 4], 0x14c
jne 0x77353f83
test word [ebx + 0x16], 2
je 0x77353f83
test word [ebx + 0x16], 0x100
je 0x77353f83
cmp word [ebx + 0x18], 0x10b
jne 0x77353f83
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77353f83
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7735400f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77353fa3
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7733aeee
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77353f83
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 0x773540c6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x7735411f
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x773540c6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x773540d5
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 0x77759d78
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 0x77354126
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.7733af9c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x773541c5
add edi, 4
add eax, 2
dec ecx
jne 0x7735410b
call 0x77354172
loope 0x77354168
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x773541c2
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 0x773541d3
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 0x77354186
cmp eax, ecx
ja 0x77354186
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77354210
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x77354206
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7733b47b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x773540d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x7735411f
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x773540c6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x773540d5
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 0x77759d78
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 0x77354126
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.7733af9c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x773541c5
add edi, 4
add eax, 2
dec ecx
jne 0x7735410b
call 0x77354172
loope 0x77354168
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x773541c2
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 0x773541d3
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 0x77354186
cmp eax, ecx
ja 0x77354186
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77354210
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x77354206
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7733b47b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x405a12
pop dword [ebp - 0x40]
mov eax, 0xa45e121c
add eax, 0x5be247f6
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xadda0637
sub dword [ebp - 0x50], 0x5f87c0ec
mov dword [ebp - 0x4c], 0x9fad3663
sub dword [ebp - 0x4c], 0x6d79ea1e
mov dword [ebp - 0x48], 0x7cf5b399
add dword [ebp - 0x48], 0xcf569095
mov dword [ebp - 0x44], 0xf515615
sub dword [ebp - 0x44], 0xf515615
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x90a20c89
add dword [ebp - 0x50], 0xe3d05ccd
mov dword [ebp - 0x4c], 0xd578558d
add dword [ebp - 0x4c], 0x6bf40be8
mov dword [ebp - 0x48], 0x45091200
add dword [ebp - 0x48], 0x1e665a6c
mov dword [ebp - 0x44], 0xf81d23f1
sub dword [ebp - 0x44], 0xf81d23f1
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xc561a149
add eax, 0x3adedfb7
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8e4
push 0
call eax
mov ecx, 0x65afae82
sub ecx, 0x65af5835
mov esi, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x40]
mov edi, 0x7edd9cf8
sub edi, 0xf1eb984e
xor dword [ebp - 0x14], edi
mov ebx, dword [edx]
add dword [ebp - 0x1c], ebx
sub ebx, edi
mov dword [esi], ebx
xor dword [ebp - 0x14], eax
add esi, 0xa85ee171
sub esi, 0xa85ee16d
add edx, 0xd46d7baa
sub edx, 0xd46d7ba6
loop 0x405b29
add eax, 0x14c07
xor ebx, ebx
add ebx, eax
add eax, 0xd689e590
sub eax, 0xd689e58b
mov ecx, 0x853c279e
sub ecx, 0x84fc279e
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x40c28f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40c29e
pop dword [ebp - 0x4c]
mov eax, 0xd127e1c7
sub eax, 0xd0e71f29
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xcefb0bf4
sub dword [ebp - 0x5c], 0x80a8c6a9
mov dword [ebp - 0x58], 0x24c695e5
add dword [ebp - 0x58], 0xd6cb660
mov dword [ebp - 0x54], 0x42d9d24f
sub dword [ebp - 0x54], 0xf68d8e21
mov dword [ebp - 0x50], 0x86646e89
sub dword [ebp - 0x50], 0x86646e89
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x6b11bfc6
sub eax, 0x6ad0deca
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xb559e258
add dword [ebp - 0x5c], 0xbf1886fe
mov dword [ebp - 0x58], 0x6add63bf
add dword [ebp - 0x58], 0xd68efdb6
mov dword [ebp - 0x54], 0x9f0da511
add dword [ebp - 0x54], 0xc461c75b
mov dword [ebp - 0x50], 0x504f42
sub dword [ebp - 0x50], 0x504f42
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x385ba
push 0
call eax
mov ecx, 0x72416a25
add ecx, 0x8dbee0b6
mov esi, eax
mov edi, 0xce7018ef
add edi, 0x31d1d711
add edi, dword [ebp - 0x4c]
mov ebx, 0x4c4e19d5
add ebx, 0x1063a3d9
xor dword [ebp - 0x24], edx
mov edx, dword [edi]
sub dword [ebp - 0x34], 0x2645bf0d
xor edx, ebx
mov dword [ebp - 0x2c], 0x6e24a3f5
mov dword [esi], edx
sub dword [ebp - 0x38], ecx
add esi, 0xc7bf9109
sub esi, 0xc7bf9105
add edi, 0xdb593bbb
sub edi, 0xdb593bb7
loop 0x40c3bb
add eax, 0x70d3d4e2
add eax, 0x8f2d495d
xor ebx, ebx
add ebx, eax
add eax, 0xe2c90ad
add eax, 0xf1d36f58
mov ecx, 0xcecb2049
sub ecx, 0xce8b2049
add ecx, dword [ebp - 0x4c]
call ebx
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10013083
pop dword [ebp - 0x30]
mov eax, 0x4c111baf
sub eax, 0x3c0feb2c
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xeb280a43
add dword [ebp - 0x40], 0x632a3b08
mov dword [ebp - 0x3c], 0x80adea6a
sub dword [ebp - 0x3c], 0x4e7a9e25
mov dword [ebp - 0x38], 0x4d1c8464
sub dword [ebp - 0x38], 0xd04036
mov dword [ebp - 0x34], 0xd2d1b91c
sub dword [ebp - 0x34], 0xd2d1b91c
lea eax, [ebp - 0x40]
push eax
mov eax, 0x4353c5dc
sub eax, 0x33527544
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x83fb74aa
add dword [ebp - 0x40], 0xf076f4ac
mov dword [ebp - 0x3c], 0xafe069b6
sub dword [ebp - 0x3c], 0x6e740841
mov dword [ebp - 0x38], 0x5b5fb2be
add dword [ebp - 0x38], 0x80fb9ae
mov dword [ebp - 0x34], 0x56e38684
sub dword [ebp - 0x34], 0x56e38684
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x1207e778
add eax, 0xfdf96924
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3b5a0
push 0
call eax
mov ecx, 0x6c20745a
sub ecx, 0x6c20217e
xor ebx, ebx
add ebx, eax
mov edx, 0x2fececa5
add edx, 0xe0172f5b
add edx, dword [ebp - 0x30]
mov edi, 0x3b5235eb
sub edi, 0xace53785
xor dword [ebp - 0x14], edx
mov esi, dword [edx]
xor dword [ebp - 0x24], 0x418ea500
xor esi, edi
sub dword [ebp - 0x24], 0x59961e68
mov dword [ebx], esi
add dword [ebp - 4], eax
add ebx, 0x4d487e52
sub ebx, 0x4d487e4e
add edx, 0x52c5e6c
add edx, 0xfad3a198
loop 0x100131a7
add eax, 0x13e43
xor ebx, ebx
add ebx, eax
add eax, 0x807272bc
sub eax, 0x807272b7
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x402c00
pop dword [ebp - 0x2c]
mov eax, 0x402c00
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x4fe6977c
add dword [ebp - 0x3c], 0xfe6badcf
mov dword [ebp - 0x38], 0xcac18f25
add dword [ebp - 0x38], 0x6771bd20
mov dword [ebp - 0x34], 0x844cf930
add dword [ebp - 0x34], 0xc7ff4afe
mov dword [ebp - 0x30], 0xaca5a91f
sub dword [ebp - 0x30], 0xaca5a91f
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x5b229856
sub dword [ebp - 0x3c], 0xe6b02f00
mov dword [ebp - 0x38], 0x3bc597d1
add dword [ebp - 0x38], 0x5a6c9a4
mov dword [ebp - 0x34], 0x846bef0f
sub dword [ebp - 0x34], 0x20fc82a3
mov dword [ebp - 0x30], 0x1fc6770b
add dword [ebp - 0x30], 0xe03988f5
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xc41a2670
sub eax, 0xc3d9b5c8
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38972
push 0
call eax
mov ecx, 0x81d47681
add ecx, 0x7e2bd91a
mov ebx, eax
mov esi, 0xd91b6dee
add esi, 0x27259212
add esi, dword [ebp - 0x2c]
mov edi, 0xf8a17a84
mov dword [ebp - 4], 0xaabce9fd
mov edx, dword [esi]
sub dword [ebp - 0x10], 0x5bb091de
add edx, edi
xor dword [ebp - 0x14], 0xb96e9275
mov dword [ebx], edx
add dword [ebp - 0xc], ecx
add ebx, 4
add esi, 0x76af2715
add esi, 0x8950d8ef
loop 0x402d12
add eax, 0xdcd398da
sub eax, 0xdcd2679b
xor ebx, ebx
add ebx, eax
add eax, 0x1fd98a41
sub eax, 0x1fd98a3c
mov ecx, 0x260ff7cf
sub ecx, 0x25cff7cf
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x417b8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x417bc9
mov ecx, dword [ebp + 8]
push esi
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
movzx esi, byte [ecx]
and eax, 0xff
xor eax, esi
mov esi, dword [0x419328]
inc ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp + 0x10]
shr esi, 8
xor esi, eax
dec edx
mov dword [ebp + 0x10], esi
jne 0x417ba3
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret

Function at 0x417eb3
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 [fcn.0041413c]
mov ebx, eax
push ebx
call fcn.0041a78f
mov esi, eax
pop ecx
test esi, esi
je 0x417f01
xor edx, edx
test ebx, ebx
jbe 0x417f01
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 0x417eeb
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x422106
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x422141
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x42211e
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x42215d
dec esi
je 0x422156
dec esi
jne 0x422162
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x1003a530
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1003a561
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1003a561
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1003a561
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100502c9
Capabilities:
Encode data using xor

Disassembly:
call 0x10050242
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 0x10050272
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 0x1005028e
xor edx, 0
jmp 0x10050299
xor edx, edx
jmp 0x100502b0
jmp 0x100502bc
xor eax, eax
push 0x8427d7c0
call 0x100502c9
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10050305
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 0x100502de
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 0x1005031c
add eax, 0
jno 0x10050321
add esi, 0
ret 0x10