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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fc560
sub esp, 0x6c
mov edx, dword [esp + 0x78]
cmp edx, 1
jb 0x4fc553
lea ecx, [edx - 1]
mov dword [esp + 0x38], ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebp, dword [esp + 0x70]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x74]
add ecx, esi
mov dword [esp + 0x5c], ecx
nop
test edi, edi
je 0x4fbee9
mov dword [esp + 0x60], edi
mov eax, dword [0xf34078]
mov esi, dword [edi + 0x10]
test eax, eax
je 0x4fbed9
mov dword [esp + 0x68], esi
mov eax, edi
call fcn.0046c7e0
mov dword [edi], esi
mov ecx, dword [ebp + 0x10]
mov dword [edi + 4], ecx
lea ecx, [0x7a7640]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004127e0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov dword [ebp + 0x10], esi
xor eax, eax
call fcn.0046ca71
mov edi, dword [esp + 0x60]
jmp 0x4fbf0c
lea eax, [0x7a7640]
mov dword [esp], eax
call fcn.0040d540
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x70]
inc dword [eax + 0x2c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
mov ebp, eax
mov byte [edi], 4
movzx eax, word [ebp]
mov word [edi + 2], ax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 2
mov eax, dword [0xf34078]
lea ecx, [edi + 0x20]
test eax, eax
jne 0x4fbf37
cmp edx, 1
jmp 0x4fbf4b
mov eax, edi
call fcn.0046c7e0
mov dword [edi], ecx
mov esi, dword [eax + 0x14]
mov dword [edi + 4], esi
cmp edx, 1
mov edi, eax
mov dword [edi + 0x14], ecx
je 0x4fbf98
mov eax, dword [esp + 0x5c]
cmp byte [eax], 0x5e
jne 0x4fbf91
lea ecx, [edx - 2]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
movzx esi, word [ebp]
add eax, ecx
test si, 4
jne 0x4fbf8a
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x18], 2
mov dword [ecx], 0xa
mov dword [ecx + 4], 0xa
mov ecx, 0xffffffff
jmp 0x4fbfa1
mov ecx, 1
jmp 0x4fbfa1
mov eax, dword [esp + 0x5c]
mov ecx, 1
mov dword [esp + 0x60], edi
mov dword [esp + 0x3c], ecx
mov esi, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
mov eax, 1
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x50]
jmp 0x4fbfe5
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
xor edi, edi
xchg edi, eax
mov byte [esp + 0x37], al
xchg edi, eax
mov esi, eax
mov eax, ecx
mov ecx, ebx
mov edi, dword [esp + 0x60]
mov ebx, ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], esi
test ebx, ebx
je 0x4fc0d0
cmp byte [eax], 0x5d
je 0x4fc00a
test ebx, ebx
jmp 0x4fc01f
movzx edi, byte [esp + 0x37]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4fc470
test ebx, ebx
mov edi, dword [esp + 0x60]
je 0x4fc0d0
cmp byte [eax], 0x2d
jne 0x4fc063
movzx edi, word [ebp]
test di, 0x40
jne 0x4fc05f
movzx edi, byte [esp + 0x37]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4fc046
mov edi, dword [esp + 0x60]
jmp 0x4fc063
cmp ebx, 1
je 0x4fc2a4
cmp byte [eax + 1], 0x5d
jne 0x4fc2a4
mov edi, dword [esp + 0x60]
jmp 0x4fc063
mov edi, dword [esp + 0x60]
cmp ebx, 2
jle 0x4fc0d0
cmp byte [eax], 0x5b
jne 0x4fc0d0
cmp byte [eax + 1], 0x3a
jne 0x4fc0d0
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.004fb380
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4fc347
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fc0b8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
jmp 0x4fbfc5
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.004fb790
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4fc447
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fc115
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
jmp 0x4fbfc5
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
call fcn.004fb240
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fc166
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
jmp 0x4fbfc5
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
call fcn.004fb120
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4fc41e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp eax, 2
jl 0x4fc218
cmp byte [edx], 0x2d
jne 0x4fc214
cmp byte [edx + 1], 0x5d
jne 0x4fc1be
mov ebx, ecx
jmp 0x4fc21a
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
inc edx
mov dword [esp + 4], edx
dec eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
call fcn.004fb120
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4fc3f5
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x44]
cmp eax, ebp
jl 0x4fc370
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, ebx
mov ebx, ebp
jmp 0x4fc21a
mov ebx, ecx
jmp 0x4fc21a
mov ebx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], edx
mov ebp, dword [esp + 0x70]
movzx esi, word [ebp]
test si, 1
jne 0x4fc263
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.004fc730
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x4fc293
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.004fc850
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4fbfc5
lea ecx, [ebx - 1]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add ecx, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004782b0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jb 0x4fc54e
mov dword [esp + 0x58], ecx
lea eax, [0x78c7a0]
mov dword [esp], eax
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x7ce498]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4fc30e
mov ecx, dword [esp + 0x5c]
jmp 0x4fc319
call fcn.0046c7d0
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0xc7f50c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x6c
ret
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x38]
mov edx, ecx
sub ecx, ebx
cmp edx, ecx
jb 0x4fc549
mov dword [esp + 0x40], ecx
lea eax, [0x78c7a0]
mov dword [esp], eax
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x7ce498]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4fc3bc
mov ecx, dword [esp + 0x5c]
jmp 0x4fc3c7
call fcn.0046c7d0
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0xc7f50c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x6c
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov edi, dword [esp + 0x60]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x38], ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebx, dword [0xf34078]
add eax, ecx
mov dword [esp + 0x5c], eax
test ebx, ebx
je 0x4fc4aa
mov ecx, edi
call fcn.0046c7e0
mov dword [edi], esi
mov ebx, dword [ecx + 0x14]
mov dword [edi + 4], ebx
mov edi, ecx
mov dword [edi + 0x14], esi
lea eax, [edi + 0x14]
mov dword [esp], eax
call fcn.004fc570
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jge 0x4fc4e8
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004fd0e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], edx
mov ecx, dword [0xf34078]
test ecx, ecx
je 0x4fc509
call fcn.0046c7e0
mov dword [edi], eax
mov ecx, dword [ebx + 0x14]
mov dword [edi + 4], ecx
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004f5b40
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x6c
ret
call fcn.0046c870
call fcn.0046c870
mov eax, 1
xor ecx, ecx
call fcn.0046c8b0
nop
call fcn.0046b3d0
jmp fcn.004fbe40