Function at 0x536a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59b46c
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
cmp byte [ecx + 0x38], 0
lea esi, [ecx + 0x38]
mov eax, dword [esp + 0x35c]
mov edi, dword [esp + 0x358]
mov dword [esp + 0x1c], eax
jne 0x536a6d
mov ecx, esi
call fcn.00553d70
xor eax, eax
mov dword [esp + 0x78], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x70], ax
lea ecx, [esp + 0x70]
lea eax, [esi + 4]
mov dword [esp + 0x84], 0
push eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
call fcn.00404960
mov dword [esp + 0x350], 0
cmp dword [esp + 0x78], 0
jne 0x536ac6
xor bl, bl
jmp 0x537105
mov edx, 0x10
lea ecx, [esp + 0x68]
call fcn.004b2110
push edi
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xa0]
call fcn.004b2290
add esp, 4
mov byte [esp + 0x350], 1
push 4
call fcn.0056590a
mov ebp, eax
add esp, 4
mov dword [esp + 0x80], ebp
mov byte [esp + 0x350], 2
test ebp, ebp
je 0x536b1f
mov dword [ebp], 0
mov dword [ebp], 0xffffffff
jmp 0x536b21
xor ebp, ebp
mov byte [esp + 0x350], 1
mov dword [esp + 0x80], ebp
mov byte [esp + 0x350], 3
lea ecx, [esp + 0xb4]
call fcn.004bcba0
mov byte [esp + 0x350], 4
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xa0]
mov ecx, ebp
push eax
call fcn.004bce00
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test al, al
jne 0x536c30
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x536b87
push eax
call esi
test eax, eax
je 0x536b87
mov dword [ebp], 0xffffffff
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
mov dword [esp + 0x78], 0
lea edx, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x19
call fcn.004b7220
test al, al
je 0x536c27
push edi
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x3c]
call fcn.004b2290
add esp, 4
mov byte [esp + 0x350], 5
lea ecx, [esp + 0x9c]
push eax
call fcn.00403b00
mov byte [esp + 0x350], 4
cmp dword [esp + 0x4c], 8
jb 0x536bf5
push dword [esp + 0x38]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], ax
mov ecx, ebp
lea eax, [esp + 0xb4]
mov dword [esp + 0x48], 0
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004bce00
test al, al
jne 0x536c30
xor bl, bl
jmp 0x53704d
xor eax, eax
mov dword [esp + 0x60], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x58], ax
lea ecx, [esp + 0x58]
lea eax, [esp + 0xe4]
mov dword [esp + 0x6c], 0
push eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
call fcn.00404960
mov byte [esp + 0x350], 6
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x3c]
call fcn.004b2290
add esp, 4
mov byte [esp + 0x350], 7
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov byte [esp + 0x350], 8
lea edx, [esp + 0x20]
lea ecx, [esp + 0x38]
call fcn.00537d20
lea edx, [esp + 0x20]
lea ecx, [esp + 0x84]
call fcn.004b3c20
mov byte [esp + 0x350], 9
cmp dword [esp + 0x30], 0
je 0x536d6a
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x536d6a
xor edi, edi
lea ecx, [ecx]
add esi, edi
cmp dword [esi + 0x14], 8
jb 0x536d1a
mov esi, dword [esi]
lea ecx, [esp + 0x84]
call fcn.00403c10
test esi, esi
jne 0x536d31
test eax, eax
sete al
jmp 0x536d3e
test eax, eax
je 0x536d46
mov edx, eax
mov ecx, esi
call fcn.004afc30
test al, al
jne 0x536ea5
mov eax, dword [esp + 0x1c]
inc ebx
add edi, 0x18
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x536d10
mov esi, dword [ebp]
cmp esi, 0xffffffff
je 0x536f6e
push 0x24c
lea eax, [esp + 0xfc]
mov dword [esp + 0xf8], 0
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0xf4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
test al, al
je 0x536f6e
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.004bcf80
mov byte [esp + 0x350], 8
cmp dword [esp + 0x98], 8
jb 0x536dea
push dword [esp + 0x84]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x350], 7
cmp dword [esp + 0x34], 8
jb 0x536e25
push dword [esp + 0x20]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov byte [esp + 0x350], 6
cmp dword [esp + 0x4c], 8
jb 0x536e57
push dword [esp + 0x38]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov byte [esp + 0x350], 4
cmp dword [esp + 0x64], 8
jb 0x536e89
push dword [esp + 0x50]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jmp 0x536c30
mov bl, 1
mov byte [esp + 0x350], 8
cmp dword [esp + 0x98], 8
jb 0x536ec8
push dword [esp + 0x84]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x350], 7
cmp dword [esp + 0x34], 8
jb 0x536f03
push dword [esp + 0x20]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov byte [esp + 0x350], 6
cmp dword [esp + 0x4c], 8
jb 0x536f35
push dword [esp + 0x38]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov byte [esp + 0x350], 4
cmp dword [esp + 0x64], 8
jb 0x536f67
push dword [esp + 0x50]
call fcn.00564de3
add esp, 4
xor eax, eax
jmp 0x537032
mov byte [esp + 0x350], 8
cmp dword [esp + 0x98], 8
jb 0x536f8f
push dword [esp + 0x84]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x350], 7
cmp dword [esp + 0x34], 8
jb 0x536fca
push dword [esp + 0x20]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov byte [esp + 0x350], 6
cmp dword [esp + 0x4c], 8
jb 0x536ffc
push dword [esp + 0x38]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov byte [esp + 0x350], 4
cmp dword [esp + 0x64], 8
jb 0x53702e
push dword [esp + 0x50]
call fcn.00564de3
add esp, 4
xor eax, eax
mov bl, al
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov word [esp + 0x50], ax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 7
mov byte [esp + 0x350], 3
cmp dword [esp + 0xf0], 8
jb 0x53706e
push dword [esp + 0xdc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
mov byte [esp + 0x350], 1
test ebp, ebp
je 0x5370b9
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x5370b0
push eax
call esi
test eax, eax
je 0x5370b0
mov dword [ebp], 0xffffffff
push ebp
call fcn.00564de3
add esp, 4
mov dword [esp + 0x80], 0
mov byte [esp + 0x350], 0
cmp dword [esp + 0xb0], 8
jb 0x5370e5
push dword [esp + 0x9c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
mov dword [esp + 0x350], 0xffffffff
cmp dword [esp + 0x7c], 8
jb 0x537123
push dword [esp + 0x68]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov word [esp + 0x68], ax
mov al, bl
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.00564de8
add esp, 0x340
ret 8