Function at 0x10064d50
Capabilities:
Create directory
Enumerate files on windows

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
push 0xffffffffffffffff
push 0x100b7610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x190
push esi
push edi
mov ecx, str.Config
call fcn.10072fc0
xor edi, edi
mov dword [ebp - 0x44], 0
xor esi, esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
push 0x10400afc
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.10008860
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ecx, dword [ebp - 0x28]
sub eax, ecx
push 6
push 0x103b526c
cmp eax, 6
jb 0x10064ded
cmp edx, 0x10
lea esi, [ebp - 0x38]
lea eax, [ecx + 6]
cmovae esi, dword [ebp - 0x38]
add esi, ecx
mov dword [ebp - 0x28], eax
push esi
call fcn.100904f0
mov byte [esi + 6], 0
add esp, 0xc
mov esi, dword [ebp - 0x3c]
jmp 0x10064dfe
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0x1c]
push 6
call fcn.1000a730
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x1a0]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x10064e93
nop
cmp esi, edi
je 0x10064e60
lea ecx, [ebp - 0x174]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10064e40
sub ecx, edx
lea eax, [ebp - 0x174]
push ecx
push eax
mov ecx, edi
call fcn.100048b0
add edi, 0x18
mov dword [ebp - 0x40], edi
jmp 0x10064e76
lea eax, [ebp - 0x174]
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.10066180
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10064e20
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x10064ecb
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10064ec1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065396
push edx
push ecx
call fcn.10078b5e
add esp, 8
movss xmm0, dword [0x103b736c]
call fcn.10038be0
mov esi, dword [ebp - 0x44]
cmp esi, edi
je 0x10065149
mov eax, dword [0x104005c0]
lea eax, [eax + eax*2]
cmp dword [esi + eax*8 + 0x14], 0x10
lea edx, [esi + eax*8]
jb 0x10064ef7
mov edx, dword [edx]
push 0x20
mov ecx, str.SelectConfig
call fcn.1004faa0
add esp, 4
test al, al
je 0x10064f77
sub edi, esi
mov eax, 0x2aaaaaab
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
je 0x10064f72
mov ecx, dword [0x104005c0]
xor edi, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp edi, ecx
mov ecx, esi
sete dl
cmp dword [esi + 0x14], 0x10
jb 0x10064f47
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10059c10
mov ecx, dword [0x104005c0]
add esp, 8
test al, al
cmovne ecx, edi
inc edi
add esi, 0x18
mov dword [0x104005c0], ecx
cmp edi, dword [ebp - 0x1c]
jb 0x10064f38
mov esi, dword [ebp - 0x44]
call fcn.1003a100
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str._Save___Config
mov dword [ebp - 0x14], 0
call fcn.1004e220
add esp, 4
test al, al
je 0x10064fb0
mov eax, dword [0x104005c0]
mov ecx, 0x10400620
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
push eax
call fcn.1006e350
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str._Load___Config
mov dword [ebp - 0x14], 0
call fcn.1004e220
add esp, 4
test al, al
je 0x10064fe9
mov eax, dword [0x104005c0]
mov ecx, 0x10400620
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
push eax
call fcn.1006e5d0
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str._Delete_Config
mov dword [ebp - 0x14], 0
call fcn.1004e220
add esp, 4
test al, al
je 0x10065149
mov eax, dword [0x104005c0]
lea ecx, [ebp - 0x38]
mov edx, 0x10400afc
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
push eax
call fcn.1006ec60
add esp, 4
mov byte [ebp - 4], 2
mov eax, 0x10400afc
cmp dword [0x10400b10], 0x10
push 0
cmovae eax, dword [0x10400afc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.100770a0
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10069380
add esp, 8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.10069dc0
test al, al
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
sete al
mov byte [ebp - 0x1d], al
cmp edx, 8
jb 0x100650c2
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100650b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006539b
push edx
push ecx
call fcn.10078b5e
mov al, byte [ebp - 0x1d]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], cx
test al, al
je 0x10065109
mov byte [ebp - 4], cl
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x1006512d
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065123
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100653a0
jmp 0x10065123
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.1009429b
add esp, 4
mov byte [ebp - 4], 0
jmp 0x100650dd
push edx
push ecx
call fcn.10078b5e
add esp, 8
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov dword [0x104005c0], 0
mov esi, dword [0x103f3c74]
mov eax, dword [esi + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x198c]
cmp byte [eax + 0x7f], 0
jne 0x10065184
xorps xmm1, xmm1
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.10031190
mov eax, dword [esi + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [esi + 0x198c]
cmp byte [ecx + 0x7f], 0
jne 0x100651dc
movss xmm0, dword [ecx + 0xd0]
addss xmm0, dword [esi + 0x1544]
mov eax, dword [ecx + 0xd4]
mov dword [ecx + 0xcc], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf8]
mov dword [ecx + 0xec], eax
mov eax, dword [ecx + 0xfc]
movss dword [ecx + 0xc8], xmm0
mov dword [ecx + 0xf0], eax
sub esp, 8
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov edx, 0x1040fa70
mov ecx, str.configname
push 0
push eax
push 0x18
call fcn.10053500
add esp, 0x10
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, str._Create_Config
call fcn.1004e220
add esp, 4
test al, al
je 0x10065336
mov ecx, 0x1040fa70
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065235
sub ecx, edx
je 0x10065336
push 4
push str..ini
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], al
call fcn.100048b0
mov ecx, 0x1040fa70
mov byte [ebp - 4], 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065270
sub ecx, edx
push ecx
push 0x1040fa70
push ecx
lea ecx, [ebp - 0x38]
call fcn.10026a00
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x4c], xmm0
mov byte [eax], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x10400620
call fcn.1006e350
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x100652f0
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100652e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100653a0
push edx
push ecx
call fcn.10078b5e
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x10065324
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006531a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100653a0
push edx
push ecx
call fcn.10078b5e
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov ecx, dword [0x103f3c74]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x10065367
movss xmm0, dword [ecx + 0x220]
jmp 0x10065373
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x16c], xmm0
lea ecx, [ebp - 0x44]
call fcn.10013ae0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10093a9a
call fcn.10093a9a
call fcn.10093a9a
int3