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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov ecx, dword [ecx]
push ebx
push esi
push edi
mov esi, dword [ecx + 8]
mov edi, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4fc1bf
cmp dword [ecx + 0x74], esi
jne 0x4fc1b4
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x4fc1b4
mov byte [ecx + 0x17], 1
call fcn.004843a0
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
mov ebx, edi
test edi, edi
je 0x4fca06
nop dword [eax]
cmp byte [ebx + 0x60], 0
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x28], edx
je 0x4fc1e8
xor ecx, ecx
mov dword [esp + 0x20], ecx
jmp 0x4fc2c7
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4fc1dd
mov ecx, dword [eax]
xor edi, edi
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x4fc2c3
mov dword [esp + 0x20], ecx
cmp edi, 1
jne 0x4fc254
cmp dword [edx + 0x20], str.nth_value
jne 0x4fc254
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x74]
inc ebx
mov edx, dword [eax + 0x50]
mov eax, dword [esp + 0x24]
inc edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x78], ecx
jg 0x4fc245
push ebx
push edx
push eax
lea edx, [edi + 0x5c]
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc2ae
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x2c]
jmp 0x4fc28c
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x74]
add ebx, edi
mov edx, dword [eax + 0x50]
add edx, edi
cmp dword [esi + 0x78], ecx
jg 0x4fc280
push ebx
push edx
push dword [ebp + 8]
mov edx, 0x5d
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc2ae
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov esi, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4], 0x5d
mov ecx, dword [esp + 0x20]
inc edi
mov edx, dword [esp + 0x28]
cmp edi, ecx
jl 0x4fc206
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x58], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
jne 0x4fc5c6
test dword [edx + 4], 0x1000
je 0x4fc5c6
cmp byte [ebx + 0x11], 0x5a
je 0x4fc5c6
mov edi, dword [esi + 0x74]
cmp dword [esi + 0x78], edi
jg 0x4fc30f
push 0
push 0
push eax
mov edx, 0x32
mov ecx, esi
call fcn.004845f0
add esp, 0xc
mov edi, eax
jmp 0x4fc341
mov edx, dword [ebp + 0x10]
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0xc], 0
jne 0x4fc4af
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4fc36d
push 0
push 1
push edx
mov edx, 0x55
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc3a0
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x40]
cmp dword [esi + 0x78], ecx
jg 0x4fc3c2
push 0
push edx
push dword [ebp + 0x10]
mov edx, 0x50
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc3f4
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
lea ebx, [edx + 2]
cmp dword [esi + 0x78], ecx
jg 0x4fc417
push ebx
push 2
push edx
mov edx, 0x60
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc446
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x3c]
add edx, 2
cmp dword [esi + 0x78], ecx
jg 0x4fc477
push 0
push edx
push ebx
mov edx, 0x89
mov ecx, esi
call fcn.004845f0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4fc5a2
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4fc5a2
mov edx, dword [esi + 0x74]
mov ebx, dword [ebx + 0x3c]
cmp dword [esi + 0x78], edx
jg 0x4fc4d3
push dword [ebp + 0x10]
mov edx, 0x19
mov ecx, esi
push 0
push ebx
call fcn.004845f0
add esp, 0xc
mov edx, eax
jmp 0x4fc505
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 0x10]
mov dword [eax + ecx*4], 0x19
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4fc520
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x4fc545
push 0
push 0
push edx
mov edx, 0x81
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc578
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
lea ecx, [edx - 2]
je 0x4fc58d
mov eax, 0x5abdec
jmp 0x4fc5a0
sar ecx, 0x1f
mov eax, edx
sub eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
add eax, 0xffffffe0
mov dword [eax], edx
mov edx, dword [esi + 0x74]
test edi, edi
jns 0x4fc5ac
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4fc5be
mov eax, 0x5abde4
jmp 0x4fc9f0
lea ecx, [edi + edi*4]
jmp 0x4fc9ea
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x4fc626
sub edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4fc5f2
push 0
push 1
push edx
mov edx, 0x55
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc9f7
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4fc9f3
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x10], 0x417440
je 0x4fc9f7
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebx + 0x28], eax
je 0x4fc72c
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x13]
test al, al
jne 0x4fc659
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x4fc668
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x98]
mov edx, dword [ebx + 0x50]
add edx, ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4fc68b
push edi
push edx
push dword [ebp + 8]
mov edx, 0x5d
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4fc6b9
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x78], edx
jg 0x4fc6df
push 1
push 0
push edi
mov edx, 0x14
mov ecx, esi
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4fc70e
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
test edi, edi
je 0x4fc730
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4fc730
movzx eax, al
mov dword [ecx + eax*4 + 0x98], edi
inc byte [ecx + 0x13]
jmp 0x4fc730
mov ecx, dword [esp + 0x14]
cmp byte [ebx + 0x60], 0
je 0x4fc80a
mov eax, dword [ebx + 0x48]
mov edi, dword [esi + 0x74]
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
cmp edx, 1
jne 0x4fc776
mov al, byte [ecx + 0x13]
test al, al
jne 0x4fc761
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x4fc7b3
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x98]
mov dword [esp + 0x18], eax
jmp 0x4fc7b3
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x18], eax
cmp edx, ecx
jg 0x4fc79c
mov esi, dword [esp + 0x14]
add eax, edx
sub ecx, edx
mov dword [esi + 0x20], eax
mov eax, esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 0x1c], ecx
mov ecx, eax
jmp 0x4fc7b3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
lea ebx, [eax + 1]
add eax, edx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebx + 0x48]
push 0
push 0
push dword [esp + 0x20]
mov edx, dword [edx + 0x14]
call fcn.004a3980
mov edx, dword [esi + 0x74]
add esp, 0xc
cmp edi, edx
jge 0x4fc80a
mov ecx, edi
test edi, edi
jns 0x4fc7da
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4fc7e9
mov ecx, 0x5abde4
jmp 0x4fc7f2
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x5d
jne 0x4fc805
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 0x30]
jne 0x4fc805
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
inc edi
cmp edi, edx
jl 0x4fc7d0
mov eax, dword [esp + 0x28]
test byte [eax + 4], 0x20
je 0x4fc8dd
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
call fcn.0049b030
mov edi, eax
test edi, edi
jne 0x4fc839
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4fc85a
push 0
push 0
push 0
mov edx, 0x54
mov ecx, esi
call fcn.004845f0
add esp, 0xc
mov edx, eax
jmp 0x4fc891
mov ebx, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4fc8a9
push edi
mov edx, 0xfffffffe
call fcn.00485100
add esp, 4
jmp 0x4fc8dd
test edx, edx
jns 0x4fc8b1
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4fc8d2
push 0xfffffffffffffffe
push edi
mov edx, eax
mov ecx, esi
call fcn.00485350
add esp, 8
jmp 0x4fc8dd
test edi, edi
je 0x4fc8dd
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
mov eax, dword [ebp + 0xc]
mov edx, eax
mov ecx, dword [esi + 0x74]
neg edx
mov edi, dword [ebx + 0x34]
sbb edx, edx
add edx, 0xa1
cmp dword [esi + 0x78], ecx
jg 0x4fc90a
push edi
mov edi, dword [esp + 0x1c]
mov ecx, esi
push edi
push eax
call fcn.004845f0
add esp, 0xc
jmp 0x4fc942
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4fc95d
push dword [esp + 0x28]
mov edx, 0xfffffff8
call fcn.00485100
add esp, 4
jmp 0x4fc973
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4fc98c
mov ecx, dword [esp + 0x20]
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp byte [ebx + 0x60], 0
je 0x4fc9c8
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x4fc9b9
test edi, edi
je 0x4fc9c8
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4fc9c8
movzx eax, al
mov dword [ecx + eax*4 + 0x98], edi
inc byte [ecx + 0x13]
jmp 0x4fc9c8
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x1c]
jle 0x4fc9c8
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], edi
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4fc9f3
mov edx, dword [esi + 0x74]
jns 0x4fc9d8
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4fc9e7
mov eax, 0x5abde4
jmp 0x4fc9f0
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [esp + 0x24]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x4fc1d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret