joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aa30
Capabilities:
Delete file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, ecx
push edi
mov edi, dword [ebp + 4]
test edi, edi
jle 0x42ab31
mov eax, dword [esp + 0x218]
lea edx, [esp + 8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42aa60
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42aa71
sub eax, edx
cmp byte [esp + eax + 7], 0x5c
jne 0x42aa95
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42aa88
sub eax, edx
mov byte [esp + eax + 7], cl
dec edi
mov eax, edi
cdq
push ebx
push esi
sub eax, edx
mov esi, eax
sar esi, 1
mov ecx, esi
shl ecx, 0xa
add ecx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ecx
xor ebx, ebx
call fcn.00566c26
add esp, 8
test eax, eax
je 0x42aaef
jle 0x42aac4
lea edi, [esi - 1]
jmp 0x42aac7
lea ebx, [esi + 1]
cmp edi, ebx
jl 0x42ab2f
lea eax, [edi + ebx]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov eax, esi
shl eax, 0xa
add eax, dword [ebp]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00566c26
add esp, 8
test eax, eax
jne 0x42aabd
mov ecx, dword [ebp]
mov edi, esi
shl edi, 0xa
lea edx, [edi + ecx + 0x200]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 4]
lea ecx, [eax - 1]
cmp esi, ecx
jge 0x42ab2c
mov edx, dword [ebp]
sub eax, esi
dec eax
shl eax, 0xa
lea ecx, [edi + edx]
push eax
lea eax, [ecx + 0x400]
push eax
push ecx
call fcn.0055c910
add esp, 0xc
dec dword [ebp + 4]
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
xor ecx, esp
call fcn.0055953b
add esp, 0x20c
ret 4
Function at 0x42b5c0
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x57ba50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x2c], 0
call fcn.0042b470
add esp, 8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00403590
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or ebp, 0xffffffff
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b636
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x2c]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x42b65f
push esi
lea ecx, [esp + 0x30]
call fcn.00402a00
mov edx, dword [esp + 0x2c]
mov byte [edi + edx], 0x5c
test esi, esi
jl 0x42b733
mov eax, dword [esp + 0x2c]
cmp esi, dword [eax - 8]
jg 0x42b733
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x2c]
push 1
mov byte [esi + ecx], 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [esp + 0x34]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x42b6e7
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebp
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42b6d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, dword [esp + 0x30]
mov dword [edx], eax
cmp eax, 1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebp
jbe 0x42b6b9
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42b71e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push 0x80070057
call fcn.00401090
int3
Function at 0x42c190
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x57bb20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x2c], 0
call fcn.0042b470
add esp, 8
mov edx, dword [esp + 0x2c]
cmp dword [edx - 0xc], 0
mov byte [esp + 0x24], 1
jne 0x42c25a
cmp byte [ebp + 0xc], 0
je 0x42c1f8
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
je 0x42c1f8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp + 0xc], 0
or esi, 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42c244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov esi, dword [ebp + 0x18]
mov ebx, esi
test esi, esi
je 0x42c1fc
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.00402a50
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0042b940
sub eax, 0
je 0x42c1fc
sub eax, 1
je 0x42c2ab
sub eax, 2
je 0x42c1fc
mov ebx, esi
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x42c263
jmp 0x42c1fc
mov eax, dword [ebp + 0x18]
cmp esi, eax
jne 0x42c2ba
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x18], eax
jmp 0x42c2d1
cmp esi, dword [ebp + 0x1c]
jne 0x42c2cb
mov dword [ebp + 0x1c], ebx
mov dword [ebx + 0x10], 0
jmp 0x42c2d1
mov ecx, dword [esi + 0x10]
mov dword [ebx + 0x10], ecx
test esi, esi
je 0x42c2df
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
or esi, 0xffffffff
add dword [ebp + 0x14], esi
jmp 0x42c1ff
Function at 0x42cdb0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x57bc98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], ebp
call fcn.00547228
push ebp
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 1
mov dword [esp + 0x20], ebp
lea esi, [ebp + 0x64]
call fcn.00429c70
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x48], 2
mov edi, edi
lea eax, [esp + 0x2c]
push eax
push 0x8012
push ebx
lea ecx, [esp + 0x28]
call fcn.0054763d
test eax, eax
jne 0x42ce41
cmp dword [esp + 0x34], 5
jne 0x42cedc
push 0x64
call ebp
dec esi
test esi, esi
jg 0x42ce10
jmp 0x42cedc
mov ecx, edi
call fcn.0042a790
lea ecx, [esp + 0x1c]
call fcn.0042a6d0
test al, al
je 0x42cebe
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.0042bfc0
test al, al
je 0x42cebe
mov eax, dword [esp + 0x50]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402a50
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.0042c190
cmp dword [edi + 0x14], 0
je 0x42ceb6
cmp byte [edi + 0xc], 0
jne 0x42ceb6
push 0
push 0
lea ecx, [esp + 0x24]
call fcn.005470dd
lea ecx, [esp + 0x1c]
call fcn.0042a640
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.0042ae60
jmp 0x42cebe
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x1c]
call fcn.005471c2
mov ecx, edi
call fcn.0042a790
cmp dword [esp + 0x14], 0
je 0x42cedc
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x2c], vtable.CFileException.0
mov byte [esp + 0x48], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0
call fcn.00547303
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x48], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
Function at 0x42e450
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
ret

