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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f84f8
sub esp, 0x70
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
cmp ecx, eax
jbe 0x4f84f2
mov edx, dword [esp + 0x78]
lea ebx, [edx + eax*8]
mov ebp, dword [ebx + 4]
mov esi, dword [esp + 0x8c]
cmp ecx, esi
jbe 0x4f84eb
lea edi, [edx + eax*8 + 4]
mov dword [esp + 0x6c], edi
lea ecx, [edx + esi*8]
mov dword [esp + 0x68], ecx
mov eax, dword [ecx + 4]
lea esi, [edx + esi*8 + 4]
mov edx, dword [ecx]
mov ecx, dword [ebx]
mov dword [edi], eax
mov eax, dword [0x98d0b8]
test eax, eax
je 0x4f7f62
mov dword [esp + 0x64], ecx
call fcn.00471ae0
mov dword [edi], edx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov eax, ebp
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov ebp, eax
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x60], ebx
mov dword [ebx], edx
mov dword [esi], ebp
mov edx, dword [esp + 0x68]
mov dword [edx], ecx
mov edx, dword [esp + 0x84]
inc edx
mov ebp, dword [esp + 0x88]
dec ebp
mov dword [esp + 0x34], ebp
jmp 0x4f7f87
inc edx
mov dword [esp + 0x38], edx
cmp edx, ebp
jle 0x4f7f96
xor eax, eax
jmp 0x4f8050
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4f84e4
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea ebp, [ecx + edx*8]
mov esi, dword [ebp]
mov dword [esp + 0x5c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x30], ebp
mov edi, dword [ebx]
mov dword [esp + 0x4c], edi
mov ebx, dword [ebx + 4]
mov dword [esp + 0x20], ebx
mov dword [esp], esi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4f8013
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4f8013
mov eax, 1
jmp 0x4f8040
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00402d20
mov eax, dword [esp + 0x10]
test eax, eax
setl al
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x6c]
test al, al
jne 0x4f7f86
jmp 0x4f805b
dec ebp
mov dword [esp + 0x34], ebp
cmp ebp, edx
jge 0x4f806a
xor eax, eax
jmp 0x4f8126
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
jbe 0x4f84dd
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ebp*8]
mov esi, dword [edx]
mov dword [esp + 0x58], esi
mov edx, dword [edx + 4]
mov dword [esp + 0x2c], edx
mov edi, dword [ebx]
mov dword [esp + 0x48], edi
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp], esi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4f80e6
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4f80e6
mov eax, 1
jmp 0x4f8113
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
call fcn.00402d20
mov eax, dword [esp + 0x10]
test eax, eax
setl al
xor eax, 1
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x6c]
test al, al
jne 0x4f805a
cmp ebp, edx
jl 0x4f81af
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4f84d6
mov esi, dword [esp + 0x78]
lea eax, [esi + edx*8]
mov edi, dword [eax + 4]
cmp ecx, ebp
jbe 0x4f84cf
lea ebx, [esi + edx*8 + 4]
lea ecx, [esi + ebp*8]
mov dword [esp + 0x68], ecx
mov edx, dword [ecx + 4]
lea esi, [esi + ebp*8 + 4]
mov ebp, dword [ecx]
mov ecx, dword [eax]
mov dword [ebx], edx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4f8196
mov dword [esp + 0x64], ecx
mov edx, edi
call fcn.00471ae0
mov dword [edi], ebp
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [esp + 0x68]
mov ecx, dword [ebx]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov edi, edx
mov dword [eax], ebp
mov dword [esi], edi
mov edx, dword [esp + 0x68]
mov dword [edx], ecx
mov edx, dword [esp + 0x38]
inc edx
mov ebx, dword [esp + 0x34]
dec ebx
jmp 0x4f8235
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
jbe 0x4f8215
mov eax, dword [esp + 0x78]
lea ecx, [eax + ebp*8 + 4]
mov edx, dword [ebx + 4]
lea eax, [eax + ebp*8]
mov esi, dword [ebx]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [0x98d0b8]
test ecx, ecx
je 0x4f81f4
mov ecx, edi
call fcn.00471ae0
mov dword [edi], esi
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [edi + 8], ebp
mov edx, dword [esp + 0x60]
mov edx, dword [edx]
mov dword [edi + 0xc], edx
mov edi, ecx
mov dword [eax], esi
mov dword [edi], ebx
mov eax, dword [esp + 0x60]
mov dword [eax], ebp
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], 1
add esp, 0x70
ret
mov eax, ebp
call fcn.00471b30
mov dword [esi], ebx
mov esi, dword [esp + 0x3c]
mov dword [ebp], esi
mov dword [ecx], edi
mov ebp, dword [esp + 0x38]
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x34]
lea ebx, [ebp - 1]
mov dword [esp + 0x34], ebx
jmp 0x4f82a3
cmp ebx, edx
jl 0x4f8446
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4f84ba
mov ebp, dword [esp + 0x78]
lea esi, [ebp + edx*8]
mov edi, dword [esi + 4]
cmp ecx, ebx
jbe 0x4f84b3
mov dword [esp + 0x3c], edi
lea eax, [ebp + edx*8 + 4]
lea ecx, [ebp + ebx*8]
mov edx, dword [ecx + 4]
mov edi, dword [esi]
lea ebp, [ebp + ebx*8 + 4]
mov ebx, dword [ecx]
mov dword [eax], edx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4f821c
mov eax, edi
call fcn.00471ae0
mov dword [edi], ebx
mov edx, dword [esi]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov edx, dword [ecx]
mov dword [edi + 0xc], edx
mov edi, eax
jmp 0x4f821c
inc edx
mov dword [esp + 0x38], edx
cmp ebx, edx
jge 0x4f82b2
xor eax, eax
jmp 0x4f8367
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4f84c8
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea ebx, [ecx + edx*8]
mov ebp, dword [ebx]
mov dword [esp + 0x54], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x60]
mov edi, dword [esi]
mov dword [esp + 0x44], edi
mov esi, dword [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esp], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4f8332
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], ecx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4f8332
mov eax, 1
jmp 0x4f835f
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
call fcn.00402d20
mov eax, dword [esp + 0x10]
test eax, eax
setl al
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
test al, al
jne 0x4f82a2
jmp 0x4f8372
dec ebx
mov dword [esp + 0x34], ebx
cmp ebx, edx
jge 0x4f8381
xor eax, eax
jmp 0x4f8439
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
jbe 0x4f84c1
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ebx*8]
mov ebp, dword [edx]
mov dword [esp + 0x50], ebp
mov edx, dword [edx + 4]
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x60]
mov edi, dword [esi]
mov dword [esp + 0x40], edi
mov esi, dword [esi + 4]
mov dword [esp + 0x14], esi
mov dword [esp], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4f8401
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], ecx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4f8401
mov eax, 1
jmp 0x4f842e
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
call fcn.00402d20
mov eax, dword [esp + 0x10]
test eax, eax
setl al
xor eax, 1
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
test al, al
jne 0x4f8371
jmp 0x4f823b
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
jbe 0x4f84ac
mov eax, dword [esp + 0x78]
lea ecx, [eax + ebx*8 + 4]
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 4]
lea eax, [eax + ebx*8]
mov esi, dword [edx]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [ecx], ebp
mov ecx, dword [0x98d0b8]
test ecx, ecx
je 0x4f848b
mov ecx, edi
call fcn.00471ae0
mov dword [edi], esi
mov ebp, dword [eax]
mov dword [edi + 4], ebp
mov dword [edi + 8], ecx
mov ebp, dword [edx]
mov dword [edi + 0xc], ebp
mov edi, ecx
mov dword [eax], esi
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov dword [edx], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], 0
add esp, 0x70
ret
mov eax, ebx
call fcn.00471b30
mov eax, ebx
call fcn.00471b30
mov eax, edx
call fcn.00471b30
mov eax, ebx
call fcn.00471b30
mov eax, edx
call fcn.00471b30
mov eax, ebp
call fcn.00471b30
mov eax, edx
call fcn.00471b30
mov eax, ebp
call fcn.00471b30
mov eax, edx
call fcn.00471b30
mov eax, esi
call fcn.00471b30
call fcn.00471b30
nop
call fcn.004706b0
jmp fcn.004f7ed0