joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a6b0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c09a
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x5507a0]
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 edi, edx
mov esi, ecx
push 3
xor ebx, ebx
lea eax, [ebp - 0x834]
push ebx
push eax
mov dword [ebp - 0x83c], ebx
call fcn.00407be0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x818]
cmp dword [ebp - 0x820], 8
lea eax, [ebp - 0x834]
push ebx
cmovae eax, dword [ebp - 0x834]
push ebx
push ecx
push eax
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42a8fa
xor eax, eax
mov dword [ebp - 0x81c], 1
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004d8800
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42a766
mov eax, dword [esi]
jmp 0x42a768
mov eax, esi
push 0x400
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42a806
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00404210
push 5
push str.FAT32
mov byte [ebp - 4], 1
mov ebx, 1
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.00408800
test eax, eax
je 0x42a806
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00404210
push 4
push str.NTFS
mov dword [ebp - 4], 2
mov ebx, 3
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.00408800
mov byte [ebp - 0x835], 1
test eax, eax
jne 0x42a80d
mov byte [ebp - 0x835], 0
test bl, 2
je 0x42a849
and ebx, 0xfffffffd
cmp dword [ebp - 0x844], 8
jb 0x42a82c
push dword [ebp - 0x858]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
mov dword [ebp - 4], 0
test bl, 1
je 0x42a86c
cmp dword [ebp - 0x85c], 8
jb 0x42a86c
push dword [ebp - 0x870]
call fcn.00479330
add esp, 4
cmp byte [ebp - 0x835], 0
jne 0x42a8fa
mov edx, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x818]
call fcn.004db81e
mulsd xmm0, qword [0x53c738]
lea eax, [ebp - 0x870]
push 2
push 0
push eax
mov ecx, esi
movsd qword [ebp - 0x840], xmm0
call fcn.00407be0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x42a8b8
mov eax, dword [eax]
mov ecx, eax
call fcn.004293e0
cmp dword [ebp - 0x85c], 8
mov byte [edi], al
jb 0x42a8d8
push dword [ebp - 0x870]
call fcn.00479330
add esp, 4
cmp byte [edi], 0
movsd xmm0, qword [ebp - 0x840]
je 0x42a905
cvttsd2si eax, xmm0
cmp eax, 0x4400
jle 0x42a905
mulsd xmm0, qword [0x53c778]
jmp 0x42a8fd
xorps xmm0, xmm0
movsd qword [ebp - 0x840], xmm0
cmp dword [ebp - 0x820], 8
jb 0x42a924
push dword [ebp - 0x834]
call fcn.00479330
movsd xmm0, qword [ebp - 0x840]
add esp, 4
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.004ce3d2
mov esp, ebp
pop ebp
ret
Function at 0x42aac0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c16f
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x5507a0]
xor eax, esp
mov dword [esp + 0x86c], eax
push ebx
push esi
mov eax, dword [0x5507a0]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
mov esi, ecx
push 3
xor ebx, ebx
lea eax, [esp + 0x60]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.00407be0
mov dword [esp + 0x888], ebx
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
push ebx
cmovae eax, dword [esp + 0x60]
push ebx
push ecx
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42ac72
xor eax, eax
mov dword [esp + 0x58], 1
push 0x7fe
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.004d8800
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42ab71
mov esi, dword [esi]
push 0x400
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x60]
push eax
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42ac05
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x38]
call fcn.00404210
push 5
push str.FAT32
mov byte [esp + 0x890], 1
mov ebx, 1
push dword [eax + 0x10]
mov dword [esp + 0x20], ebx
push ecx
mov ecx, eax
call fcn.00408800
test eax, eax
je 0x42ac05
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
call fcn.00404210
push 4
push str.NTFS
mov dword [esp + 0x890], 2
mov ebx, 3
push dword [eax + 0x10]
mov dword [esp + 0x20], ebx
push ecx
mov ecx, eax
call fcn.00408800
mov byte [esp + 0x13], 1
test eax, eax
jne 0x42ac0a
mov byte [esp + 0x13], 0
test bl, 2
je 0x42ac3c
and ebx, 0xfffffffd
cmp dword [esp + 0x30], 8
jb 0x42ac25
push dword [esp + 0x1c]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
test bl, 1
je 0x42ac54
cmp dword [esp + 0x48], 8
jb 0x42ac54
push dword [esp + 0x34]
call fcn.00479330
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x42ac72
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call fcn.004db81e
mulsd xmm0, qword [0x53c738]
jmp 0x42ac75
xorps xmm0, xmm0
cmp dword [esp + 0x70], 8
movsd qword [esp + 0x14], xmm0
jb 0x42ac94
push dword [esp + 0x5c]
call fcn.00479330
movsd xmm0, qword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x86c]
xor ecx, esp
call fcn.004ce3d2
mov esp, ebp
pop ebp
ret
Function at 0x42bce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c250
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x5507a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x55c0a8], 0
je 0x42bd3b
sub esp, 8
call fcn.00430900
test eax, eax
jne 0x42bd4e
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x42bd36
call fcn.004ccb44
mov eax, dword [ecx]
call dword [eax + 8]
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x55c0c0]
call esi
push 5
push dword [0x55c0bc]
call esi
push str.ad_iron_show
lea ecx, [esp + 0x10]
call fcn.00404210
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 0
push eax
mov ecx, 0x55c100
call fcn.004056f0
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x4c], 1
push eax
mov ecx, 0x55c100
call fcn.00407950
cmp dword [esp + 0x38], 8
jb 0x42bdb5
push dword [esp + 0x24]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x20], 8
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
jb 0x42bde7
push dword [esp + 0xc]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
sub esp, 0x18
mov word [esp + 0x24], ax
mov eax, esp
mov dword [esp + 0x34], 0
mov ecx, 0x55c440
push str.ad_show
mov dword [eax + 0x10], 0
call fcn.00418e00
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42be30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c288
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5507a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x55c0c4]
call fcn.00430bb0
test eax, eax
jne 0x42be9a
push eax
push dword [0x55c0c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x55c0bc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42be95
call fcn.004ccb44
mov eax, dword [ecx]
call dword [eax + 8]
push 0xe
xor eax, eax
mov dword [ebp - 0x18], 7
push str.ad_iron_reject
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004040e0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x55c100
call fcn.004056f0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403d50
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403d50
mov ecx, 0x55c360
mov byte [ebp - 4], 1
call fcn.004143f0
cmp dword [ebp - 0x30], 8
jb 0x42bf41
push dword [ebp - 0x44]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x42bf6d
push dword [ebp - 0x2c]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
sub esp, 0x18
mov word [ebp - 0x2c], ax
mov eax, esp
mov dword [ebp - 0x1c], 0
mov ecx, 0x55c440
push str.ad_reject
mov dword [eax + 0x10], 0
call fcn.00418e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42bfb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c288
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5507a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x55c0c4]
call fcn.00430b10
test eax, eax
jne 0x42c01a
push eax
push dword [0x55c0c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x55c0bc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42c00c
call fcn.004ccb44
mov eax, dword [ecx]
call dword [eax + 8]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xe
xor eax, eax
mov byte [edi + 0x43], 1
push str.ad_iron_accept
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004040e0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x55c100
call fcn.004056f0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403d50
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403d50
mov ecx, 0x55c360
mov byte [ebp - 4], 1
call fcn.004143f0
cmp dword [ebp - 0x30], 8
jb 0x42c0c5
push dword [ebp - 0x44]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x42c0f1
push dword [ebp - 0x2c]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
sub esp, 0x18
mov word [ebp - 0x2c], ax
mov eax, esp
mov dword [ebp - 0x1c], 0
mov ecx, 0x55c440
push str.ad_accept
mov dword [eax + 0x10], 0
call fcn.00418e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42d470
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x42d398
mov eax, dword [0x55c56c]
inc eax
mov dword [0x55c56c], eax
jmp 0x42d3b4
push str.time_not_init
push 0x24c
push str.SDKAPIImpl::showADWindow::_lambda_3a419ee6a402fcc6e5fd5751bd3e187c_::operator___
call fcn.00432cf0
mov eax, dword [0x55c56c]
add esp, 0xc
cmp eax, 1
jne 0x42d42c
mov eax, dword [esi]
mov dword [0x55c570], 0x3e8
cmp byte [eax + 0x42], 0
je 0x42d3fa
cmp byte [0x55c0a8], 0
je 0x42d3f1
mov eax, dword [esi + 8]
sub eax, 0xb6
push eax
mov eax, dword [esi + 4]
sub eax, 0xaa
push eax
sub esp, 8
push dword [esi + 0xc]
call fcn.00430260
mov ecx, dword [esi]
call fcn.0042bce0
jmp 0x42d42c
push str.init_ret_is_false
push 0x256
push str.SDKAPIImpl::showADWindow::_lambda_3a419ee6a402fcc6e5fd5751bd3e187c_::operator___
call fcn.00432cf0
mov eax, dword [esi]
add esp, 0xc
push 0
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x42d464
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x55c570]
inc eax
mov dword [0x55c570], eax
cmp eax, 0x14
jne 0x42d462
mov eax, dword [esi]
push 0
mov dword [0x55c56c], 0xa
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x42d469
mov eax, dword [ecx]
pop esi
jmp dword [eax + 8]
pop esi
ret
call fcn.004ccb44
call fcn.004ccb44
int3
add ecx, 4
jmp 0x42d380
Function at 0x42d5b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c360
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5507a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
and eax, 0xfffffffe
cmp dword [ecx + 0x38], 0
jne 0x42d5f3
or eax, 4
push 0
push eax
call fcn.0042e600
mov eax, dword [esi]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x42d611
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042e700
mov byte [esp + 0x10], al
mov dword [esp + 0x38], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x42d6a1
mov ecx, dword [eax + esi + 0x38]
movdqu xmm0, xmmword [ebp + 8]
push 1
sub esp, 0x18
mov edx, dword [ecx]
mov eax, esp
movdqu xmmword [eax], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [eax + 0x10], xmm0
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x525b08]
jne 0x42d6a1
cmp ecx, dword [0x525b0c]
jne 0x42d6a1
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42d699
or eax, 4
push 0
push eax
call fcn.0042e600
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x42d6bb
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x42e390
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c538
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5507a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00403520
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.0042e2c0
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x42e401
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004cf6d8
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x42e42a
push dword [esp + 0xc]
call fcn.00479330
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42fb20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c658
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5507a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5507a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x42fc74
cmp byte [ebx + 0x45], 0
je 0x42fc74
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42fb80
xor al, al
jmp 0x42fc76
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x42fbc0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42fc01
dec eax
je 0x42fc05
sub eax, 2
je 0x42fc5b
xor bl, bl
jmp 0x42fc5d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x42fc3c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004d593f
add esp, 0x10
cmp esi, eax
jne 0x42fbfd
cmp byte [ebx + 0x45], 0
je 0x42fc5b
test esi, esi
jne 0x42fbc0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040e210
jmp 0x42fbc0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x42fc70
push dword [esp + 0x18]
call fcn.00479330
add esp, 4
mov al, bl
jmp 0x42fc76
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ce3d2
mov esp, ebp
pop ebp
ret
Function at 0x430760
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c7f0
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5507a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x26c], esi
cmp eax, 0x64
jne 0x4307b6
mov eax, dword [esi + 8]
test eax, eax
je 0x4307ca
push str._force_:_true_
jmp 0x4307c6
test eax, eax
jne 0x4307ca
mov eax, dword [esi + 8]
test eax, eax
je 0x4307ca
push 0x534b74
push 9
call eax
push dword [esi + 4]
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x53c3a0
lea edx, [esi + 0xc]
mov dword [esi + 0x40], 7
lea ecx, [ebp - 0x284]
call fcn.00408350
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4307ff
mov eax, dword [eax]
lea ecx, [ebp - 0x268]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x270], 8
mov edi, eax
jb 0x430826
push dword [ebp - 0x284]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [ebp - 0x270], 7
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], ax
cmp edi, 0xffffffff
je 0x4308a8
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4308a8
cmp word [ebp - 0x23c], 0x2e
je 0x430850
lea eax, [ebp - 0x23c]
push eax
lea edx, [esi + 0xc]
lea ecx, [ebp - 0x29c]
call fcn.00408350
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x43088c
mov eax, dword [eax]
push eax
call ebx
cmp dword [ebp - 0x288], 8
jb 0x430850
push dword [ebp - 0x29c]
call fcn.00479330
add esp, 4
jmp 0x430850
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x4308ba
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
jmp 0x4308e4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ce3d2
mov esp, ebp
pop ebp
ret
Function at 0x430d10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5507a0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5507a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x30]
push eax
call fcn.00430f50
push 0
push 0x534b74
mov dword [esp + 0x60], 0
push dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x40]
call fcn.00408800
test eax, eax
je 0x430e8f
push str.Setup_
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.00408350
mov edi, eax
lea esi, [ebx + 0xc]
add esp, 4
cmp esi, edi
je 0x430dc1
cmp dword [esi + 0x14], 8
jb 0x430da6
push dword [esi]
call fcn.00479330
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.0040d6c0
cmp dword [esp + 0x2c], 8
jb 0x430dd4
push dword [esp + 0x18]
call fcn.00479330
add esp, 4
push 0x53c408
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00408350
lea edi, [ebx + 0x24]
mov dword [esp + 0x18], eax
add esp, 4
cmp edi, eax
je 0x430e21
cmp dword [edi + 0x14], 8
jb 0x430e06
push dword [edi]
call fcn.00479330
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
call fcn.0040d6c0
cmp dword [esp + 0x2c], 8
jb 0x430e34
push dword [esp + 0x18]
call fcn.00479330
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x430e3e
mov eax, dword [esi]
jmp 0x430e40
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x430e51
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.00430ed0
test al, al
je 0x430e8f
cmp dword [edi + 0x14], 8
jb 0x430e65
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
test eax, eax
je 0x430e8f
push str.InvokeW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
jne 0x430ec4
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor bl, bl
cmp dword [esp + 0x44], 8
jb 0x430ea4
push dword [esp + 0x30]
call fcn.00479330
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004ce3d2
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x430e91