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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5390ca
sub esp, 0x64
mov byte [esp + 0x22], 0
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
xor eax, eax
mov ecx, ebp
jmp 0x538e0e
inc esi
mov ebx, dword [esp + 0x60]
cmp edx, esi
jle 0x538dfa
cmp esi, ebp
jae 0x5390b7
add ebx, esi
cmp byte [ebx], 0x80
jb 0x538de2
cmp edi, esi
je 0x538e32
mov byte [esp + 0x22], 0
lea ebx, [esi - 1]
xor eax, eax
mov ebp, esi
mov ecx, ebx
mov ebx, edx
cmp ebx, ebp
jle 0x539096
mov edx, ebx
mov ebx, dword [esp + 0x74]
mov esi, ebp
mov ebp, dword [esp + 0x78]
test ebx, ebx
je 0x53906a
mov dword [esp + 0x60], ebx
mov edi, esi
jmp 0x538de7
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ebx, edi
lea edi, [esp]
lea esi, [esp + 0x6c]
call fcn.0045e6de
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x28]
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
movzx eax, byte [esp + 0x59]
test al, al
je 0x53902d
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
cmp byte [esp + 0x22], 0x1e
ja 0x53909f
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
movzx ebx, byte [esp + 0x22]
movzx ebp, byte [esp + 0x34]
add ebx, ebp
mov byte [esp + 0x22], bl
cmp bl, 0x1e
jbe 0x538ffa
mov byte [esp + 0x22], 0
mov eax, 2
test eax, eax
jne 0x538fc7
movzx ebx, byte [esp + 0x23]
cmp byte [esp + 0x5a], bl
jb 0x538fb0
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x68]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x538f81
mov ebp, dword [esp + 0x58]
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
movzx ebx, byte [esp + 0x45]
test bl, 0x10
jne 0x538f3c
movzx ebp, byte [esp + 0x5a]
mov edx, ebp
movzx ebp, byte [esp + 0x59]
mov ebx, ebp
mov ebp, dword [esp + 0x2c]
lea esi, [ebx + ebp]
mov ebx, eax
mov eax, edx
mov edx, dword [esp + 0x84]
jmp 0x538e08
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jne 0x538f6e
movzx ecx, byte [esp + 0x88]
test cl, cl
je 0x538f6a
mov dword [esp + 0x8c], edx
mov byte [esp + 0x90], 1
add esp, 0x64
ret
mov edx, eax
jmp 0x538f57
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], 0
add esp, 0x64
ret
mov ebp, dword [esp + 0x58]
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
movzx ebx, byte [esp + 0x4d]
test bl, 4
je 0x538f17
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jmp 0x538f49
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], 0
add esp, 0x64
ret
cmp eax, 1
jne 0x538fd5
mov eax, dword [esp + 0x2c]
jmp 0x538ee9
cmp eax, 2
je 0x538fe3
mov eax, dword [esp + 0x24]
jmp 0x538ee9
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], 0
add esp, 0x64
ret
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x539026
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
movzx ebx, byte [esp + 0x3d]
and ebx, 3
mov byte [esp + 0x22], bl
mov eax, 1
jmp 0x538ece
xor eax, eax
jmp 0x538ece
movzx eax, byte [esp + 0x88]
test al, al
je 0x539053
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], 1
add esp, 0x64
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], 1
add esp, 0x64
ret
mov ebx, esi
jmp 0x539071
inc esi
mov ebx, edi
cmp edx, esi
jle 0x53908f
mov ebp, dword [esp + 0x70]
mov edi, ebx
mov ebx, dword [esp + 0x6c]
cmp esi, ebp
jae 0x5390c0
add ebx, esi
cmp byte [ebx], 0x80
jb 0x53906e
jmp 0x538dfa
mov edi, ebx
jmp 0x538dfa
mov edx, ebx
mov eax, ecx
jmp 0x538f49
lea eax, [0x5beac0]
mov dword [esp], eax
lea eax, [0x638038]
mov dword [esp + 4], eax
call fcn.00431a00
mov eax, esi
mov ecx, ebp
call fcn.0045dff0
mov eax, esi
mov ecx, ebp
call fcn.0045dff0
nop
call fcn.0045ca10
jmp fcn.00538db0