joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5239c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62555b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 4], 0x498708
mov dword [ebp - 4], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ebx, dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 4], 1
cmp byte [edi + 0xc], 0
mov ecx, dword [ebx + 0xc]
jne 0x523a41
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
mov ecx, eax
mov edx, dword [edi + 4]
add edx, ecx
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x523a50
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 8]
call fcn.004c82a0
mov eax, dword [ebx + 4]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebx]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x526e3b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x526e4e
test al, 0x10
je 0x526e4e
mov al, 1
ret
xor al, al
ret

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

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x526e6b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x526e7e
test al, 0x10
jne 0x526e7e
mov al, 1
ret
xor al, al
ret
Function at 0x527900
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x625cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp + 0x210], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x5279fb
push 0x105
lea eax, [ebp + 4]
push 0
push eax
call fcn.0060a6d0
add esp, 0xc
lea eax, [ebp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527980
sub ecx, edx
lea eax, [ebp + 4]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.004c82a0
mov dword [ebp - 0x28], 0x49a3f8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00524a30
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x498708
cmp edx, 0x10
jb 0x527acc
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x527ac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x527aef
jmp 0x527ac2
push 0x104
lea eax, [ebp + 0x10c]
push 0
push eax
call fcn.0060a6d0
lea eax, [esi + 4]
mov dword [ebp], 0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x527a23
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x10c]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp + 0x10c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527a55
sub ecx, edx
lea eax, [ebp + 0x10c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004c82a0
mov dword [ebp - 0x44], 0x49a3f8
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00524a30
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x498708
cmp edx, 0x10
jb 0x527acc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x527ac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x527af4
push edx
push ecx
call fcn.006084e7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.00608a00
lea esp, [ebp + 0x214]
pop ebp
ret
call fcn.00540ccc
call fcn.00540ccc
int3
Function at 0x527c70
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x625d2d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp + 0x108], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.0060a6d0
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527ce3
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.004c82a0
mov dword [ebp - 0x28], 0x49a3f8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00524a30
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x498708
cmp edx, 0x10
jb 0x527d57
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x527d4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x527d7a
push edx
push ecx
call fcn.006084e7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.00608a00
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.00540ccc
int3

