Function at 0x403560
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x42b7dc
mov eax, dword fs:[0]
push eax
sub esp, 0xedc
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0xed8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437164]
xor eax, esp
push eax
lea eax, [esp + 0xef0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0xef8], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 0x206
lea eax, [esp + 0x2c2]
push ebx
push eax
mov byte [esp + 0xf04], 1
mov word [esp + 0x2c8], bx
call fcn.00408700
mov ecx, dword [0x438ad0]
add esp, 0xc
push str.DictTemp_
call fcn.004011f0
mov ecx, eax
call fcn.00405c10
push eax
lea ecx, [esp + 0x2c4]
push 0x42d360
push ecx
call fcn.00408610
lea edx, [esp + 0x2cc]
push edx
lea eax, [esp + 0xcf8]
push str._s.
push eax
call fcn.00408610
add esp, 0x1c
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xce8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4037f1
mov ebp, 7
mov ebx, 2
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4037ef
cmp word [esp + 0x98], 0x2e
je 0x403655
mov ax, word [esp + 0x9a]
test ax, ax
je 0x403655
cmp ax, 0x2e
jne 0x403692
cmp word [esp + 0x9c], 0
je 0x403655
test byte [esp + 0x6c], 0x10
jne 0x403655
lea ecx, [esp + 0x98]
push str..gcel
push ecx
call fcn.00408f3b
add esp, 8
test eax, eax
je 0x403741
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x8d8]
push 0x42d2ac
push eax
call fcn.00408610
add esp, 0xc
xor edi, edi
lea eax, [esp + 0x8d4]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, ebx
cmp cx, di
jne 0x4036f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x8d8]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401f70
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xefc], bl
call fcn.004034b0
cmp dword [esp + 0x60], 8
mov byte [esp + 0xef8], 1
jb 0x403741
mov eax, dword [esp + 0x4c]
push eax
call fcn.0040877f
add esp, 4
lea ecx, [esp + 0x98]
push str..xml
push ecx
call fcn.00408f3b
add esp, 8
test eax, eax
je 0x403655
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0xae0]
push 0x42d2ac
push eax
call fcn.00408610
add esp, 0xc
xor edi, edi
lea eax, [esp + 0xadc]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
cmp cx, di
jne 0x403794
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xae0]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401f70
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0xefc], 3
call fcn.004034b0
cmp dword [esp + 0x60], 8
mov byte [esp + 0xef8], 1
jb 0x403655
mov eax, dword [esp + 0x4c]
push eax
call fcn.0040877f
add esp, 4
jmp 0x403655
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x28]
cmp edi, ebx
mov ebp, dword [esp + 0x2c]
je 0x40381f
mov ecx, ebp
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, ebx
jne 0x403889
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403851
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00402340
mov edx, dword [esp + 0x18]
push edx
call fcn.0040877f
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x40387f
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
push edi
call fcn.00402340
mov edx, dword [esp + 0x28]
push edx
call fcn.0040877f
add esp, 4
mov eax, 5
jmp 0x403b6a
push 0x206
lea eax, [esp + 0x4ca]
push ebx
push eax
mov word [esp + 0x4d0], bx
call fcn.00408700
push 0x206
lea ecx, [esp + 0x6de]
push ebx
push ecx
mov word [esp + 0x6e4], bx
call fcn.00408700
add esp, 0x18
cmp esi, 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
jbe 0x4038de
mov edx, dword [esp + 0x44]
mov dword [edx + 0x10], 1
cmp edi, ebp
mov esi, edi
jbe 0x4038f1
call fcn.004092ed
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov ebx, esi
cmp edi, ebp
mov esi, ebp
jbe 0x403906
call fcn.004092ed
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
cmp ebx, esi
je 0x403a85
cmp ebx, ebp
jb 0x403917
call fcn.004092ed
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push ebx
call fcn.00402440
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov ebp, eax
jbe 0x403941
call fcn.004092ed
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
lea esi, [esp + 0x30]
mov edi, ecx
jbe 0x403950
call fcn.004092ed
push ebp
push esi
push edi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00402d30
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x18], esi
jbe 0x403974
call fcn.004092ed
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x403984
lea ecx, [esp + 0x14]
cmp ebp, ecx
je 0x403989
call fcn.004092ed
mov edi, dword [esp + 0x68]
cmp edi, esi
je 0x403a60
cmp ebx, dword [esp + 0x2c]
jb 0x4039a0
call fcn.004092ed
mov esi, 8
cmp dword [ebx + 0x18], esi
jb 0x4039af
mov eax, dword [ebx + 4]
jmp 0x4039b2
lea eax, [ebx + 4]
push eax
lea edx, [esp + 0x2c0]
push edx
lea eax, [esp + 0x4cc]
push 0x42d360
push eax
call fcn.00408610
add esp, 0x10
test ebp, ebp
jne 0x4039d9
call fcn.004092ed
cmp edi, dword [ebp + 8]
jb 0x4039e3
call fcn.004092ed
cmp dword [edi + 0x18], esi
jb 0x4039ed
mov eax, dword [edi + 4]
jmp 0x4039f0
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x2c0]
push ecx
lea edx, [esp + 0x6d4]
push 0x42d360
push edx
call fcn.00408610
mov esi, dword [esp + 0x54]
add esp, 0x10
lea eax, [esp + 0x6cc]
push eax
lea ecx, [esp + 0x4c8]
push ecx
mov ecx, esi
call fcn.00402980
test eax, eax
je 0x403a60
push 0
lea edx, [esp + 0x4c8]
push edx
mov ecx, esi
call fcn.004025a0
cmp eax, 4
jne 0x403a4d
mov dword [esp + 0x40], 1
jmp 0x403a68
cmp eax, 5
jne 0x403a5c
mov dword [esp + 0x3c], 1
jmp 0x403a68
test eax, eax
je 0x403a68
mov dword [esp + 0x38], 1
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jb 0x403a79
call fcn.004092ed
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add ebx, 0x1c
jmp 0x4038f3
xor esi, esi
cmp dword [esp + 0x40], esi
je 0x403af4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x403abf
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00402340
mov edx, dword [esp + 0x18]
push edx
call fcn.0040877f
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add esp, 4
cmp edi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x403aed
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
push edi
call fcn.00402340
mov edx, dword [esp + 0x28]
push edx
call fcn.0040877f
add esp, 4
mov eax, 4
jmp 0x403b6a
cmp dword [esp + 0x3c], esi
je 0x403b49
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x403b2c
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00402340
mov edx, dword [esp + 0x18]
push edx
call fcn.0040877f
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add esp, 4
cmp edi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x40387f
mov eax, dword [esp + 0x34]
jmp 0x403865
lea ecx, [esp + 0x14]
call fcn.00402fa0
lea ecx, [esp + 0x24]
call fcn.00402fa0
cmp dword [esp + 0x38], esi
je 0x403b68
mov eax, 3
jmp 0x403b6a
xor eax, eax
mov ecx, dword [esp + 0xef0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xed8]
xor ecx, esp
call fcn.004086c2
add esp, 0xee8
ret