joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fd10
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x530010]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x360
push 8
push 0
push eax
mov dword [esp + 0x24], eax
call edi
add esp, 0x10
test eax, eax
jne 0x43fd56
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
lea ebx, [eax + 4]
mov byte [eax + 0xc4], 8
lea esi, [eax + 0x78]
mov word [ebx + 4], 0x808
xor eax, eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x60], eax
add dword [ebx + 0x60], 0x10000
mov word [ebx + 8], ax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x2c], ebx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x64], eax
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov word [ebx + 6], 0x100
mov dword [esi + 0x58], ebx
mov dword [esi + 0xa4], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov ebx, 0xc
push 0
mov dword [esi], edi
mov dword [esi + 0x2dc], 0
mov dword [esi + 0x2e0], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], fcn.0043fd10
call fcn.004dae23
mov edi, eax
add esp, 4
xor edi, ebx
nop
movzx edx, byte [esp + ebx + 0x17]
mov ecx, edi
shl ecx, 5
mov eax, edi
add edx, ecx
shr eax, 2
add edx, eax
xor edi, edx
sub ebx, 1
jne 0x43fe00
mov dword [esi + 0x1c], ebx
mov edx, 0x43fa30
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x52], 0x19320002
mov dword [esi + 0x4d], 0x14000008
mov dword [esi + 8], 0x360
mov byte [esi + 0x40], 3
mov byte [esi + 0x56], 0xd
mov byte [esi + 0x51], 0x19
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004481e0
add esp, 4
test eax, eax
je 0x43fefe
mov ecx, ebx
call fcn.0043fc10
xor ebx, ebx
mov ecx, dword [esp + 0x24]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
Function at 0x4472b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov dword [ebp - 0x10], edx
mov esi, ecx
call fcn.004d4546
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0xc], ecx
xorps xmm1, xmm1
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
mov cl, byte [esi]
movzx eax, cl
test byte [eax + 0x517c01], 8
je 0x447310
nop
mov cl, byte [esi + 1]
inc esi
movzx eax, cl
test byte [eax + 0x517c01], 8
jne 0x447300
lea edx, [esi + 1]
cmp cl, 0x2d
jne 0x447321
mov dword [ebp - 0x14], 1
jmp 0x44732a
cmp cl, 0x2b
mov dword [ebp - 0x14], edi
cmovne edx, esi
cmp byte [edx], 0x30
jne 0x44746e
mov al, byte [edx + 1]
cmp al, 0x78
je 0x447342
cmp al, 0x58
jne 0x44746e
movsd xmm2, qword [0x522618]
add edx, 2
xor esi, esi
nop
mov al, byte [edx]
movsx ecx, al
mov byte [ebp - 1], al
cmp ecx, dword [ebp - 0x1c]
jne 0x447369
test esi, esi
jne 0x4473bf
mov esi, 1
inc edx
jmp 0x447350
movzx eax, al
test byte [eax + 0x517c01], 0x10
je 0x4473bf
mov eax, dword [ebp - 8]
test eax, eax
jne 0x447387
cmp byte [ebp - 1], 0x30
jne 0x447387
inc dword [ebp - 0xc]
jmp 0x4473b7
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x1e
jg 0x4473b6
test byte [ecx + 0x517c01], 2
je 0x44739e
add ecx, 0xffffffd0
jmp 0x4473a4
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x4473b7
inc edi
test esi, esi
je 0x4473bc
dec edi
inc edx
jmp 0x447350
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
je 0x44746e
mov eax, dword [ebp - 0x10]
shl edi, 2
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x70
je 0x4473dd
cmp al, 0x50
jne 0x44743f
mov al, byte [edx + 1]
xor ecx, ecx
mov byte [ebp - 1], al
cmp al, 0x2d
jne 0x4473f1
lea esi, [ecx + 1]
lea eax, [ecx + 2]
jmp 0x4473fd
xor eax, eax
xor esi, esi
cmp byte [ebp - 1], 0x2b
sete al
inc eax
add edx, eax
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x517c01], 2
je 0x44746e
movsx eax, byte [ebp - 1]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x517c01], 2
jne 0x447410
mov eax, ecx
neg eax
test esi, esi
cmove eax, ecx
add edi, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
cmp dword [ebp - 0x14], 0
je 0x44744c
xorps xmm1, xmmword [0x5226a0]
push edi
sub esp, 8
movsd qword [esp], xmm1
call fcn.004d4256
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xorps xmm0, xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4476c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x530010]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
mov ebx, edx
lea edx, [esp + 8]
push esi
push edi
mov dword [esp + 0x1c], ebx
mov edi, ecx
call fcn.00447510
mov esi, eax
test esi, esi
je 0x447720
mov ecx, dword [esp + 0x10]
sub esi, edi
mov edx, dword [esp + 0x14]
mov al, 3
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
push str..xXnN
push edi
call fcn.004de000
add esp, 8
test eax, eax
je 0x447754
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x447756
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push ebx
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.00447480
mov esi, eax
add esp, 4
test esi, esi
jne 0x4477e9
push 0x2e
push edi
call fcn.004c56e0
mov esi, eax
add esp, 8
test esi, esi
je 0x44773d
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447781
sub ecx, edx
cmp ecx, 0xc8
ja 0x44773d
lea edx, [esp + 0x20]
mov ecx, edi
sub edx, edi
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4477a0
call fcn.004d4546
sub esi, edi
lea edx, [esp + 0x10]
push ebx
lea ecx, [esp + 0x24]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + esi + 0x24], al
call fcn.00447480
mov esi, eax
add esp, 4
test esi, esi
je 0x44773d
mov eax, edi
lea ecx, [esp + 0x20]
sub eax, ecx
add esi, eax
test esi, esi
je 0x44773d
mov ebx, dword [esp + 0x1c]
sub esi, edi
movsd xmm0, qword [esp + 0x10]
mov al, 0x13
mov ecx, dword [esp + 0xf4]
pop edi
movsd qword [ebx], xmm0
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop esi
pop ebx
xor ecx, esp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
Function at 0x44d830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov dword [ebp - 8], eax
mov edi, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x48]
xor ebx, eax
test eax, eax
je 0x44d86f
movzx ecx, byte [edx + esi - 1]
mov eax, ebx
shl eax, 5
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
sub esi, 1
jne 0x44d855
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
lea ecx, [edx - 1]
and ecx, ebx
mov edi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x44d916
mov esi, dword [ebp + 8]
nop
movzx eax, byte [edi + 7]
cmp esi, eax
jne 0x44d8e9
mov ecx, dword [ebp - 0xc]
lea edx, [edi + 0x10]
sub esi, 4
jb 0x44d8b4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44d8b9
add ecx, 4
add edx, 4
sub esi, 4
jae 0x44d8a3
cmp esi, 0xfffffffc
je 0x44d8f8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x44d8e6
cmp esi, 0xfffffffd
je 0x44d8f8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x44d8e6
cmp esi, 0xfffffffe
je 0x44d8f8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x44d8e6
cmp esi, 0xffffffff
je 0x44d8f8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x44d8f8
mov esi, dword [ebp + 8]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x44d890
mov edi, dword [ebp - 4]
mov edx, dword [edi + 0x20]
jmp 0x44d919
mov ecx, dword [ebp - 4]
mov al, byte [edi + 5]
mov cl, byte [ecx + 0x4c]
xor cl, 0x18
test al, cl
je 0x44d90d
xor al, 0x18
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp - 8]
cmp eax, edx
jl 0x44d963
cmp eax, 0x7fffffff
jne 0x44d93f
mov edx, 1
mov ecx, esi
call fcn.0044bcb0
cmp dword [edi + 0x1c], 0x7fffffff
je 0x44d9b3
mov ecx, dword [edi + 0x20]
cmp ecx, 0x1fffffff
jg 0x44d957
lea edx, [ecx + ecx]
mov ecx, esi
call fcn.0044d760
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
and ecx, ebx
lea eax, [eax + ecx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, 4
add eax, 0x11
mov ecx, esi
push eax
call fcn.004499e0
mov esi, eax
add esp, 4
mov dword [esi + 8], ebx
lea ecx, [esi + 0x10]
mov ebx, dword [ebp + 8]
push ebx
push dword [ebp - 0xc]
mov byte [esi + 6], 0
push ecx
mov byte [esi + ebx + 0x10], 0
call fcn.004c5f20
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov byte [esi + 7], bl
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, esi
mov dword [ecx], esi
inc dword [edi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 4
mov ecx, esi
call fcn.00448140
int3
Function at 0x46ba40
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x530010]
xor eax, esp
mov dword [esp + 0x298], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push edi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
call esi
cmp eax, 0x6f
jne 0x46bb18
push dword [esp + 0x14]
call fcn.00476a95
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
call esi
test eax, eax
jne 0x46bb0a
mov esi, edi
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x190]
cmp eax, 0x400
jae 0x46bae3
test eax, eax
jne 0x46bac9
mov esi, dword [esi]
test esi, esi
jne 0x46bab0
jmp 0x46bae3
push eax
lea eax, [esi + 0x194]
push eax
push dword [esp + 0x18]
call fcn.004c5f20
mov ebx, dword [esi + 0x190]
add esp, 0xc
push 0x288
push edi
call fcn.00476a87
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00476a44
mov esp, ebp
pop ebp
ret 8
push 0x288
push edi
call fcn.00476a87
add esp, 8
mov ecx, dword [esp + 0x2a4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00476a44
mov esp, ebp
pop ebp
ret 8
Function at 0x46bd70
Capabilities:
Acquire debug privileges
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fafcd
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov bl, 1
push 0x10
push str.SeDebugPrivilege
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004014e0
mov cl, bl
call fcn.0046bc70
add esp, 0x18
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x46bf07
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], esi
push eax
push edi
call ebx
test eax, eax
je 0x46bf07
nop dword [eax + eax]
lea eax, [ebp - 0x234]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea edx, [eax + 2]
mov dword [ebp - 0x14], 7
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46be50
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004014e0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004e0509
add esp, 8
test eax, eax
jne 0x46bebf
mov eax, dword [ebp - 0x250]
cmp eax, esi
je 0x46bebf
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x46beb9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46bef5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46beeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bf59
push edx
push ecx
call fcn.00476a87
add esp, 8
lea eax, [ebp - 0x258]
push eax
push edi
call ebx
test eax, eax
jne 0x46be30
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x46bf3d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bf33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bf59
push edx
push ecx
call fcn.00476a87
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
call fcn.004ca66d
int3
Function at 0x46bf60
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
mov esi, ecx
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], esi
push eax
mov dword [ebp - 0x210], esi
call fcn.004c6550
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46bfd0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004014e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00476a44
mov esp, ebp
pop ebp
ret
Function at 0x46cb40
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb0ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406340
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 8
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae ecx, ebx
push 1
push 0x518990
push 3
mov edx, esi
call fcn.004064c0
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x46cc83
nop
cmp esi, eax
mov dword [ebp - 0x40], 0
mov ecx, eax
mov dword [ebp - 0x30], 0
cmovb ecx, esi
mov dword [ebp - 0x2c], 7
cmp edi, 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x40]
push eax
call fcn.004014e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46cc09
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 8
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x18]
cmovae ecx, ebx
push 1
inc eax
mov edx, esi
push 0x518990
push eax
call fcn.004064c0
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp edx, 8
jb 0x46cc7a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46cc64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46cd01
push edx
push ecx
call fcn.00476a87
mov edi, dword [ebp - 0x14]
add esp, 8
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
cmp eax, 0xffffffff
jne 0x46cbb0
mov ebx, dword [ebp - 0x48]
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x46cc90
mov eax, dword [ebx]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebx + 0x14], 8
jb 0x46cca1
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
test eax, eax
setne bl
cmp edx, 8
jb 0x46cce3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ccd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46cd01
push edx
push ecx
call fcn.00476a87
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
call fcn.004ca66d
int3
Function at 0x46dfb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
cmp esi, 0x1a
jle 0x46e133
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov byte [ebx], al
mov dl, byte [edi + 1]
mov byte [ebx + 1], dl
movzx ecx, byte [edi + 3]
shl cx, 8
mov word [ebx + 2], cx
movzx eax, byte [edi + 2]
add ax, cx
mov word [ebx + 2], ax
movzx ecx, byte [edi + 5]
shl cx, 8
mov word [ebx + 4], cx
movzx eax, byte [edi + 4]
add ax, cx
mov word [ebx + 4], ax
movzx ecx, byte [edi + 7]
shl cx, 8
mov word [ebx + 6], cx
movzx eax, byte [edi + 6]
add ax, cx
mov word [ebx + 6], ax
movzx ecx, byte [edi + 9]
shl cx, 8
mov word [ebx + 8], cx
movzx eax, byte [edi + 8]
add ax, cx
mov word [ebx + 8], ax
movzx ecx, byte [edi + 0xb]
shl cx, 8
mov word [ebx + 0xa], cx
movzx eax, byte [edi + 0xa]
add ax, cx
mov word [ebx + 0xa], ax
movzx ecx, byte [edi + 0xd]
shl cx, 8
mov word [ebx + 0xc], cx
movzx eax, byte [edi + 0xc]
add ax, cx
mov word [ebx + 0xc], ax
movzx eax, byte [edi + 0xe]
mov byte [ebx + 0xe], al
movzx eax, byte [edi + 0xf]
mov byte [ebx + 0xf], al
movzx eax, byte [edi + 0x10]
mov byte [ebx + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [ebx + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [ebx + 0x12], al
movzx ecx, byte [edi + 0x14]
shl cx, 8
mov word [ebx + 0x14], cx
movzx eax, byte [edi + 0x13]
add ax, cx
mov word [ebx + 0x14], ax
movzx ecx, byte [edi + 0x16]
shl cx, 8
mov word [ebx + 0x16], cx
movzx eax, byte [edi + 0x15]
add ax, cx
mov word [ebx + 0x16], ax
mov cl, byte [edi + 0x17]
mov byte [ebx + 0x18], cl
movzx eax, byte [edi + 0x18]
mov byte [ebx + 0x19], al
movzx eax, byte [edi + 0x19]
mov byte [ebx + 0x1a], al
movzx eax, byte [edi + 0x1a]
mov byte [ebx + 0x1b], al
movzx eax, dl
sub esi, eax
movzx eax, dl
push ecx
push esi
add eax, edi
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.0046db10
movzx eax, byte [ebx + 0x19]
lea esi, [ebx + 0x68]
movzx ecx, byte [ebx + 1]
push eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
push esi
call fcn.0046db10
movzx eax, byte [ebx + 0x1a]
movzx ecx, byte [ebx + 1]
push eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
lea eax, [ebx + 0x50]
push eax
call fcn.0046db10
movzx eax, byte [ebx + 0x1b]
movzx ecx, byte [ebx + 1]
push eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
push esi
call fcn.0046db10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46e6d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 8], 0
je case.0x46e701.2
cmp dword [edi + 4], 0
je case.0x46e701.2
movzx eax, byte [edi]
dec eax
cmp eax, 0x10
ja case.0x46e701.2
movzx eax, byte [eax + 0x46e990]
jmp dword [eax*4 + 0x46e97c]
push 0xac
call fcn.00476a57
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0xf
mov byte [esi + 0x34], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0xf
mov byte [esi + 0x64], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0xf
mov byte [esi + 0x7c], 0
push 0xac
mov dword [esi + 0x94], 0
push 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0xf
mov byte [esi + 0x94], 0
push esi
mov byte [esi], 1
call fcn.004c6550
add esp, 0xc
mov ecx, esi
push dword [edi + 4]
push dword [edi + 8]
call fcn.0046dc10
mov eax, esi
pop edi
pop esi
pop ecx
pop ebp
ret 4
push 0x6c
call fcn.00476a57
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0xf
mov byte [esi + 0x24], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0xf
mov byte [esi + 0x3c], 0
push 0x6c
mov dword [esi + 0x54], 0
push 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xf
mov byte [esi + 0x54], 0
push esi
mov byte [esi], 3
call fcn.004c6550
add esp, 0xc
mov ecx, esi
push dword [edi + 4]
push dword [edi + 8]
call fcn.0046dd60
mov eax, esi
pop edi
pop esi
pop ecx
pop ebp
ret 4
push 0x28
call fcn.00476a57
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp + 8], esi
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
mov byte [esi + 0x10], 0
mov byte [esi], 6
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
push dword [edi + 4]
push dword [edi + 8]
call fcn.0046de30
mov eax, esi
pop edi
pop esi
pop ecx
pop ebp
ret 4
push 0x80
call fcn.00476a57
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xf
mov byte [esi + 0x38], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0xf
mov byte [esi + 0x50], 0
push 0x80
mov dword [esi + 0x68], 0
push 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0xf
mov byte [esi + 0x68], 0
push esi
mov byte [esi], 0x11
call fcn.004c6550
add esp, 0xc
mov ecx, esi
push dword [edi + 4]
push dword [edi + 8]
call fcn.0046dfb0
mov eax, esi
pop edi
pop esi
pop ecx
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
pop ebp
ret 4