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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x104]
cmp eax, dword [ecx + 8]
jbe 0x5f2e37
sub esp, 0x184
mov eax, dword [esp + 0x18c]
test eax, eax
je 0x5f2581
mov ecx, dword [eax + 8]
cmp ecx, 0x9eaa9ae
jne 0x5f2551
lea ecx, [0x662e60]
cmp eax, ecx
jne 0x5f2579
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor edx, edx
jmp 0x5f2587
cmp ecx, 0x4b6059d3
jne 0x5f2579
lea ecx, [0x6638a0]
cmp eax, ecx
jne 0x5f2579
mov edx, dword [esp + 0x190]
mov ebx, dword [edx]
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
test ebx, ebx
sete dl
jmp 0x5f2587
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5f2587
xor edx, edx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], dl
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x188]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], dl
call fcn.005f0d60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5f2731
mov dword [esp + 0x3c], edx
mov dword [esp + 0x170], ecx
mov eax, dword [esp + 0x188]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005f0d60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5f26fb
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x5f2661
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5f266b
mov eax, dword [0x8e2628]
mov ecx, dword [0x8e262c]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x5f2676
mov ecx, ebp
mov eax, ecx
mov ebp, dword [esp + 0x170]
jmp 0x5f2680
test edx, edx
je 0x5f26c5
mov eax, ebp
mov ecx, edx
mov ebp, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x188]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x90ed40]
mov dword [esp + 0x144], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
jmp 0x5f27ad
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov esi, dword [esp + 0x40]
lea edi, [esi + 1]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x188]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x144], ebp
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x174]
mov ebp, dword [esp + 0x13c]
cmp ecx, edi
jbe 0x5f2c35
mov dword [esp + 0x40], edi
lea edi, [esp + 0x148]
xor eax, eax
call fcn.004716f6
mov ecx, dword [esp + 0x40]
lea edi, [ebp + ecx*8]
mov ebx, dword [edi]
test ebx, ebx
jbe 0x5f2a88
test ebx, 0x80000000
jbe 0x5f28b5
mov byte [esp + 0x152], 1
mov ebx, dword [edi]
and ebx, 0xffff
mov dword [esp + 0x154], ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5f2826
mov edi, dword [esp + 0x170]
lea ebx, [edi + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x158], ebx
lea ebx, [edi + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x16c], ebx
jmp 0x5f282d
mov edi, dword [esp + 0x170]
cmp ecx, edx
jae 0x5f285c
mov ebx, dword [esp + 0x174]
lea edx, [ebx + ecx*8]
mov edx, dword [edx]
mov dword [esp + 0x160], edx
mov dword [esp + 0x164], 0
lea edx, [ebx + ecx*8 + 4]
mov edx, dword [edx]
mov dword [esp + 0x168], edx
mov eax, dword [esp + 0x154]
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004c2130
mov dword [esp], 0
lea eax, [0x6b7dd5]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.004507b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
jmp 0x5f2a70
mov dword [esp + 0x180], edi
movzx ebx, byte [esp + 0x27]
test bl, bl
je 0x5f2913
lea edi, [esp + 0x5c]
call fcn.004716c8
mov ecx, dword [esi + 0x78]
lea ebx, [0x6ae520]
cmp ecx, ebx
jne 0x5f2e20
mov ecx, dword [esi + 0x7c]
lea edi, [esp + 0x5c]
mov esi, ecx
call fcn.004719e0
mov ecx, dword [esp + 0x180]
mov esi, dword [ecx]
sub esi, dword [esp + 0x78]
mov dword [ecx], esi
mov ecx, dword [esp + 0x40]
movzx ebx, byte [esp + 0x27]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x180]
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5f2959
mov ebx, dword [esp + 0x170]
lea ebp, [ebx + ecx*8]
mov ebp, dword [ebp]
and ebp, 0x7fffffff
mov dword [esp + 0x158], ebp
mov dword [esp + 0x15c], 0
lea ebp, [ebx + ecx*8 + 4]
mov ebp, dword [ebp]
mov dword [esp + 0x16c], ebp
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x13c]
cmp ecx, edx
jae 0x5f298e
mov edx, dword [esp + 0x174]
lea ebx, [edx + ecx*8]
mov ebx, dword [ebx]
and ebx, 0x7fffffff
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], 0
lea ebx, [edx + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x168], ebx
mov eax, dword [edi]
mov dword [esp], esi
and eax, 0x7fffffff
mov dword [esp + 4], eax
call fcn.005ef660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x188]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5f29c3
mov eax, dword [0x8e2600]
xor edx, edx
jmp 0x5f29f7
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5f2e19
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and eax, ebx
cmp edx, 1
jbe 0x5f2e0d
mov edx, dword [ecx + 0x288]
movzx edx, word [edx + eax]
xor eax, eax
mov word [esp + 0x150], dx
test eax, eax
je 0x5f2a0d
mov word [esp + 0x150], 0xffff
mov eax, dword [esp + 0x180]
mov eax, dword [eax]
mov dword [esp], ecx
add eax, 2
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005efa80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005ef140
movzx eax, byte [esp + 8]
test al, al
jne 0x5f2a70
lea ecx, [0x6b9b62]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], 9
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov ebx, dword [esp + 0x154]
test ebx, ebx
jne 0x5f2ad9
mov ebx, dword [esp + 0x14c]
test ebx, ebx
jne 0x5f2ad9
mov ebx, dword [0x8e2620]
mov dword [esp + 0x178], ebx
mov edi, dword [0x8e2624]
mov dword [esp + 0x48], edi
mov edx, dword [esi + 0x274]
mov dword [esp + 0x30], edx
mov ebp, dword [esi + 0x270]
mov dword [esp + 0x140], ebp
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
jmp 0x5f2ce7
cmp dword [esp + 0x14c], 9
jne 0x5f2b59
mov eax, dword [esp + 0x148]
mov dword [esp], eax
lea eax, [0x6b9b62]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00402430
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f2b41
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5f2b26
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5f2b2a
jmp 0x5f2c76
mov edx, dword [esp + 0x40]
inc ecx
xor eax, eax
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x144]
jmp 0x5f276b
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov ebx, dword [esp + 0x34]
inc ebx
mov edi, edx
mov edx, dword [esp + 0x38]
cmp edx, ebx
jae 0x5f2bbe
mov eax, dword [esp + 0x144]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6a24c0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x144], eax
mov edx, ecx
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edi, dword [0x90f128]
lea esi, [ebx + ebx*4]
mov ebp, dword [esp + 0x144]
lea esi, [ebp + esi*8 - 0x28]
test edi, edi
je 0x5f2c1e
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x17c], esi
lea eax, [0x6a24c0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esp + 0x148]
mov dword [esp + 8], eax
call fcn.0040eab0
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x144]
mov esi, dword [esp + 0x17c]
mov edi, esi
lea esi, [esp + 0x148]
call fcn.00471bac
mov ecx, dword [esp + 0x2c]
jmp 0x5f276b
mov eax, dword [esp + 0x144]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
add esp, 0x184
ret
lea eax, [0x683840]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6c9d1b]
mov dword [eax], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
lea ecx, [0x71d694]
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], eax
add esp, 0x184
ret
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x188]
mov dword [esp + 0x50], eax
xor eax, eax
mov ecx, dword [esp + 0x50]
cmp ecx, edx
jge 0x5f2d47
lea eax, [ebp + ecx*8]
mov esi, dword [eax + 4]
cmp esi, edi
jne 0x5f2cd3
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00402430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f2d31
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0x140]
mov edi, dword [esp + 0x48]
jmp 0x5f2cd3
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x188]
jl 0x5f2df9
mov ecx, dword [esi + 0x278]
mov edx, dword [esi + 0x274]
inc edx
mov ebx, dword [esi + 0x270]
cmp ecx, edx
jae 0x5f2dc5
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6765e0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x188]
mov dword [ebx + 0x278], eax
mov eax, dword [0x90f128]
test eax, eax
je 0x5f2db9
call fcn.00471470
mov dword [edi], ecx
mov ebp, dword [ebx + 0x270]
mov dword [edi + 4], ebp
mov dword [ebx + 0x270], ecx
xor eax, eax
mov esi, ebx
mov ebx, ecx
mov dword [esi + 0x274], edx
lea ecx, [ebx + edx*8 - 4]
mov ebp, dword [0x8e2624]
lea edx, [ebx + edx*8 - 8]
mov ebx, dword [0x8e2620]
mov dword [ecx], ebp
mov ecx, dword [0x90f128]
test ecx, ecx
je 0x5f2df7
call fcn.00471470
mov dword [edi], ebx
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov dword [edx], ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x13c]
jmp 0x5f2ad9
mov eax, 1
mov ecx, edx
call fcn.004714e0
mov ecx, edx
call fcn.00471550
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
nop
call fcn.00470060
jmp fcn.005f2500