Function at 0x52ba90
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x6262d6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp + 0x108], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x114]
mov ecx, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.005264d0
mov dword [edi + 0x14], 0
lea eax, [edi + 4]
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
jb 0x52bb07
mov eax, dword [edi + 4]
mov byte [eax], 0
lea eax, [ebp]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52bb31
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004c82a0
mov dword [ebp - 0x2c], 0x498708
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [edi + 4]
push eax
mov dword [ebp - 4], 1
call fcn.004c8070
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x52bba7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x52bb9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52bbcb
push edx
push ecx
call fcn.006084e7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.00608a00
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.00540ccc
int3
Function at 0x52bee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626369
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], 0x498554
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push eax
call fcn.00609ca5
add esp, 8
mov dword [edi], 0x49a54c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x14], 0x498708
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x498708
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x498708
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x498708
push esi
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.0052d000
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x52bff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6263e1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x659af8]
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 edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x1c], eax
movq qword [edx + 4], xmm0
mov eax, dword [ebp + 8]
lea esi, [edx + 0x14]
mov dword [edx + 0x10], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [edx], 0x49a54c
mov byte [edx + 0xc], 0
mov dword [ebp - 0x18], esi
call fcn.004be960
mov dword [esi], 0x498708
mov esi, dword [ebp - 0x14]
lea eax, [edi + 4]
add esi, 0x30
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
call fcn.004be960
mov dword [esi], 0x498708
mov edi, dword [ebp - 0x14]
lea eax, [ebx + 4]
push eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x4c]
lea ecx, [esi + 4]
mov dword [ebp - 0x18], esi
call fcn.004be960
mov dword [esi], 0x498708
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x498708
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0
jne 0x52c122
lea eax, [ebp - 0x38]
push eax
call fcn.0052e340
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
call fcn.00524a30
mov dword [ebp - 0x38], 0x498708
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x52c179
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.004c84c0
jmp 0x52c179
push 1
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0052e150
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push eax
call fcn.0052e340
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 8
call fcn.00524a30
mov dword [ebp - 0x38], 0x498708
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 9
cmp eax, 0x10
jb 0x52c171
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.004c84c0
lea ecx, [ebp - 0x14]
call fcn.0052e260
mov eax, edi
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.00608a00
mov esp, ebp
pop ebp
ret 0x14
Function at 0x52c1a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626451
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movq qword [edi + 4], xmm0
mov dword [edi], 0x49a54c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x14], 0x498708
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x498708
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x498708
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x498708
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.0052e340
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
call fcn.00524a30
mov dword [ebp - 0x2c], 0x498708
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x52c2a4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004c84c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x52d000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6264e3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.00524a30
lea eax, [ebx + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00524a30
lea eax, [ebx + 0x4c]
push eax
lea ecx, [edi + 0x4c]
call fcn.00524a30
lea eax, [ebx + 0x68]
push eax
lea ecx, [edi + 0x68]
call fcn.00524a30
mov al, byte [ebx + 0xc]
mov byte [edi + 0xc], al
test al, al
je 0x52d0e9
push 0x1c
call fcn.006084b7
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x52d09e
mov ecx, dword [ebx + 0x84]
add ecx, 4
push ecx
lea ecx, [esi + 4]
call fcn.004be960
mov dword [esi], 0x498708
jmp 0x52d0a0
xor esi, esi
push 0x1c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x84], esi
call fcn.006084b7
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x52d0e1
mov ecx, dword [ebx + 0x88]
add ecx, 4
push ecx
lea ecx, [esi + 4]
call fcn.004be960
mov dword [esi], 0x498708
jmp 0x52d0e3
xor esi, esi
mov dword [edi + 0x88], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x52f0d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626934
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
inc dword [0x660098]
mov eax, dword [0x660094]
test eax, eax
jne 0x52f29b
push 0x34
call fcn.006084b7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x52f291
push 0x34
push 0
push esi
call fcn.0060a6d0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0x49a624
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49a630
push eax
mov dword [esi + 4], eax
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x52f22a
push 0x49a64c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
test eax, eax
je 0x52f22a
push 0x49a65c
push eax
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x52f22a
push 0x49a678
push dword [esi]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x52f22a
push 0x49a688
push dword [esi]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x52f22a
push 0x49a698
push dword [esi]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x52f22a
push 0x49a6a8
push dword [esi]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x52f22a
push 0x49a6b8
push dword [esi]
call edi
push 0x49a6c8
push dword [esi]
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x30], eax
jmp 0x52f293
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x52f269
push eax
call edi
mov dword [esi], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x52f293
push eax
call edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x52f293
xor esi, esi
mov dword [0x660094], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x52f6e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x659af8]
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 esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], 0xffffffff
je 0x52f80b
call fcn.00526e60
test al, al
je 0x52f80b
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.005267f0
cmp dword [edi + 0x14], 0
mov dword [ebp - 4], 0
jne 0x52f74d
xor eax, eax
jmp 0x52f758
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x52f758
mov eax, dword [eax]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0x440
jb 0x52f798
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
jne 0x52f7b1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x52f7bc
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x52f7bc
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x52f7e2
lea ecx, [ebp - 0x2c]
xor bl, bl
call fcn.004c06a0
mov al, bl
jmp 0x52f80d
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x52f7f4
push dword [ebp - 0x30]
call eax
mov dword [esi + 0x1c], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov bl, 1
call fcn.004c06a0
mov al, bl
jmp 0x52f80d
xor al, al
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.00608a00
mov esp, ebp
pop ebp
ret 8
Function at 0x5308d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626cc3
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
shr eax, 0xe
and al, 1
je 0x530a96
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 4]
call fcn.00527f80
mov edi, dword [ebp - 0x18]
mov eax, 0x92492493
mov esi, dword [ebp - 0x1c]
mov ecx, edi
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x530a36
lea ecx, [ebp - 0x5c]
call fcn.005264d0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp edi, dword [ebp - 0x18]
je 0x530a28
nop
push edi
lea ecx, [ebp - 0x12c]
call fcn.00526440
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
call fcn.005266c0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.004c06a0
lea ecx, [ebp - 0x5c]
call fcn.00526e30
test al, al
jne 0x530a1c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x40], xmm0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x49a750
xor esi, 0x4000
movups xmmword [ebp - 0x30], xmm0
call fcn.00526440
mov dword [ebp - 0x20], 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.005308d0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0x49a750
test ecx, ecx
je 0x530a14
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.004c06a0
add edi, 0x1c
cmp edi, dword [ebp - 0x18]
jne 0x530980
lea ecx, [ebp - 0x5c]
call fcn.004c06a0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 4
test esi, esi
je 0x530a79
cmp esi, edi
je 0x530a57
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x530a45
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
lea ecx, [ebp - 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004c8730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x530aa1
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x530a79
push 0xac
lea ecx, [ebp - 0x108]
call fcn.004c7d80
call fcn.00525920
push eax
call fcn.00525920
push eax
call fcn.00525920
push eax
call fcn.00525920
push eax
push 0x3ec
lea ecx, [ebp - 0x108]
call fcn.005263e0
mov dword [ebp - 4], 5
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x108]
call fcn.005311d0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x108]
call fcn.00527e70
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00526340
push 0x63dd44
lea eax, [ebp - 0x1d8]
push eax
call fcn.00609d27
int3