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

Disassembly:
push 0xffffffffffffffff
push 0x59b574
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x4b0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c4]
mov edi, dword [esp + 0x4c0]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
mov dword [esp + 0x4b8], eax
lea esi, [ecx + 0x38]
cmp byte [esi], al
jne 0x537208
mov ecx, esi
call fcn.00553d70
xor eax, eax
mov dword [esp + 0xf4], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0xec], ax
lea ecx, [esp + 0xec]
lea eax, [esi + 0x1c]
mov dword [esp + 0x100], 0
push eax
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
call fcn.00404960
mov byte [esp + 0x4b8], 1
cmp dword [esp + 0xf4], 0
jne 0x53726a
xor bl, bl
jmp 0x537c61
push 0x118
lea eax, [esp + 0x144]
mov dword [esp + 0x140], 0x11c
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea ecx, [esp + 0x13c]
call fcn.004c28a0
cmp dword [esp + 0x140], 6
lea ecx, [esp + 0x80]
mov bl, 1
mov byte [esp + 0x1a], bl
jb 0x5373ec
xor bl, bl
push 0x5c01b8
mov byte [esp + 0x1e], bl
call fcn.00403a70
mov byte [esp + 0x4b8], 5
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0xe8]
lea ecx, [esp + 0xb4]
call fcn.004b2290
add esp, 4
mov esi, eax
mov byte [esp + 0x4b8], 6
lea eax, [esp + 0x98]
cmp eax, esi
je 0x537344
cmp dword [esp + 0xac], 8
jb 0x537317
push dword [esp + 0x98]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
call fcn.00404150
mov byte [esp + 0x4b8], 5
cmp dword [esp + 0xc4], 8
jb 0x537365
push dword [esp + 0xb0]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov byte [esp + 0x4b8], 1
cmp dword [esp + 0x94], 8
jb 0x5373a6
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
push edi
lea edx, [esp + 0x9c]
mov dword [esp + 0x94], 0
lea ecx, [esp + 0x84]
mov word [esp + 0x84], ax
call fcn.004b2290
add esp, 4
mov esi, eax
mov byte [esp + 0x4b8], 7
jmp 0x53751a
push 0x5c0238
call fcn.00403a70
mov byte [esp + 0x4b8], 2
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0xe8]
lea ecx, [esp + 0xb4]
call fcn.004b2290
add esp, 4
mov esi, eax
mov byte [esp + 0x4b8], 3
lea eax, [esp + 0x98]
cmp eax, esi
je 0x537477
cmp dword [esp + 0xac], 8
jb 0x53744a
push dword [esp + 0x98]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
call fcn.00404150
mov byte [esp + 0x4b8], 2
cmp dword [esp + 0xc4], 8
jb 0x537498
push dword [esp + 0xb0]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov byte [esp + 0x4b8], 1
cmp dword [esp + 0x94], 8
jb 0x5374d9
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
push edi
lea edx, [esp + 0x9c]
mov dword [esp + 0x94], 0
lea ecx, [esp + 0x84]
mov word [esp + 0x84], ax
call fcn.004b2290
add esp, 4
mov esi, eax
mov byte [esp + 0x4b8], 4
lea eax, [esp + 0x98]
cmp eax, esi
je 0x537567
cmp dword [esp + 0xac], 8
jb 0x53753e
push dword [esp + 0x98]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0xac], eax
mov word [esp + 0x9c], ax
call fcn.00404150
mov byte [esp + 0x4b8], 1
cmp dword [esp + 0x94], 8
jb 0x537588
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
push 4
mov word [esp + 0x84], ax
mov dword [esp + 0x94], eax
call fcn.0056590a
mov ebp, eax
add esp, 4
mov dword [esp + 0xe0], ebp
mov byte [esp + 0x4b8], 8
test ebp, ebp
je 0x5375d3
mov dword [ebp], 0
mov dword [ebp], 0xffffffff
jmp 0x5375d5
xor ebp, ebp
mov byte [esp + 0x4b8], 1
mov dword [esp + 0xe0], ebp
mov byte [esp + 0x4b8], 9
lea ecx, [esp + 0xfc]
call fcn.004bcba0
mov byte [esp + 0x4b8], 0xa
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x9c]
mov ecx, ebp
push eax
call fcn.004bce00
test al, al
jne 0x537622
xor bl, bl
jmp 0x537be6
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
mov byte [esp + 0x4b8], 0xb
lea edx, [esp + 0xe4]
test bl, bl
je 0x537762
push 0x5c0238
lea ecx, [esp + 0x3c]
call fcn.0040cc70
add esp, 4
mov byte [esp + 0x4b8], 0xc
lea ecx, [esp + 0x124]
push ecx
mov edx, eax
lea ecx, [esp + 0x54]
call fcn.004146d0
add esp, 4
mov esi, eax
mov byte [esp + 0x4b8], 0xd
lea eax, [esp + 0xc8]
cmp eax, esi
je 0x5376f9
cmp dword [esp + 0xdc], 8
jb 0x5376cc
push dword [esp + 0xc8]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
push esi
lea ecx, [esp + 0xcc]
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
call fcn.00404150
mov byte [esp + 0x4b8], 0xc
cmp dword [esp + 0x64], 8
jb 0x537714
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
mov byte [esp + 0x4b8], 0xb
cmp dword [esp + 0x4c], 8
jb 0x537746
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
jmp 0x537850
push 0x5c01b8
lea ecx, [esp + 0x24]
call fcn.0040cc70
add esp, 4
mov byte [esp + 0x4b8], 0xe
lea ecx, [esp + 0x124]
push ecx
mov edx, eax
lea ecx, [esp + 0x6c]
call fcn.004146d0
add esp, 4
mov esi, eax
mov byte [esp + 0x4b8], 0xf
lea eax, [esp + 0xc8]
cmp eax, esi
je 0x5377ec
cmp dword [esp + 0xdc], 8
jb 0x5377bf
push dword [esp + 0xc8]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
push esi
lea ecx, [esp + 0xcc]
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
call fcn.00404150
mov byte [esp + 0x4b8], 0xe
cmp dword [esp + 0x7c], 8
jb 0x537807
push dword [esp + 0x68]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
mov byte [esp + 0x4b8], 0xb
cmp dword [esp + 0x34], 8
jb 0x537839
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
xor eax, eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov byte [esp + 0x4b8], 0x10
lea edx, [esp + 0xb0]
lea ecx, [esp + 0xc8]
call fcn.00537d20
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x80]
call fcn.004b3c20
mov byte [esp + 0x4b8], 0x11
cmp dword [esp + 0xc0], 0
je 0x53794e
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 0x53794a
xor edi, edi
lea esp, [esp]
add esi, edi
cmp dword [esi + 0x14], 8
jb 0x5378fa
mov esi, dword [esi]
lea ecx, [esp + 0x80]
call fcn.00403c10
test esi, esi
jne 0x537911
test eax, eax
sete al
jmp 0x53791e
test eax, eax
je 0x537926
mov edx, eax
mov ecx, esi
call fcn.004afc30
test al, al
jne 0x537a75
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 0x5378f0
mov bl, byte [esp + 0x1a]
mov esi, dword [ebp]
cmp esi, 0xffffffff
je 0x537b21
push 0x24c
lea eax, [esp + 0x264]
mov dword [esp + 0x260], 0
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
test al, al
je 0x537b21
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x260]
push eax
call fcn.004bcf80
mov byte [esp + 0x4b8], 0x10
cmp dword [esp + 0x94], 8
jb 0x5379ce
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
mov byte [esp + 0x4b8], 0xb
cmp dword [esp + 0xc4], 8
jb 0x537a0f
push dword [esp + 0xb0]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov byte [esp + 0x4b8], 0xa
cmp dword [esp + 0xdc], 8
jb 0x537a50
push dword [esp + 0xc8]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
jmp 0x537622
mov bl, 1
mov byte [esp + 0x4b8], 0x10
cmp dword [esp + 0x94], 8
jb 0x537a98
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
mov byte [esp + 0x4b8], 0xb
cmp dword [esp + 0xc4], 8
jb 0x537ad9
push dword [esp + 0xb0]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov byte [esp + 0x4b8], 0xa
cmp dword [esp + 0xdc], 8
jb 0x537b1a
push dword [esp + 0xc8]
call fcn.00564de3
add esp, 4
xor eax, eax
jmp 0x537bc8
mov byte [esp + 0x4b8], 0x10
cmp dword [esp + 0x94], 8
jb 0x537b42
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
mov byte [esp + 0x4b8], 0xb
cmp dword [esp + 0xc4], 8
jb 0x537b83
push dword [esp + 0xb0]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov byte [esp + 0x4b8], 0xa
cmp dword [esp + 0xdc], 8
jb 0x537bc4
push dword [esp + 0xc8]
call fcn.00564de3
add esp, 4
xor eax, eax
mov bl, al
mov word [esp + 0xc8], ax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 7
mov byte [esp + 0x4b8], 9
cmp dword [esp + 0x138], 8
jb 0x537c07
push dword [esp + 0x124]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], 0
mov word [esp + 0x124], ax
mov byte [esp + 0x4b8], 1
test ebp, ebp
je 0x537c56
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x537c4d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x537c4d
mov dword [ebp], 0xffffffff
push ebp
call fcn.00564de3
add esp, 4
mov dword [esp + 0xe0], 0
mov byte [esp + 0x4b8], 0
cmp dword [esp + 0xf8], 8
jb 0x537c82
push dword [esp + 0xe4]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], 0
mov word [esp + 0xe4], ax
mov dword [esp + 0x4b8], 0xffffffff
cmp dword [esp + 0xac], 8
jb 0x537cc6
push dword [esp + 0x98]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
mov word [esp + 0x98], ax
mov al, bl
mov dword [esp + 0xa8], 0
mov ecx, dword [esp + 0x4b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.00564de8
add esp, 0x4a8
ret 8