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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x114]
cmp eax, dword [ecx + 8]
jbe 0x5f3761
sub esp, 0x194
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x5f2ed1
mov ecx, dword [eax + 8]
cmp ecx, 0x9eaa9ae
jne 0x5f2ea1
lea ecx, [0x662e60]
cmp eax, ecx
jne 0x5f2ec9
mov eax, dword [esp + 0x1a0]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor edx, edx
jmp 0x5f2ed7
cmp ecx, 0x4b6059d3
jne 0x5f2ec9
lea ecx, [0x6638a0]
cmp eax, ecx
jne 0x5f2ec9
mov edx, dword [esp + 0x1a0]
mov ebx, dword [edx]
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
test ebx, ebx
sete dl
jmp 0x5f2ed7
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5f2ed7
xor edx, edx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], dl
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x198]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], dl
call fcn.005f18a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5f3081
mov dword [esp + 0x3c], edx
mov dword [esp + 0x180], ecx
mov eax, dword [esp + 0x198]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005f18a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5f304b
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x5f2fb1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5f2fbb
mov eax, dword [0x8e2628]
mov ecx, dword [0x8e262c]
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ecx
add esp, 0x194
ret
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x5f2fc6
mov ecx, ebp
mov eax, ecx
mov ebp, dword [esp + 0x180]
jmp 0x5f2fd0
test edx, edx
je 0x5f3015
mov eax, ebp
mov ebp, ebx
mov ecx, edx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x44], edx
mov esi, dword [esp + 0x198]
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 + 0x154], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
jmp 0x5f30fa
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ecx
add esp, 0x194
ret
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ecx
add esp, 0x194
ret
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ecx
add esp, 0x194
ret
mov esi, dword [esp + 0x40]
lea edi, [esi + 1]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x14c]
mov esi, dword [esp + 0x198]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x154], eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x184]
cmp ecx, edi
jbe 0x5f3574
mov dword [esp + 0x40], edi
lea edi, [esp + 0x158]
xor eax, eax
call fcn.004716f6
mov ecx, dword [esp + 0x40]
lea edi, [ecx + ecx*2]
mov ebx, dword [ebp + edi*4 + 4]
mov edx, dword [ebp + edi*4]
test ebx, ebx
sete al
xchg ebp, ebx
seta bl
xchg ebp, ebx
test edx, edx
seta dl
and eax, edx
or ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5f33dd
and ebx, 0x80000000
test ebx, ebx
jbe 0x5f3230
mov byte [esp + 0x162], 1
mov eax, dword [esp + 0x14c]
mov edx, dword [eax + edi*4]
and edx, 0xffff
mov dword [esp + 0x164], edx
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jae 0x5f31a0
mov ebx, dword [esp + 0x180]
mov ebp, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4]
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], ebp
mov edx, dword [ebx + edi*4 + 8]
mov dword [esp + 0x17c], edx
jmp 0x5f31a7
mov ebx, dword [esp + 0x180]
mov edx, dword [esp + 0x44]
cmp ecx, edx
jae 0x5f31d7
mov ebp, dword [esp + 0x184]
mov edx, dword [ebp + edi*4 + 4]
mov ebx, dword [ebp + edi*4]
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], edx
mov edx, dword [ebp + edi*4 + 8]
mov dword [esp + 0x178], edx
mov eax, dword [esp + 0x164]
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 + 0x158], eax
mov dword [esp + 0x15c], ecx
jmp 0x5f33d2
movzx edx, byte [esp + 0x27]
test dl, dl
je 0x5f3298
xor eax, eax
mov ebx, edi
lea edi, [esp + 0x5c]
call fcn.004716c4
mov ecx, dword [esi + 0x78]
lea ebp, [0x6ae1a0]
cmp ecx, ebp
jne 0x5f374a
mov ecx, dword [esi + 0x7c]
lea edi, [esp + 0x5c]
mov esi, ecx
call fcn.004719b8
mov ecx, dword [esp + 0x14c]
mov esi, dword [ecx + ebx*4]
mov edi, dword [ecx + ebx*4 + 4]
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
sub esi, ebp
mov dword [ecx + ebx*4], esi
sbb edi, edx
mov dword [ecx + ebx*4 + 4], edi
mov ecx, dword [esp + 0x40]
movzx edx, byte [esp + 0x27]
mov esi, dword [esp + 0x198]
mov edi, ebx
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jae 0x5f32ce
mov ebx, dword [esp + 0x180]
mov ebp, dword [ebx + edi*4]
mov eax, dword [ebx + edi*4 + 4]
mov dword [esp + 0x168], ebp
and eax, 0x7fffffff
mov dword [esp + 0x16c], eax
mov eax, dword [ebx + edi*4 + 8]
mov dword [esp + 0x17c], eax
jmp 0x5f32d5
mov ebx, dword [esp + 0x180]
mov eax, dword [esp + 0x44]
cmp ecx, eax
jae 0x5f330b
mov ebp, dword [esp + 0x184]
mov eax, dword [ebp + edi*4]
mov ebx, dword [ebp + edi*4 + 4]
mov dword [esp + 0x170], eax
and ebx, 0x7fffffff
mov dword [esp + 0x174], ebx
mov eax, dword [ebp + edi*4 + 8]
mov dword [esp + 0x178], eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + edi*4]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.005ef660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x198]
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5f3743
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and eax, ebx
cmp edx, 1
jbe 0x5f3737
mov edx, dword [ecx + 0x288]
movzx eax, word [edx + eax]
mov word [esp + 0x160], ax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x14c]
mov eax, dword [edx + eax*4]
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 + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005ef140
movzx eax, byte [esp + 8]
test al, al
jne 0x5f33d2
lea ecx, [0x6b9b62]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], 9
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x198]
mov edx, dword [esp + 0x164]
test edx, edx
jne 0x5f3428
mov edx, dword [esp + 0x15c]
test edx, edx
jne 0x5f3428
mov edx, dword [0x8e2620]
mov dword [esp + 0x188], edx
mov ebx, dword [0x8e2624]
mov dword [esp + 0x48], ebx
mov ebp, dword [esi + 0x274]
mov dword [esp + 0x30], ebp
mov eax, dword [esi + 0x270]
mov dword [esp + 0x150], eax
xor edi, edi
jmp 0x5f361e
cmp dword [esp + 0x15c], 9
jne 0x5f34a0
mov eax, dword [esp + 0x158]
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 0x5f3495
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5f3475
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5f3479
jmp 0x5f35b5
mov edx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x198]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x154]
jmp 0x5f30bb
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x198]
mov edx, dword [esp + 0x34]
inc edx
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x5f34b6
mov eax, dword [esp + 0x154]
jmp 0x5f34f8
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6a24c0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x198]
mov ebx, ecx
mov ecx, dword [esp + 0x40]
mov ebp, dword [0x90f128]
lea edi, [edx + edx*4]
lea edi, [eax + edi*8 - 0x28]
test ebp, ebp
je 0x5f355d
mov dword [esp + 0x190], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18c], edi
lea eax, [0x6a24c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
call fcn.0040eab0
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x198]
mov edi, dword [esp + 0x18c]
mov ebp, esi
lea esi, [esp + 0x158]
call fcn.00471bac
mov ecx, dword [esp + 0x2c]
jmp 0x5f30bb
mov eax, dword [esp + 0x154]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
add esp, 0x194
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 + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
lea ecx, [0x71d694]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
add esp, 0x194
ret
inc edi
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x198]
cmp edi, ebp
jge 0x5f367c
lea ecx, [eax + edi*8]
mov esi, dword [ecx + 4]
cmp esi, ebx
jne 0x5f3612
mov dword [esp + 0x58], edi
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.00402430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f3667
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0x188]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
jmp 0x5f3612
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x198]
jl 0x5f3428
mov edx, dword [esi + 0x278]
mov ebx, dword [esi + 0x274]
inc ebx
mov ebp, dword [esi + 0x270]
cmp edx, ebx
jae 0x5f36fe
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
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 + 0x198]
mov dword [ebx + 0x278], eax
mov eax, dword [0x90f128]
test eax, eax
je 0x5f36ee
call fcn.00471470
mov dword [edi], ecx
mov ebp, dword [ebx + 0x270]
mov dword [edi + 4], ebp
mov dword [ebx + 0x270], ecx
mov esi, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x274], ebx
lea edx, [ebp + ebx*8 - 4]
mov eax, dword [0x8e2624]
lea ebx, [ebp + ebx*8 - 8]
mov ebp, dword [0x8e2620]
mov dword [edx], eax
mov edx, dword [0x90f128]
test edx, edx
je 0x5f3730
call fcn.00471470
mov dword [edi], ebp
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov dword [ebx], ebp
jmp 0x5f3428
mov eax, 1
mov ecx, edx
call fcn.004714e0
mov ecx, edx
call fcn.00471550
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
nop
call fcn.00470060
jmp fcn.005f2e50