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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519568
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 0x519288
mov ebp, esi
mov ecx, ebx
mov ebx, edx
cmp ebx, ebp
jle 0x51942e
mov edx, ebx
mov ebx, dword [esp + 0x74]
mov esi, ebp
mov ebp, dword [esp + 0x78]
test ebx, ebx
je 0x5192ab
mov dword [esp + 0x60], ebx
mov edi, esi
jmp 0x519546
mov ebx, esi
jmp 0x519467
mov edi, ebx
cmp esi, edi
je 0x5192c4
mov byte [esp + 0x22], 0
lea ebx, [esi - 1]
xor eax, eax
jmp 0x519282
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
lea esi, [esp + 0x6c]
mov ebx, edi
lea edi, [esp]
call fcn.00451f8e
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 0x5194e3
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 0x519520
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
movzx ebx, byte [esp + 0x22]
movzx ebp, byte [esp + 0x4c]
add ebx, ebp
mov byte [esp + 0x22], bl
cmp bl, 0x1e
jbe 0x51935e
mov byte [esp + 0x22], 0
mov eax, 2
jmp 0x519389
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x519387
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
movzx ebx, byte [esp + 0x45]
and ebx, 3
mov byte [esp + 0x22], bl
mov eax, 1
jmp 0x519389
xor eax, eax
test eax, eax
jne 0x5193a2
movzx ebx, byte [esp + 0x23]
cmp byte [esp + 0x5a], bl
jb 0x51948d
mov eax, dword [esp + 0x24]
jmp 0x5193ba
cmp eax, 1
jne 0x5193ad
mov eax, dword [esp + 0x2c]
jmp 0x5193ba
cmp eax, 2
je 0x5194cc
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 0x5193e9
mov ebp, dword [esp + 0x58]
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
movzx ebx, byte [esp + 0x3d]
test bl, 0x10
je 0x519409
jmp 0x5194a4
mov ebp, dword [esp + 0x58]
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
movzx ebx, byte [esp + 0x35]
test bl, 4
jne 0x5194b8
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 0x519282
jne 0x519451
movzx eax, byte [esp + 0x88]
test al, al
jne 0x51943e
mov ebx, ecx
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x90], 1
add esp, 0x64
ret
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x90], 0
add esp, 0x64
ret
inc esi
mov ebx, edi
cmp edx, esi
jle 0x5192b2
mov ebp, dword [esp + 0x70]
mov edi, ebx
mov ebx, dword [esp + 0x6c]
cmp esi, ebp
jae 0x519538
add ebx, esi
cmp byte [ebx], 0x80
jb 0x519464
jmp 0x5192b4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], 0
add esp, 0x64
ret
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x2c]
cmp ebx, edx
mov ecx, eax
jmp 0x51942e
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x2c]
cmp ebx, edx
mov ecx, eax
jmp 0x51942e
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], 0
add esp, 0x64
ret
movzx eax, byte [esp + 0x88]
test al, al
je 0x519509
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
lea eax, [0x572ea0]
mov dword [esp], eax
lea eax, [0x71ee68]
mov dword [esp + 4], eax
call fcn.0042e000
mov eax, esi
mov ecx, ebp
call fcn.00451930
inc esi
mov ebx, dword [esp + 0x60]
cmp edx, esi
jle 0x5192b4
cmp esi, ebp
jae 0x51955e
add ebx, esi
cmp byte [ebx], 0x80
jb 0x519541
jmp 0x5192b4
mov eax, esi
mov ecx, ebp
call fcn.00451930
nop
call fcn.00450480
jmp fcn.00519250