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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x539515
sub esp, 0xcc
mov eax, 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
cmp dword [esp + 0xd4], 3
jge 0x538b3f
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x538b8e
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6bbdc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax], 0x822d
mov dword [eax + 4], 0x1903
mov dword [eax + 8], 0x140b
mov edx, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
xor esi, esi
jmp 0x538bb1
inc esi
mov eax, dword [esp + 0x54]
cmp ebx, esi
jle 0x538c2b
lea edi, [ebp + esi*8]
mov eax, dword [edi]
cmp dword [edi + 4], 0x19
jne 0x538bac
mov dword [esp + 0x50], esi
lea ecx, [0x6f8efd]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x19
call fcn.00402a80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x538c04
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x50]
jmp 0x538bac
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
jle 0x538c37
mov esi, 1
jmp 0x538cc1
xor esi, esi
jmp 0x538c40
inc esi
mov eax, dword [esp + 0x54]
cmp ebx, esi
jle 0x538cba
lea edi, [ebp + esi*8]
mov eax, dword [edi]
cmp dword [edi + 4], 0x1e
jne 0x538c3b
mov dword [esp + 0x50], esi
lea ecx, [0x6fb955]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1e
call fcn.00402a80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x538c93
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x50]
jmp 0x538c3b
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
xchg esi, ebx
setg bl
xchg esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x538d83
inc edx
cmp ecx, edx
jae 0x538d0c
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6bbdc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
lea esi, [edx + edx*2]
mov dword [eax + esi*4 - 0xc], 0x1909
mov dword [eax + esi*4 - 8], 0x1909
mov dword [eax + esi*4 - 4], 0x8d61
inc edx
cmp ecx, edx
jae 0x538d68
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6bbdc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
lea esi, [edx + edx*2]
mov dword [eax + esi*4 - 0xc], 0x1908
mov dword [eax + esi*4 - 8], 0x1908
mov dword [eax + esi*4 - 4], 0x8d61
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], eax
xor esi, esi
jmp 0x538d98
inc esi
mov eax, dword [esp + 0x54]
cmp ebx, esi
jle 0x538e12
lea edi, [ebp + esi*8]
mov eax, dword [edi]
cmp dword [edi + 4], 0x14
jne 0x538d93
mov dword [esp + 0x50], esi
lea ecx, [0x6f5d85]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call fcn.00402a80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x538deb
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x50]
jmp 0x538d93
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
jg 0x538e1b
xor esi, esi
jmp 0x539495
mov ebx, 1
test bl, bl
je 0x538e6e
inc edx
cmp ecx, edx
jae 0x538e53
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6bbdc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [edx + edx*2]
mov dword [eax + ecx*4 - 0xc], 0x1908
mov dword [eax + ecx*4 - 8], 0x1908
mov dword [eax + ecx*4 - 4], 0x1406
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
call fcn.0050eb00
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x539610]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea edx, [esp + 0x90]
mov dword [esp + 0xc8], edx
mov byte [esp + 0x23], 1
nop
mov dword [esp], ecx
mov dword [esp + 4], 0x8069
call fcn.0050f6f0
mov eax, dword [esp + 8]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x5395c0]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xc4], eax
mov byte [esp + 0x23], 3
mov dword [esp], ecx
mov dword [esp + 4], 0xde1
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.0050e150
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 0xde1
mov dword [esp + 8], 0x2802
mov dword [esp + 0xc], 0x812f
call fcn.005106d0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 0xde1
mov dword [esp + 8], 0x2803
mov dword [esp + 0xc], 0x812f
call fcn.005106d0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 0xde1
mov dword [esp + 8], 0x2800
mov dword [esp + 0xc], 0x2600
call fcn.005106d0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 0xde1
mov dword [esp + 8], 0x2801
mov dword [esp + 0xc], 0x2600
call fcn.005106d0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.0050e910
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x539570]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea edx, [esp + 0x78]
mov dword [esp + 0xc0], edx
mov byte [esp + 0x23], 7
nop
mov dword [esp], ecx
mov dword [esp + 4], 0x8ca6
call fcn.0050f6f0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov dword [esp + 4], 0x8d40
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0050e0c0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x539520]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0xbc], ecx
mov byte [esp + 0x23], 0xf
mov ecx, dword [esp + 0x54]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x539102
mov edi, dword [esp + 0x60]
lea ecx, [edi + 0xc]
mov edi, dword [esp + 0x50]
inc edi
mov eax, dword [esp + 0xd0]
mov esi, edx
mov edx, edi
mov edi, dword [esp + 0x24]
cmp edx, edi
jge 0x5393a6
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x60], ecx
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x40], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x3c], ebp
mov dword [esp], eax
mov dword [esp + 4], 0xde1
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x100
mov dword [esp + 0x14], 0x100
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
call fcn.00510480
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 0x8d40
mov dword [esp + 8], 0x8ce0
mov dword [esp + 0xc], 0xde1
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
call fcn.0050f3c0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 0x8d40
call fcn.0050e4a0
mov eax, dword [esp + 8]
cmp eax, 0x8cd5
je 0x53931c
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.00465fe8
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.00409720
mov ecx, dword [esp + 4]
lea edx, [0x69a900]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.00409720
mov ecx, dword [esp + 4]
lea edx, [0x69a900]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.00409720
mov ecx, dword [esp + 4]
lea edx, [0x69a900]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call fcn.00409720
mov ecx, dword [esp + 4]
lea edx, [0x69a900]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
lea ecx, [0x6f843d]
mov dword [esp], ecx
mov dword [esp + 4], 0x18
lea ebx, [esp + 0x9c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004d09e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x5392b5
mov ebp, dword [esp + 0x58]
jmp 0x5392f7
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x69bcc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
lea esi, [ebp + edx*8 - 4]
mov dword [esi], ecx
lea edi, [ebp + edx*8 - 8]
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x539312
mov dword [edi], eax
jmp 0x5390eb
call fcn.00465d80
jmp 0x5390eb
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov byte [esp + 0x23], 7
mov edx, dword [esp + 0xbc]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0xc4]
mov eax, dword [edx]
call eax
mov eax, 1
test al, 1
je 0x53939f
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004098b0
mov eax, dword [esp + 0xc]
lea ecx, [0x692680]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x701ce1]
mov dword [esp], eax
mov dword [esp + 4], 0x30
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 7
mov edx, dword [esp + 0xbc]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0xc4]
mov eax, dword [edx]
call eax
mov eax, 1
test al, 1
je 0x539489
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
inc esi
mov eax, dword [esp + 0x54]
cmp ebx, esi
jle 0x539501
lea edi, [ebp + esi*8]
mov eax, dword [edi]
cmp dword [edi + 4], 0x19
jne 0x539490
mov dword [esp + 0x50], esi
lea ecx, [0x6f8ee4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x19
call fcn.00402a80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5394e8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x50]
jmp 0x539490
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
setg bl
jmp 0x538e20
call fcn.004649b0
jmp fcn.00538ab0