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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
mov ebx, dword [ebp + 8]
test byte [ebx + 0x372c], 4
push esi
push edi
je 0x4eff08
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 8]
mov byte [ebp - 0x15], 0
test ecx, ecx
jbe 0x4eff1a
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x4eff1c
xor eax, eax
xor edi, edi
test ecx, ecx
jbe 0x4eff83
mov dword [eax + 0x1c], 0
cmp eax, dword [ebx + 0x3668]
je 0x4eff6b
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov ecx, edx
and ecx, 2
xor esi, esi
or ecx, esi
je 0x4eff6b
and edx, 0x1400
xor ecx, ecx
or edx, ecx
jne 0x4eff6b
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4eff6b
mov edx, dword [ecx + 0x28]
inc edx
cmp dword [eax + 0x1c], edx
jae 0x4eff64
mov dword [eax + 0x1c], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4eff58
mov ecx, dword [ebx + 8]
inc edi
cmp edi, ecx
jb 0x4eff79
xor eax, eax
mov edi, ecx
jmp 0x4eff7f
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + edi*4]
cmp edi, ecx
jb 0x4eff22
mov edi, dword [ebx + 8]
xor esi, esi
xor ecx, ecx
cmp edi, esi
jbe 0x4eff95
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
jmp 0x4eff97
xor edx, edx
xor eax, eax
cmp edi, esi
jbe 0x4effb0
lea ecx, [ecx]
add ecx, dword [edx + 0x1c]
inc eax
cmp eax, edi
jae 0x4effb0
mov edx, dword [ebx + 0x30]
mov edx, dword [edx + eax*4]
jmp 0x4effa0
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x9c], esi
cmp ecx, 0x3ffffffd
jbe 0x4effcb
mov eax, 0x80070216
jmp 0x4f0039
lea eax, [ecx*4]
cmp eax, esi
jne 0x4effdb
mov eax, 4
mov dword [ebp - 0x9c], eax
mov esi, eax
lea edi, [ebx + 0x3744]
test eax, eax
ja 0x4efff2
mov esi, 1
mov eax, dword [edi]
test eax, eax
je 0x4f0002
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp esi, ecx
jbe 0x4f0011
mov ecx, esi
call fcn.0047fc20
test eax, eax
je 0x4f0011
xor eax, eax
jmp 0x4f0025
mov ecx, dword [edi]
test ecx, ecx
je 0x4f0020
mov edx, dword [ecx + 8]
lea eax, [edx + ecx + 0x10]
jmp 0x4f0022
xor eax, eax
add dword [ecx + 8], esi
mov dword [ebp - 0xa8], eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
mov edi, eax
test eax, eax
jl 0x4f10e3
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa8]
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
add esp, 0xc
xor ebx, ebx
test eax, eax
jbe 0x4f006e
mov edx, dword [esi + 0x30]
mov ecx, dword [edx]
jmp 0x4f0070
xor ecx, ecx
xor edi, edi
test eax, eax
jbe 0x4f00dd
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x4f0088
mov eax, dword [ebp - 0xa8]
lea eax, [eax + ebx*4]
jmp 0x4f008a
xor eax, eax
add ebx, edx
mov edx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
cmp ecx, dword [edx + 0x3668]
je 0x4f00bf
test eax, eax
je 0x4f00bf
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4f00bf
mov esi, dword [ecx + 0x44]
mov edx, dword [eax + 0x28]
lea edx, [esi + edx*4]
mov esi, dword [eax + 0x2c]
inc esi
cmp dword [edx], esi
jae 0x4f00b8
mov dword [edx], esi
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f00a5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
inc edi
cmp edi, eax
jb 0x4f00d0
xor ecx, ecx
mov edi, eax
jmp 0x4f00d6
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + edi*4]
cmp edi, eax
jb 0x4f0076
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
test eax, eax
jbe 0x4f00eb
mov edx, dword [esi + 0x14]
mov edx, dword [edx]
jmp 0x4f00ed
xor edx, edx
xor edi, edi
test eax, eax
jbe 0x4f015d
mov eax, dword [edx + 0x3c]
mov ecx, eax
and ecx, 0xf0000000
cmp ecx, 0x60000000
je 0x4f011a
cmp ecx, 0xa0000000
je 0x4f011a
and eax, 0xfff00000
cmp eax, 0x50600000
jne 0x4f013f
xor esi, esi
cmp dword [edx], esi
jbe 0x4f013f
mov eax, dword [edx + 4]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x4f013a
mov eax, dword [eax + 0x28]
mov dword [ecx + eax*4], 4
inc esi
cmp esi, dword [edx]
jb 0x4f0120
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
inc edi
cmp edi, eax
jb 0x4f0150
xor edx, edx
mov edi, eax
jmp 0x4f0156
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + edi*4]
cmp edi, eax
jb 0x4f00f3
mov esi, dword [ebp + 8]
mov al, byte [esi + 0xac]
test al, 6
jne 0x4f0536
mov esi, dword [ebp + 8]
push esi
call fcn.004fd350
mov ecx, dword [esi + 0x10]
test ecx, ecx
jbe 0x4f0182
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
jmp 0x4f0184
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
test ecx, ecx
jbe 0x4f0536
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x3c], 0x20400001
jne 0x4f0506
mov ecx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
and eax, 2
xor esi, esi
or eax, esi
je 0x4f0506
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
and eax, 2
or eax, esi
je 0x4f0506
mov ecx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x3c]
mov edx, dword [edx + 0x64]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp eax, 0x20500001
je 0x4f0201
and eax, 0xfff00000
cmp eax, 0x50000000
je 0x4f0201
cmp eax, 0x70800000
jne 0x4f0506
mov eax, edx
mov eax, dword [eax + 0x3c]
cmp eax, 0x20500001
je 0x4f0224
and eax, 0xfff00000
cmp eax, 0x50000000
je 0x4f0224
cmp eax, 0x70800000
jne 0x4f0506
mov ebx, dword [ecx]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xac]
mov esi, dword [edx]
not cl
shr esi, 1
shr ebx, 1
mov dword [ebp - 0x3c], esi
add esi, ebx
and ecx, 0x80
or ecx, 0x100
shr ecx, 7
cmp esi, ecx
jb 0x4f0506
cmp esi, 4
ja 0x4f0506
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
cmp eax, dword [ecx + 0x74]
jne 0x4f0506
cmp eax, dword [ecx + 0x78]
jne 0x4f0506
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx]
cmp eax, dword [ecx + 0x74]
jne 0x4f0506
cmp eax, dword [ecx + 0x78]
jne 0x4f0506
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push ecx
push edx
call fcn.00508dd0
mov edi, eax
test edi, edi
jl 0x4f10e3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, esi
and eax, 0xfffff
or eax, 0x50000000
mov dword [ebp - 0x1c], eax
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 4]
lea edi, [ebx*4]
push edi
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
add esp, 0xc
add ebx, ebx
add ebx, ebx
push ebx
push eax
lea edx, [ebp + edi - 0xb8]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
add esp, 0xc
add eax, edi
push edi
push eax
lea ecx, [ebp - 0x78]
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add esp, 0xc
add eax, ebx
push ebx
push eax
lea eax, [ebp + edi - 0x78]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax]
add esp, 0xc
mov dword [ebp - 0x98], edx
test esi, esi
je 0x4f0390
mov ecx, dword [ebp - 0xc]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp + 8]
push ecx
push 0
push 0
push esi
lea edx, [ebp - 0xb8]
push edx
push eax
call fcn.005195b0
test al, al
je 0x4f0399
mov edx, dword [ebp - 0xc]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 8]
push edx
push 0
push 0
push esi
lea eax, [ebp - 0x78]
push eax
push ecx
call fcn.005195b0
test al, al
je 0x4f0399
mov byte [ebp - 5], 0
jmp 0x4f044e
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push edi
push eax
lea eax, [ebp - 0x88]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
add esp, 0xc
add eax, ebx
push ebx
push eax
lea edx, [ebp + edi - 0x88]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
add esp, 0xc
add eax, edi
push edi
push eax
lea ecx, [ebp - 0x64]
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add esp, 0xc
push ebx
push eax
lea eax, [ebp + edi - 0x64]
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0xc]
add esp, 0xc
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 8]
push edx
push 0
push 0
push esi
lea eax, [ebp - 0x88]
push eax
push ecx
call fcn.005195b0
mov edi, dword [ebp - 0xc]
test al, al
je 0x4f04fc
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x98]
push edx
push edi
push 0
push 0
push esi
lea eax, [ebp - 0x64]
push eax
push ecx
call fcn.005195b0
test al, al
je 0x4f04fc
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x1c]
push 1
lea edx, [esi + esi]
push edx
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.00508af0
mov edi, eax
test edi, edi
jl 0x4f10e3
cmp byte [ebp - 5], 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x34]
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x34], eax
mov ecx, dword [ebx + 0x38]
mov dword [edi + 0x38], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx]
mov eax, dword [edi + 0xc]
mov dword [eax], ecx
lea edx, [ebp - 0xb8]
je 0x4f049d
lea edx, [ebp - 0x88]
push 0
push edi
mov eax, esi
call fcn.00467050
cmp byte [ebp - 5], 0
lea edx, [ebp - 0x78]
je 0x4f04b3
lea edx, [ebp - 0x64]
push esi
push edi
mov eax, esi
call fcn.00467050
mov edi, dword [ebp + 8]
push 1
push ebx
lea edx, [ebp - 0x20]
push edx
push 1
call fcn.00508f00
mov edi, eax
test edi, edi
jl 0x4f10e3
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + 0x3c], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x3c], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
jmp 0x4f0506
xor eax, eax
mov dword [edi + 0x3c], eax
mov dword [edi], eax
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, eax
jb 0x4f0525
mov ecx, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], ecx
jmp 0x4f052e
mov edx, dword [edx + 0x14]
mov edx, dword [edx + ecx*4]
mov dword [ebp - 0x2c], edx
cmp ecx, eax
jb 0x4f0196
mov edi, dword [ebp + 8]
push edi
call fcn.004fd350
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [edi + 0x10], eax
jbe 0x4f10d9
mov ecx, dword [edi + 0x14]
mov ebx, dword [ecx + eax*4]
mov eax, dword [ebx + 0x3c]
mov ecx, eax
and ecx, 0xf0000000
mov dword [ebp - 0x44], ebx
cmp ecx, 0x10000000
jb 0x4f10b2
cmp ecx, 0x40000000
ja 0x4f10b2
mov ecx, eax
and ecx, 0xfff00000
cmp ecx, 0x10000000
je 0x4f0596
test byte [edi + 0xac], 6
jne 0x4f10b2
call fcn.00509d90
test al, al
jne 0x4f10b2
test byte [edi + 0xb4], 4
jne 0x4f05da
cmp ecx, 0x10600000
ja 0x4f05ce
je 0x4f10b2
cmp ecx, 0x10300000
je 0x4f10b2
cmp ecx, 0x10500000
jmp 0x4f05d4
cmp ecx, 0x10700000
je 0x4f10b2
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x44]
mov dword [ebp - 0xbc], eax
mov eax, dword [eax + 8]
and eax, 0x44211008
xor ecx, ecx
or eax, ecx
mov dword [ebp - 0x48], edx
jne 0x4f10b2
test edx, edx
je 0x4f10b2
mov eax, dword [edi + 0x10]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
cmp dword [ebx], esi
jbe 0x4f06a1
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
lea esp, [esp]
mov edx, dword [ebp - 0x24]
mov edi, dword [edx]
mov ecx, edi
cmp ecx, 0xffffffff
je 0x4f0664
lea esp, [esp]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
and eax, 2
xor edx, edx
or eax, edx
je 0x4f065c
mov eax, dword [ecx + 0x64]
mov eax, dword [eax + 0x10]
inc eax
cmp esi, eax
jae 0x4f065c
mov esi, eax
mov ecx, dword [ecx + 0x24]
cmp ecx, 0xffffffff
jne 0x4f0640
mov ecx, dword [edi + 0x20]
cmp ecx, 0xffffffff
je 0x4f0694
lea esp, [esp]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
and eax, 2
xor edx, edx
or eax, edx
je 0x4f068c
mov edx, dword [ecx + 0x64]
mov eax, dword [edx + 0x10]
inc eax
cmp esi, eax
jae 0x4f068c
mov esi, eax
mov ecx, dword [ecx + 0x20]
cmp ecx, 0xffffffff
jne 0x4f0670
add dword [ebp - 0x24], 4
sub dword [ebp - 0x20], 1
jne 0x4f0630
mov dword [ebp - 0x20], esi
cmp dword [ebx + 8], 0
jbe 0x4f06f4
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
lea ecx, [ecx]
mov eax, dword [edi]
mov ecx, dword [eax + 0x74]
cmp dword [ebp - 0x4c], ecx
jbe 0x4f06bd
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax + 0x24]
cmp ecx, 0xffffffff
je 0x4f06e9
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
and eax, 2
xor edx, edx
or eax, edx
je 0x4f06e1
mov eax, dword [ecx + 0x64]
mov eax, dword [eax + 0x10]
inc eax
cmp esi, eax
jae 0x4f06e1
mov esi, eax
mov ecx, dword [ecx + 0x24]
cmp ecx, 0xffffffff
jne 0x4f06c5
add edi, 4
sub ebx, 1
jne 0x4f06b0
mov dword [ebp - 0x20], esi
mov eax, esi
mov dword [ebp - 0x68], esi
cmp esi, dword [ebp - 0x4c]
jae 0x4f10b2
cmp dword [ebp - 0x38], eax
je 0x4f0d77
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [edx + eax*4]
mov dword [ebp - 0x28], ebx
cmp ecx, eax
jae 0x4f0725
mov esi, ebx
mov dword [ebp - 0xc], ebx
jmp 0x4f072b
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0xc], esi
cmp ecx, eax
jae 0x4f0732
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx + 0x3c]
xor ecx, dword [esi + 0x3c]
test ecx, 0xfff00000
jne 0x4f0d77
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx]
mov edx, dword [esi + 0xc]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x1c], ecx
cmp edx, dword [ecx + 0x10]
jne 0x4f0d77
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x98]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x98]
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], eax
call edx
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
jne 0x4f0d74
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax + 0x24]
cmp ecx, dword [edi + 0x24]
jne 0x4f0d74
mov edx, dword [eax + 0x30]
cmp edx, dword [edi + 0x30]
jne 0x4f0d74
mov cl, byte [eax + 0x34]
cmp cl, byte [edi + 0x34]
jne 0x4f0d74
mov ecx, dword [ebx]
add ecx, dword [esi]
mov edx, dword [ebx + 8]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x40], ecx
add ecx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], ecx
cmp ecx, 4
ja 0x4f0d74
mov ecx, dword [eax + 0x28]
mov edi, dword [edi + 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edi
cmp ecx, edi
je 0x4f0833
mov edi, dword [ebp + 8]
test byte [edi + 0xac], 6
jne 0x4f0d74
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
and eax, 0x20
xor edi, edi
or eax, edi
jne 0x4f0d74
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x1c]
mov edi, dword [eax + edi*4]
add edi, dword [eax + ecx*4]
cmp edi, 4
ja 0x4f0d74
mov eax, dword [ebx + 0x10]
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, ecx
and eax, 0xfff00000
cmp eax, 0x10000000
je 0x4f0cee
cmp eax, 0x10100000
je 0x4f0cee
and ecx, 0xf0000000
cmp ecx, 0x10000000
jne 0x4f08fc
mov eax, dword [ebx + 4]
lea edi, [edx*4]
push edi
push eax
lea ecx, [ebp - 0x64]
push ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 4]
add ecx, ecx
add esp, 0xc
add ecx, ecx
push ecx
push eax
lea edx, [ebp + edi - 0x64]
push edx
mov dword [ebp - 0x30], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x78]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add esp, 0xc
push ecx
push edx
lea eax, [ebp + edi - 0x78]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x4f08f3
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0x78]
push edx
mov edx, dword [ebp + 8]
push ebx
push 0
push 0
push eax
lea ecx, [ebp - 0x64]
push ecx
push edx
call fcn.005195b0
test al, al
je 0x4f0d67
mov byte [ebp - 5], 1
jmp 0x4f0d45
cmp ecx, 0x20000000
jne 0x4f0b4c
mov esi, dword [ebp - 0x30]
mov eax, dword [ebx + 4]
add esi, esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x64]
push eax
call sub.msvcrt.dll_memcpy
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
add esp, 0xc
add edi, edi
add edi, edi
push edi
push eax
lea edx, [ebp + esi - 0x64]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x78]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push edi
push ecx
lea edx, [ebp + esi - 0x78]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 4]
add esp, 0xc
add eax, esi
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
add esp, 0xc
add eax, edi
push edi
push eax
lea edx, [ebp + esi - 0x88]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x98]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push edi
push ecx
lea edx, [ebp + esi - 0x98]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x4f0a11
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp + 8]
push ebx
push 0
push 0
push edx
lea eax, [ebp - 0x64]
push eax
push ecx
call fcn.005195b0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
push edx
push 0
mov byte [ebp - 5], al
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0
push ecx
lea edx, [ebp - 0x88]
push edx
push eax
call fcn.005195b0
cmp byte [ebp - 5], 0
je 0x4f0a1a
test al, al
je 0x4f0a1a
mov byte [ebp - 5], 1
jmp 0x4f0d42
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x3c]
call fcn.00509c50
test al, al
je 0x4f0d67
mov eax, dword [ebx + 4]
push esi
push eax
lea edx, [ebp - 0xf0]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
add esp, 0xc
mov dword [ebp - 0x54], eax
add eax, edi
push edi
push eax
lea ecx, [ebp + esi - 0xf0]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push esi
push eax
lea edx, [ebp - 0x100]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
add esp, 0xc
push edi
push eax
lea ecx, [ebp + esi - 0x100]
push ecx
mov dword [ebp - 0x14], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 4]
add esp, 0xc
add eax, esi
push esi
push eax
lea edx, [ebp - 0xe0]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x54]
add esp, 0xc
push edi
push eax
lea ecx, [ebp + esi - 0xe0]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push esi
push eax
lea edx, [ebp - 0x120]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
push edi
push eax
lea ecx, [ebp + esi - 0x120]
push ecx
call sub.msvcrt.dll_memcpy
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add esp, 0xc
push esi
push 0
lea edx, [ebp - 0x100]
push edx
push ebx
push 0
push 0
push edi
lea eax, [ebp - 0xf0]
push eax
push ecx
call fcn.005195b0
push esi
mov byte [ebp - 5], al
push 0
lea edx, [ebp - 0x120]
mov ecx, dword [ebp + 8]
push edx
push ebx
push 0
push 0
push edi
lea eax, [ebp - 0xe0]
push eax
push ecx
call fcn.005195b0
cmp byte [ebp - 5], 0
je 0x4f0d67
test al, al
je 0x4f0d67
mov esi, dword [ebp - 0xc]
mov byte [ebp - 6], 1
mov byte [ebp - 5], 1
jmp 0x4f0d49
cmp ecx, 0x30000000
jne 0x4f0d67
mov esi, dword [ebp - 0x30]
mov eax, dword [ebx + 4]
add esi, esi
add esi, esi
push esi
push eax
lea edx, [ebp - 0x64]
push edx
call sub.msvcrt.dll_memcpy
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
add esp, 0xc
add edi, edi
add edi, edi
push edi
push eax
lea ecx, [ebp + esi - 0x64]
push ecx
mov dword [ebp - 0x54], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push esi
push eax
lea edx, [ebp - 0x78]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
push edi
push eax
lea ecx, [ebp + esi - 0x78]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 4]
add esp, 0xc
add eax, esi
push esi
push eax
lea edx, [ebp - 0x88]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x54]
add esp, 0xc
add eax, edi
push edi
push eax
lea ecx, [ebp + esi - 0x88]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push esi
push eax
lea edx, [ebp - 0x98]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
push edi
push eax
lea ecx, [ebp + esi - 0x98]
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 4]
add esp, 0xc
lea eax, [eax + edx*8]
push esi
push eax
lea eax, [ebp - 0xd0]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x40]
add esp, 0xc
lea eax, [ecx + edx*8]
push edi
push eax
lea eax, [ebp + esi - 0xd0]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x110]
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x14]
add esp, 0xc
push edi
push edx
lea eax, [ebp + esi - 0x110]
push eax
call sub.msvcrt.dll_memcpy
mov esi, dword [ebp - 0x10]
add esp, 0xc
test esi, esi
je 0x4f0ce8
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
push edi
push 0
lea ecx, [ebp - 0x78]
push ecx
push ebx
push 0
push 0
push esi
lea edx, [ebp - 0x64]
push edx
push eax
call fcn.005195b0
push edi
push 0
lea ecx, [ebp - 0x98]
push ecx
push ebx
push 0
push 0
push esi
lea edx, [ebp - 0x88]
mov byte [ebp - 5], al
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.005195b0
push edi
push 0
lea ecx, [ebp - 0x110]
push ecx
push ebx
push 0
push 0
push esi
lea edx, [ebp - 0xd0]
mov byte [ebp - 6], al
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.005195b0
cmp byte [ebp - 5], 0
je 0x4f0d67
cmp byte [ebp - 6], 0
je 0x4f0d67
test al, al
je 0x4f0d67
mov byte [ebp - 5], 1
jmp 0x4f0d42
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 8]
mov esi, dword [ecx]
mov edi, dword [eax]
push edx
call fcn.005192b0
mov byte [ebp - 5], al
test al, al
je 0x4f0d67
mov esi, dword [ebp - 0x30]
mov eax, dword [ebx + 4]
add esi, esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x64]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x40]
add esp, 0xc
lea ecx, [edx*4]
push ecx
push eax
lea edx, [ebp + esi - 0x64]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [ebp - 0xc]
mov byte [ebp - 6], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp ecx, edx
je 0x4f0d61
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + edx*4]
add edx, dword [eax + ecx*4]
cmp edx, 4
ja 0x4f0d67
cmp byte [ebp - 5], 0
jne 0x4f0d89
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00509290
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp eax, dword [ebp - 0x4c]
jb 0x4f0702
jmp 0x4f10b2
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc0]
push ecx
and eax, 0xfff00000
xor ecx, eax
and ecx, 0xfffff
push edx
xor ecx, eax
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
push ecx
call fcn.00508af0
mov edi, eax
test edi, edi
jl 0x4f10e3
mov edx, dword [esi + 0x34]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x34], edx
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
cmp edx, ecx
je 0x4f0e12
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4f0dff
cmp edx, dword [eax + 0x28]
jne 0x4f0df8
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x28], ecx
mov edx, dword [edx + ecx*4]
add dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f0de4
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + edx*4]
add dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0x24]
mov dword [eax + ecx*4], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
lea edx, [eax*4]
mov eax, dword [edi + 0xc]
push edx
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [ebx + 8]
add esp, 0xc
lea edx, [eax*4]
mov eax, dword [edi + 0xc]
push edx
push ecx
lea ecx, [eax + ebx*4]
push ecx
call sub.msvcrt.dll_memcpy
xor eax, eax
add esp, 0xc
cmp dword [edi + 8], eax
jbe 0x4f0e78
or ecx, 0xffffffff
jmp 0x4f0e60
mov edx, dword [edi + 0xc]
mov edx, dword [edx + eax*4]
mov dword [edx + 0x64], edi
mov edx, dword [edi + 0xc]
mov edx, dword [edx + eax*4]
inc eax
mov dword [edx + 0x68], ecx
cmp eax, dword [edi + 8]
jb 0x4f0e60
mov esi, dword [esi + 0x3c]
and esi, 0xf0000000
cmp esi, 0x10000000
jne 0x4f0ea0
mov ebx, dword [ebp - 0x10]
mov edx, dword [edi + 4]
lea eax, [ebx*4]
push eax
lea ecx, [ebp - 0x64]
push ecx
jmp 0x4f0f32
cmp esi, 0x20000000
jne 0x4f0eeb
cmp byte [ebp - 6], 0
lea eax, [ebp - 0x64]
je 0x4f0eb7
lea eax, [ebp - 0xf0]
mov ebx, dword [ebp - 0x10]
lea esi, [ebx*4]
push esi
push eax
mov eax, dword [edi + 4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [ebp - 6], 0
lea eax, [ebp - 0x88]
je 0x4f0ee1
lea eax, [ebp - 0xe0]
mov ecx, dword [edi + 4]
push esi
push eax
add ecx, esi
push ecx
jmp 0x4f0f33
mov ebx, dword [ebp - 0x10]
cmp esi, 0x30000000
jne 0x4f0f3b
mov eax, dword [edi + 4]
lea esi, [ebx*4]
push esi
lea edx, [ebp - 0x64]
push edx
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [edi + 4]
add esp, 0xc
push esi
lea ecx, [ebp - 0x88]
push ecx
add edx, esi
push edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [edi + 4]
add esp, 0xc
push esi
lea eax, [ebp - 0xd0]
push eax
lea edx, [ecx + ebx*8]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax]
xor edx, edx
and ecx, 0xfffff
div ecx
mov edx, dword [edi + 0xc]
push 1
push ebx
push edx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x130]
call fcn.004f2940
xor esi, esi
cmp dword [ebp - 0x1c], esi
jbe 0x4f0f91
lea esp, [esp]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
imul eax, esi
push 0
lea edx, [ecx + eax*4]
push ebx
push edx
lea eax, [ebp - 0x130]
call fcn.004f2940
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x4f0f70
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp + 8]
push 1
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 1
mov edi, ebx
call fcn.00508f00
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jl 0x4f10e3
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x3c], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebp - 0x50]
jbe 0x4f109b
sub eax, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xac], ecx
cmp eax, 0x3ffffffd
jbe 0x4f0fe6
mov eax, 0x80070216
jmp 0x4f104b
add eax, eax
add eax, eax
jne 0x4f0ff1
mov eax, 4
mov dword [ebp - 0xac], eax
mov esi, eax
lea edi, [ebx + 0x3774]
test eax, eax
ja 0x4f1008
mov esi, 1
mov eax, dword [edi]
test eax, eax
je 0x4f1018
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
cmp esi, edx
jbe 0x4f1027
mov ecx, esi
call fcn.0047fc20
test eax, eax
je 0x4f1027
xor eax, eax
jmp 0x4f103b
mov ecx, dword [edi]
test ecx, ecx
je 0x4f1036
mov eax, dword [ecx + 8]
lea eax, [eax + ecx + 0x10]
jmp 0x4f1038
xor eax, eax
add dword [ecx + 8], esi
mov esi, eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
mov edi, eax
test eax, eax
jl 0x4f111b
mov edi, dword [ebp - 0x28]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x50]
lea ecx, [edi*4]
push ecx
lea ecx, [edx + eax*4]
push ecx
push esi
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x3c]
add esp, 0xc
push 0
push edx
push esi
push edi
mov edi, ebx
call fcn.00508f00
mov ecx, dword [ebp - 0xac]
mov edi, eax
push esi
mov eax, 4
mov edx, ebx
call fcn.00467420
test edi, edi
jl 0x4f10e3
push ebx
call fcn.004fd350
mov edi, eax
test edi, edi
jl 0x4f10e3
mov eax, dword [ebp - 0x20]
dec eax
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp + 8]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [edi + 0x10]
jb 0x4f054d
cmp byte [ebp - 0x15], 0
je 0x4f10d9
push edi
call fcn.004feb30
test eax, eax
je 0x4f10d9
mov edi, eax
jl 0x4f10e3
xor ecx, ecx
cmp byte [ebp - 0x15], cl
sete cl
mov edi, ecx
cmp dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0x9c]
je 0x4f117b
test ecx, ecx
ja 0x4f10ff
mov ecx, 1
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3744]
cmp ecx, dword [eax + 8]
jae 0x4f1130
sub dword [eax + 8], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xac]
push esi
mov eax, 4
mov edx, ebx
call fcn.00467420
jmp 0x4f10e3
mov ecx, dword [esi + 0x3748]
test ecx, ecx
je 0x4f115e
mov edx, dword [ecx + 0xc]
cmp edx, dword [eax + 0xc]
jb 0x4f115e
mov ebx, dword [eax]
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov dword [esi + 0x3744], ebx
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0x3744]
mov dword [esi + 0x3748], eax
mov eax, dword [eax]
mov dword [esi + 0x3744], eax
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4