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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0x10], edi
cmp dword [edi + 0x44], 0
je 0x4e9e4e
cmp dword [edi + 0x34], 0
jne 0x4e9e4e
test dword [edi + 4], 0x100000
jne 0x4e9e4e
mov eax, dword [esi + 8]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4e96eb
cmp dword [esi + 0x74], eax
jne 0x4e96e2
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x4e96e2
mov byte [esi + 0x17], 1
call fcn.0047a090
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x20]
mov ebx, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], eax
push 0
push 0x50
test ebx, ebx
je 0x4e972c
mov ecx, ebx
call fcn.004581b0
jmp 0x4e9731
call fcn.00457ba0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4e9e1c
push 0x50
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x78], esi
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0x49b0a0
mov edx, edi
movlpd qword [esp + 0x84], xmm0
lea ecx, [esp + 0x78]
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x80], fcn.00457570
call fcn.0048e670
mov eax, dword [edi + 4]
xor edx, edx
and eax, 0xfffffff7
mov dword [edi + 0x20], 0
or eax, 0x100000
mov dword [edi + 0x24], 0
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [esp + 0x14]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
push 1
push dword [eax + 8]
call fcn.004e9530
mov ecx, dword [esp + 0x1c]
mov edx, eax
push 1
push dword [ecx + 0xc]
mov ecx, esi
call fcn.004e9530
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4e982c
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4e982c
mov eax, dword [eax]
mov edi, dword [ecx]
cmp eax, edi
jg 0x4e9828
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
push 0xffffffffffffffff
mov edx, dword [edx + 0x30]
call fcn.0049a9f0
add esp, 4
test eax, eax
jne 0x4e9822
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x4e981b
mov ecx, ebx
call fcn.004936e0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x30], 0
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
mov dword [ecx + 0x30], eax
add dword [esi + 0x28], 4
mov ebx, dword [edi + 0x1c]
lea edi, [esp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0x4e9360
mov dword [esp + 0x64], 0x4e9500
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x4e98d3
mov edi, dword [ebx]
add ebx, 4
mov dword [esp + 0x28], eax
test edi, edi
jle 0x4e98cf
mov dword [esp + 0x28], eax
nop dword [eax]
mov edx, dword [ebx]
lea ecx, [esp + 0x5c]
call fcn.0048e660
test eax, eax
jne 0x4e98c7
dec edi
add ebx, 0x14
test edi, edi
jg 0x4e98b0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
mov ebx, dword [edi + 0x30]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0x4e9360
mov dword [esp + 0x64], 0x4e9500
mov dword [esp + 0x74], eax
test ebx, ebx
je 0x4e9953
mov edi, dword [ebx]
add ebx, 4
test edi, edi
jle 0x4e994f
mov edx, dword [ebx]
lea ecx, [esp + 0x5c]
call fcn.0048e660
test eax, eax
jne 0x4e9947
dec edi
add ebx, 0x14
test edi, edi
jg 0x4e9930
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test edx, edx
je 0x4e995b
mov eax, dword [edx]
jmp 0x4e995d
xor eax, eax
push 0
push dword [ecx + 8]
mov dword [ecx + 0x4c], eax
mov ecx, esi
call fcn.004e9530
mov ebx, dword [esp + 0x1c]
mov edx, eax
push 0
mov ecx, esi
push dword [ebx + 0xc]
call fcn.004e9530
add esp, 0x10
mov dword [esp + 0x1c], ebx
mov edx, eax
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x2c]
test dword [eax + 4], 0x100000
je 0x4e9a3d
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0x4e9360
mov dword [esp + 0x64], 0x4e9500
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x4e9a23
mov edi, dword [ecx]
lea ebx, [ecx + 4]
test edi, edi
jle 0x4e9a1f
nop dword [eax + eax]
mov edx, dword [ebx]
lea ecx, [esp + 0x5c]
call fcn.0048e660
test eax, eax
jne 0x4e9a17
dec edi
add ebx, 0x14
test edi, edi
jg 0x4e9a00
mov edx, dword [esp + 0x50]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x4e9a32
mov eax, dword [edx]
mov dword [ebx + 0x50], eax
mov byte [ebx + 0x60], 1
jmp 0x4e9a5d
xor eax, eax
mov byte [ebx + 0x60], 1
mov dword [ebx + 0x50], eax
jmp 0x4e9a5d
test edx, edx
je 0x4e9a45
mov eax, dword [edx]
jmp 0x4e9a47
xor eax, eax
push 0
push ecx
mov ecx, esi
mov dword [ebx + 0x50], eax
call fcn.004e9530
mov edx, eax
add esp, 8
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4e9a88
mov ecx, dword [esp + 0x34]
mov edx, eax
push 0
push 0
call fcn.00492790
mov edx, dword [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004933c0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x24], edx
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x34], eax
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov edi, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4e9ac3
push 0
push edi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.0047a300
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4e9afc
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
mov eax, ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebx + 0x24]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x4e9987
test edx, edx
jne 0x4e9bcc
xor ebx, ebx
lea edx, [esp + 0x1c]
mov ecx, 0x600588
mov dword [esp + 0x1c], ebx
call fcn.0045c4f0
test eax, eax
mov ecx, 2
push 0
cmove ebx, ecx
mov ecx, dword [esp + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.004581b0
mov edi, eax
add esp, 8
test edi, edi
je 0x4e9b95
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x98
add esp, 0xc
mov word [edi + 0x22], ax
test ebx, ebx
jne 0x4e9b83
mov eax, dword [esp + 0x1c]
mov ecx, 0x20800400
test eax, eax
mov dword [edi + 8], eax
mov edx, 0x10800400
cmovne ecx, edx
or dword [edi + 4], ecx
jmp 0x4e9b8e
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
mov word [eax], 0x30
mov dword [edi + 0x18], 1
mov ebx, dword [esi]
mov ecx, ebx
push 0
push 0x18
call fcn.004581b0
mov edx, eax
add esp, 8
test edx, edx
je 0x4e9bbd
mov dword [edx], 1
xorps xmm0, xmm0
movups xmmword [edx + 8], xmm0
mov dword [edx + 4], edi
jmp 0x4e9bcc
test edi, edi
je 0x4e9bca
mov edx, edi
mov ecx, ebx
call fcn.00492560
xor edx, edx
push 0
push 0
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push dword [esp + 0x38]
call fcn.004c3740
mov ecx, dword [esi]
add esp, 0x1c
mov edi, eax
mov dword [esp + 0x38], edi
push 0
push 0x50
call fcn.004581b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4e9c30
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ebx
mov ebx, dword [esp + 0x28]
test edi, edi
je 0x4e9d78
mov ecx, dword [esp + 0x34]
mov edx, edi
push 1
call fcn.004c3630
add esp, 4
jmp 0x4e9d78
push 0x48
lea eax, [ebx + 8]
mov dword [ebx + 4], 1
push 0
push eax
mov dword [ebx], 1
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [ebx + 0x34], 0xffffffff
mov eax, dword [ebx]
lea eax, [eax + eax*8]
mov dword [ebx + eax*8 - 0x38], 0
mov dword [ebx + eax*8 - 0x3c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ebx
mov dword [ebx + 0x1c], edi
mov ebx, ecx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4e9ccc
cmp dword [eax], 0
mov dword [esp + 0x20], 0
jle 0x4e9ccc
lea edi, [eax + 0x34]
mov ecx, eax
cmp dword [edi], 0
jge 0x4e9cc8
mov eax, dword [esi + 0x28]
mov dword [edi], eax
inc dword [esi + 0x28]
mov edx, dword [edi - 0x18]
test edx, edx
je 0x4e9cb8
mov edx, dword [edx + 0x20]
mov ecx, esi
call fcn.004aa960
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add edi, 0x48
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [ecx]
jl 0x4e9c96
mov edi, dword [esp + 0x38]
or dword [edi + 4], 0x40
mov edx, edi
push 0x40
mov ecx, esi
call fcn.004c75e0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x44]
and eax, 8
or dword [edi + 4], eax
test ecx, ecx
jne 0x4e9cf6
lea edi, [ecx + 7]
jmp 0x4e9d7a
movups xmm0, xmmword [ecx]
mov edx, dword [esp + 0x18]
mov ebx, ecx
mov eax, dword [esp + 0x10]
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [edx + 0x30], xmm0
movups xmm0, xmmword [ecx + 0x40]
lea ecx, [esp + 0x78]
movups xmmword [edx + 0x40], xmm0
or dword [edx + 0x24], 2
mov eax, dword [eax + 0x20]
xorps xmm0, xmm0
mov dword [eax + 0x18], edx
mov edx, edi
mov dword [esp + 0x78], 0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x90], 0
mov dword [esp + 0x7c], 0x4e9650
mov dword [esp + 0x80], 0x48e840
mov dword [esp + 0x84], 0x48e850
call fcn.0048e670
xor edi, edi
mov ecx, dword [esp + 0x34]
mov eax, 7
cmp byte [ecx + 0x51], 0
cmovne edi, eax
test ebx, ebx
je 0x4e9de1
cmp dword [ecx + 0x1f8], 0
je 0x4e9da0
mov edx, ebx
call fcn.00457e30
jmp 0x4e9de1
cmp ebx, dword [ecx + 0x14c]
jae 0x4e9dd8
cmp ebx, dword [ecx + 0x144]
jb 0x4e9dc0
mov eax, dword [ecx + 0x140]
mov dword [ebx], eax
mov dword [ecx + 0x140], ebx
jmp 0x4e9de1
cmp ebx, dword [ecx + 0x148]
jb 0x4e9dd8
mov eax, dword [ecx + 0x138]
mov dword [ebx], eax
mov dword [ecx + 0x138], ebx
jmp 0x4e9de1
push ebx
call fcn.00457dc0
add esp, 4
test edi, edi
je 0x4e9e50
cmp dword [esi + 0x24], 0
jne 0x4e9e50
mov eax, dword [esi]
test eax, eax
je 0x4e9e50
mov eax, dword [eax + 0xf4]
test eax, eax
je 0x4e9e50
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4e9e34
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4e9e34
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
xor edi, edi
mov ecx, dword [esp + 0x94]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret