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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], ecx
cmp dword [edi], ecx
jne 0x4f3adb
or eax, 0xffffffff
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], eax
push 0x80
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, ecx
and edx, 0xfffff
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp + 0x20]
jbe 0x4f3af7
cmp byte [ebp + 0x24], 0
je 0x4f3b1a
mov edx, dword [edi + 4]
lea esi, [edx - 0x1ffffffc]
cmp esi, 3
ja case.default.0x4f3b05
jmp dword [esi*4 + 0x4f4274]
and ecx, 0xf0000000
cmp ecx, 0x10000000
je 0x4f3b7c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.0050b640
test al, al
jne 0x4f3b7c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
and ecx, 0xf0000000
cmp ecx, 0x20000000
je 0x4f3b7c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.0050b760
test al, al
jne 0x4f3b7c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
and ecx, 0xfff00000
cmp ecx, edx
jne 0x4f3b31
cmp dword [edi], 0
mov dword [ebp - 0x2c], 1
jne 0x4f3b95
cmp byte [ebp + 0x24], 0
je 0x4f3b95
mov dword [ebp - 0x2c], 2
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
jbe 0x4f422c
jmp 0x4f3bb0
mov ecx, dword [edi + 0x4c]
add ecx, 1
mov dword [ebp - 0x1c], 0
je 0x4f41e4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, 0x20
ja 0x4f3b1a
mov esi, dword [ebp + 0x10]
mov ecx, 0x20
lea edi, [ebp - 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x28
mov esi, ebx
lea edi, [ebp - 0x170]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
cmp dword [edx + 8], ecx
jbe 0x4f3f50
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x1c], 0
je 0x4f3c1a
mov eax, 1
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x4f3c1d
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
cmp eax, 4
jae 0x4f41fe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 4]
mov esi, dword [ebp - 8]
and edx, 0xfffff
imul edx, dword [ebp - 0xc]
add eax, edx
mov ebx, dword [ecx + eax*4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + esi*4 + 0xc]
lea edi, [eax - 0x20]
mov dword [ebp - 0x14], ecx
cmp edi, 0xf
ja 0x4f3dcf
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + ebx*4]
cmp eax, dword [ebp - 0x18]
jae 0x4f3dc0
add eax, edx
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x4f3dc0
mov ecx, dword [eax + 8]
and ecx, 0x800
xor esi, esi
or ecx, esi
je 0x4f3cae
cmp edi, 0xa
ja case.default.0x4f3c92
jmp dword [edi*4 + 0x4f4284]
fld qword [eax + 0xa8]
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f3db3
mov dword [ebp - 4], 1
jmp 0x4f41cb
fld qword [eax + 0xa8]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f3cae
jmp 0x4f3db3
fld qword [eax + 0xa8]
fld qword [0x44f558]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f3cae
jmp 0x4f3db3
fld qword [eax + 0xa8]
fld qword [0x44f530]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f3cae
jmp 0x4f3db3
fld qword [eax + 0xa8]
fld qword [0x44f538]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f3cae
jmp 0x4f3db3
mov ecx, dword [eax + 0xb0]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x3c], eax
cmp ecx, 0xffffffff
jne 0x4f3cae
jmp 0x4f3db3
mov ecx, dword [eax + 0xb0]
or ecx, dword [eax + 0xb4]
jne 0x4f3cae
jmp 0x4f3db3
mov ecx, dword [eax + 0xb0]
mov eax, dword [eax + 0xb4]
cmp ecx, 1
jne 0x4f3cae
test eax, eax
jne 0x4f3cae
jmp 0x4f3db3
mov ecx, dword [eax + 0xb0]
and ecx, dword [eax + 0xb4]
cmp ecx, 0xffffffff
jne 0x4f3cae
jmp 0x4f3db3
mov ecx, dword [eax + 0xb0]
mov eax, dword [eax + 0xb4]
cmp ecx, 2
jne 0x4f3cae
test eax, eax
jne 0x4f3cae
jmp 0x4f3db3
mov ecx, dword [eax + 0xb0]
or ecx, dword [eax + 0xb4]
je 0x4f3cae
cmp dword [ebp - 4], 1
je 0x4f41cb
mov ecx, dword [ebp - 0x14]
inc ebx
cmp ebx, 4
jb 0x4f3c5e
jmp 0x4f3ee5
cmp eax, 0x10
jb 0x4f3e39
cmp eax, 0x40
ja 0x4f3e3e
sub eax, 0x10
xor esi, esi
shl eax, 4
lea eax, [ebp + eax - 0x170]
jmp 0x4f3df0
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx + esi*4]
cmp ecx, dword [ebp - 0x18]
jae 0x4f3e25
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x4f3e16
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
add edi, ecx
cmp edx, dword [ebx + edi*4]
je 0x4f3e16
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add ecx, edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4]
mov dword [eax], ecx
jmp 0x4f3e2b
mov dword [eax], 0xffffffff
inc esi
add eax, 4
cmp esi, 4
jb 0x4f3df0
jmp 0x4f3ee5
cmp eax, 0x40
jbe 0x4f3e41
sub eax, 0x40
mov edx, dword [ebx + 0x64]
cmp edx, 0xffffffff
je 0x4f3cae
mov ecx, 0x28
lea esi, [ebp - 0x170]
lea edi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
sub eax, dword [ecx]
lea eax, [eax + eax*4]
shl eax, 4
lea esi, [eax + ecx]
mov ecx, dword [ebp + 0x24]
mov eax, dword [esi + 0x48]
push ecx
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx*4]
push eax
push edx
call fcn.004f2e30
test eax, eax
jne 0x4f3cae
cmp dword [ebp - 4], eax
jne 0x4f3ee5
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
push ecx
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 0x64]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xd0]
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004f3a10
mov dword [ebp - 4], eax
test eax, eax
jne 0x4f3ee5
lea eax, [ebp - 0x210]
lea ebx, [ebp - 0x170]
call fcn.004f2d90
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x4f41cb
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
xor esi, esi
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + esi*4]
cmp eax, dword [ebp - 0x18]
jae 0x4f3f31
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, ecx
mov ecx, dword [edx + 4]
mov edx, dword [edi + ebx*8 + 0x34]
mov ecx, dword [ecx + eax*4]
push edx
mov edx, dword [edi + ebx*8 + 0x30]
push edx
mov edx, dword [edi + ebx*8 + 0x1c]
push edx
mov edx, dword [edi + ebx*8 + 0x18]
push edx
call fcn.004f2a10
test eax, eax
je 0x4f3cae
inc esi
cmp esi, 4
jb 0x4f3ef7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x10], ecx
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edi + 8]
jae 0x4f3f50
mov ecx, eax
jmp 0x4f3c08
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jbe 0x4f3ffd
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x1c], 0
je 0x4f3f78
mov eax, 1
sub eax, ecx
jmp 0x4f3f7a
mov eax, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + eax*4 + 0xc]
cmp eax, 0x10
jb 0x4f3fea
cmp eax, 0x20
jae 0x4f3fea
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + eax*4 - 0xd0]
test ebx, ebx
je 0x4f3fd2
xor edi, edi
cmp dword [ebp - 0x18], edi
jbe 0x4f3fd2
mov edx, dword [ebx + 8]
xor ecx, ecx
test edx, edx
jbe 0x4f3fcc
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov esi, dword [esi + 4]
add eax, edi
mov esi, dword [esi + eax*4]
mov eax, dword [ebx + 0xc]
lea esp, [esp]
cmp esi, dword [eax]
je 0x4f3fe0
inc ecx
add eax, 4
cmp ecx, edx
jb 0x4f3fc0
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x4f3fa5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x20
jb 0x4f3f90
jmp 0x4f3fe7
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
add dword [ebp - 0xc], edx
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 0x10]
jb 0x4f3f69
cmp dword [ebp - 4], 0
jne 0x4f41cb
cmp dword [ebp - 0x28], 0
jne 0x4f4211
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x4f4211
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + ecx*4 - 0xd0]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4f413f
mov eax, dword [eax + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], eax
test eax, eax
jbe 0x4f413f
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edx
test edx, edx
jbe 0x4f4060
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
jmp 0x4f4062
xor ecx, ecx
mov dword [ebp - 0x30], 0
test edx, edx
jbe 0x4f412c
cmp ecx, dword [ebp + 8]
je 0x4f40f8
test ecx, ecx
je 0x4f40f8
test dword [ecx + 0x3c], 0xfff00000
je 0x4f40f8
mov edx, dword [ecx]
xor bl, bl
test edx, edx
jbe 0x4f40f8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp - 8]
mov esi, dword [eax + esi*4]
mov eax, dword [ecx + 4]
mov edi, dword [eax]
cmp edi, esi
je 0x4f40ad
cmp dword [edi + 0x44], esi
jne 0x4f40af
mov bl, 1
add eax, 4
sub edx, 1
jne 0x4f40a2
test bl, bl
je 0x4f40f8
xor eax, eax
lea ecx, [ecx]
cmp ecx, dword [ebp + eax*4 - 0xd0]
jne 0x4f40cb
xor bl, bl
cmp ecx, dword [ebp + eax*4 - 0xcc]
jne 0x4f40d6
xor bl, bl
cmp ecx, dword [ebp + eax*4 - 0xc8]
jne 0x4f40e1
xor bl, bl
cmp ecx, dword [ebp + eax*4 - 0xc4]
jne 0x4f40ec
xor bl, bl
add eax, 4
cmp eax, 0x20
jb 0x4f40c0
test bl, bl
jne 0x4f4122
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, edx
jb 0x4f410f
mov eax, edx
xor ecx, ecx
mov dword [ebp - 0x30], eax
jmp 0x4f4118
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + eax*4]
cmp eax, edx
jb 0x4f4071
jmp 0x4f412c
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x3c]
jb 0x4f4052
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x20
jb 0x4f4022
cmp dword [ebp - 4], 1
je 0x4f41cb
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4f4160
mov ebx, dword [ebp + eax*4 - 0x170]
cmp ebx, 0xffffffff
je 0x4f41bc
xor edx, edx
mov dword [ebp - 8], edx
mov eax, dword [ebp + edx*4 - 0xd0]
test eax, eax
je 0x4f41b0
mov esi, dword [eax + 8]
xor ecx, ecx
test esi, esi
jbe 0x4f41b0
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp + edx*4 - 0x170]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
cmp edi, edx
je 0x4f3cae
cmp dword [ebx + 0x44], edx
je 0x4f3cae
inc ecx
add eax, 4
cmp ecx, esi
jb 0x4f4192
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
cmp edx, 0x20
jb 0x4f4171
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0x28
jb 0x4f4160
cmp dword [ebp - 4], 0
je 0x4f4211
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ebp + 0x18]
inc eax
inc edx
mov dword [ebp - 0x1c], eax
cmp eax, edx
jb 0x4f3bc3
cmp dword [ebp - 4], 0
je 0x4f4211
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x2c]
jae 0x4f4266
mov edi, dword [ebp + 0xc]
jmp 0x4f3bb0
mov dword [ebp - 4], 0x8007054f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [ebp - 0x24]
cmp edx, 0x20
jb 0x4f422f
mov dword [ebp - 4], 0x8007003f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x10]
mov edi, eax
mov ecx, 0x20
lea esi, [ebp - 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
mov dword [eax + ecx*4], esi
mov eax, dword [ebp + 0x14]
cmp edx, dword [eax]
jbe 0x4f4255
mov dword [eax], edx
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x170]
call fcn.004f2d90
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20