Function at 0x42e480
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
lea eax, [esp]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42e4bf
mov eax, dword [esp + 4]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
add esp, 8
ret

Function at 0x42e4d0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret

Function at 0x42eb90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x414
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SoftWareAutodeskAutoCAD
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42ecdd
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push str.Curver
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 0x400
call edi
test eax, eax
jne 0x42ecd2
cmp dword [esp + 0xc], ebx
jbe 0x42ecd2
push 0x20019
lea ecx, [esp + 0x20]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004012e0
test eax, eax
jne 0x42ecce
mov esi, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.Curver
push esi
mov dword [esp + 0x24], 0x400
call edi
test eax, eax
jne 0x42ecd2
cmp dword [esp + 0xc], ebx
jbe 0x42ecd2
push 0x20019
lea edx, [esp + 0x20]
push edx
push esi
lea ecx, [esp + 0x1c]
call fcn.004012e0
test eax, eax
jne 0x42ecce
lea eax, [esp + 0xc]
push eax
push str.ACAD
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], 0x400
call fcn.0042e450
add esp, 0x10
test eax, eax
jne 0x42ecc5
cmp dword [esp + 0xc], ebx
jbe 0x42ecc5
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.gsio.dll_DWG_SetSearchDirectories]
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00402260
jmp 0x42ecdd
lea ecx, [esp + 0x10]
call fcn.00401210
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x42ecdd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0055953b
add esp, 0x414
ret
Function at 0x42ed00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x418
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SoftWareAutodeskAutoCAD
push SysReAllocString
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1b], bl
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42eef4
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push str.Curver
mov ebp, 0x400
push esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
jne 0x42eecc
cmp dword [esp + 0x14], ebx
jbe 0x42eecc
push 0x20019
lea ecx, [esp + 0x28]
push ecx
push esi
lea ecx, [esp + 0x24]
call fcn.004012e0
test eax, eax
jne 0x42eec8
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.Curver
push esi
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
jne 0x42eecc
cmp dword [esp + 0x14], ebx
jbe 0x42eecc
push 0x20019
lea edx, [esp + 0x28]
push edx
push esi
lea ecx, [esp + 0x24]
call fcn.004012e0
test eax, eax
jne 0x42eec8
mov eax, dword [esp + 0x18]
push 0x20019
push str.Profiles
push eax
lea ecx, [esp + 0x24]
call fcn.004012e0
test eax, eax
jne 0x42eec8
lea ecx, [esp + 0x14]
push ecx
push 0x587fe5
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x24], ebp
call fcn.0042e450
add esp, 0x10
test eax, eax
jne 0x42eec8
cmp dword [esp + 0x14], ebx
jbe 0x42eec8
mov edx, dword [esp + 0x18]
push 0x20019
lea ecx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.004012e0
test eax, eax
jne 0x42eec8
mov eax, dword [esp + 0x18]
push 0x20019
push str.General
push eax
lea ecx, [esp + 0x24]
call fcn.004012e0
test eax, eax
jne 0x42eec8
lea ecx, [esp + 0x14]
push ecx
push str.ACAD
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x24], ebp
call fcn.0042e450
add esp, 0x10
test eax, eax
jne 0x42eebf
cmp dword [esp + 0x14], ebx
jbe 0x42eebf
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.gsio.dll_DWG_SetSearchDirectories]
add esp, 4
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x18]
call fcn.00401210
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x42eed7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0055953b
add esp, 0x418
ret
mov ecx, dword [esp + 0x418]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0055953b
add esp, 0x418
ret
Function at 0x430e60
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x57c0d6
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x16c]
push eax
lea ecx, [esp + 0x14]
call fcn.00404370
mov eax, dword [esp + 0x10]
push 0x5c
xor ebx, ebx
push eax
mov dword [esp + 0x16c], ebx
call fcn.0055d099
mov esi, dword [esp + 0x18]
add esp, 8
or edi, 0xffffffff
cmp eax, ebx
jne 0x430ed2
mov eax, edi
jmp 0x430ed4
sub eax, esi
mov ecx, dword [esi - 0xc]
dec ecx
cmp eax, ecx
jne 0x430f84
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406df0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 1
call fcn.00403590
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x164], bl
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430f27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], ebx
jle 0x430f49
push 0x5c
push esi
call fcn.0055b924
mov esi, dword [esp + 0x18]
add esp, 8
cmp eax, ebx
je 0x430f49
sub eax, esi
cmp eax, edi
jne 0x430f84
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x430f5a
cmp eax, 4
jne 0x430f5c
mov bl, 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x164], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x430f80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x430fe0
push 0x140
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00559e10
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, edi
je 0x430fba
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x18]
shr ebx, 4
and bl, 1
jmp 0x430f5c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x164], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x430fde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.0055953b
add esp, 0x158
ret
Function at 0x4313a0
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
push edi
push 0x103
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.00559e10
add esp, 0xc
xor ebp, ebp
cmp byte [ebx], 0
je 0x431456
lea edi, [esp + 0x10]
mov esi, ebx
sub edi, ebx
mov al, byte [esi]
mov byte [edi + esi], al
cmp al, 0x5c
jne 0x431422
cmp byte [esp + ebp + 0xf], 0x3a
mov byte [edi + esi], 0
je 0x43141d
lea ecx, [esp + 0x10]
push ecx
call fcn.00430e60
add esp, 4
test al, al
jne 0x43141d
push 0
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x431452
mov al, byte [esi]
mov byte [edi + esi], al
inc esi
inc ebp
cmp byte [esi], 0
jne 0x4313e7
test ebp, ebp
jle 0x431456
cmp byte [ebx + ebp - 1], 0x5c
je 0x431456
push ebx
call fcn.00430e60
add esp, 4
test al, al
jne 0x431456
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
neg eax
jmp 0x431458
xor al, al
jmp 0x431458
mov al, 1
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055953b
add esp, 0x108
ret
Function at 0x432a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57c25b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.TSaveLibTask.0
lea edi, [esi + 4]
call fcn.005322b0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432aad
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
test edx, edx
jne 0x432acf
xor eax, eax
jmp 0x432add
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432ad4
sub eax, ebx
push eax
push edx
mov ecx, edi
call fcn.00403070
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dl, byte [esp + 0x2c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x10], eax
mov byte [esi + 0xc], dl
mov dword [esi + 0x14], ecx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4390c0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x7594]
test eax, eax
jle 0x439103
mov ecx, dword [esi + 0x7588]
push ecx
push eax
call fcn.0055d927
mov edx, dword [esi + 0x7588]
mov eax, dword [esi + 0x7594]
push edx
push eax
lea ecx, [esi + 0x7598]
push 1
push ecx
call fcn.0055db95
add esp, 0x18
mov dword [esi + 0x7594], 0
pop esi
ret

Function at 0x4391b0
Capabilities:
Write file on windows

Disassembly:
push ebp
movsx ebp, word [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx*4 + 0x5debf8]
and dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
push edi
test ecx, ecx
jle 0x4391d9
mov edx, ebp
shl edx, cl
or edx, eax
mov dword [esi + 0x24], edx
jmp 0x4391dc
mov dword [esi + 0x24], ebp
mov eax, dword [esi + 0x30]
add eax, ecx
cmp eax, 8
mov dword [esi + 0x28], eax
mov edi, 1
jl 0x43925a
mov edi, edi
mov ecx, dword [esi + 0x7594]
mov dl, byte [esi + 0x24]
mov byte [esi + ecx + 0x7598], dl
add dword [esi + 0x7594], edi
mov eax, dword [esi + 0x7594]
cmp eax, 0xfe
jl 0x43924c
test eax, eax
jle 0x43924c
mov ecx, dword [esi + 0x7588]
push ecx
push eax
call fcn.0055d927
mov edx, dword [esi + 0x7588]
mov eax, dword [esi + 0x7594]
push edx
push eax
lea ecx, [esi + 0x7598]
push edi
push ecx
call fcn.0055db95
add esp, 0x18
mov dword [esi + 0x7594], 0
shr dword [esi + 0x24], 8
add dword [esi + 0x28], 0xfffffff8
cmp dword [esi + 0x28], 8
jge 0x4391f0
mov dx, word [esi + 0x757e]
cmp dx, word [esi + 0x38]
jg 0x439270
cmp dword [esi + 0x7580], 0
je 0x4392b7
cmp dword [esi + 0x7580], 0
je 0x439298
mov ecx, dword [esi + 0x7584]
mov eax, edi
shl eax, cl
mov dword [esi + 0x30], ecx
mov dword [esi + 0x7580], 0
sub eax, edi
mov word [esi + 0x38], ax
jmp 0x4392b7
add dword [esi + 0x30], edi
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jne 0x4392ad
mov cx, word [esi + 0x3a]
mov word [esi + 0x38], cx
jmp 0x4392b7
mov edx, edi
shl edx, cl
sub edx, edi
mov word [esi + 0x38], dx
cmp ebp, dword [esi + 0x7590]
jne 0x43936e
cmp dword [esi + 0x28], 0
jle 0x43933a
lea esp, [esp]
mov eax, dword [esi + 0x7594]
mov cl, byte [esi + 0x24]
mov byte [esi + eax + 0x7598], cl
add dword [esi + 0x7594], edi
mov eax, dword [esi + 0x7594]
cmp eax, 0xfe
jl 0x43932c
test eax, eax
jle 0x43932c
mov edx, dword [esi + 0x7588]
push edx
push eax
call fcn.0055d927
mov eax, dword [esi + 0x7588]
mov ecx, dword [esi + 0x7594]
push eax
push ecx
lea edx, [esi + 0x7598]
push edi
push edx
call fcn.0055db95
add esp, 0x18
mov dword [esi + 0x7594], 0
shr dword [esi + 0x24], 8
add dword [esi + 0x28], 0xfffffff8
cmp dword [esi + 0x28], 0
jg 0x4392d0
mov ecx, esi
call fcn.004390c0
mov eax, dword [esi + 0x7588]
push eax
call fcn.0055ab7d
mov ecx, dword [esi + 0x7588]
push ecx
call fcn.0055dc4b
add esp, 8
test eax, eax
je 0x43936e
push 0
push 0
push 0x58c628
call fcn.00527120
pop edi
pop esi
pop ebp
ret 4