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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x70], edx
mov ecx, 4
mov dword [esp + 0x3c], ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x70], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x78], esi
push edi
sete al
sub ecx, eax
xor eax, eax
test esi, esi
sete al
sub ecx, eax
mov dword [esp + 0x38], ecx
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00507940
add esp, 0x10
test eax, eax
jne 0x4d3047
push dword [ebx + 0x24]
lea ecx, [esp + 0x94]
call fcn.004ded70
mov esi, dword [ebx + 0x24]
lea ecx, [esp + 0xb0]
push esi
call fcn.004ded70
mov edi, dword [esi + 8]
lea ecx, [esp + 0xb0]
mov esi, dword [esi + 0xc]
call fcn.004dee20
test edi, edi
jne 0x4d2cd0
test esi, esi
je 0x4d3032
jmp 0x4d2cd0
push dword [ebx + 0x24]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
call fcn.004ded70
push 0
sub esp, 8
lea ecx, [esp + 0x6c]
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.004dc3f0
mov edi, dword [esp + 0x60]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
test ebx, ebx
jne 0x4d2d3c
test esi, esi
jne 0x4d2d3c
xorps xmm0, xmm0
mov dword [esp + 0x10], esi
movlpd qword [esp + 0x88], xmm0
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x4d2d5f
push esi
push ebx
call fcn.0050dd50
push esi
push ebx
call fcn.0050dd50
push esi
push ebx
mov dword [esp + 0x18], eax
call fcn.0050dd70
push dword [esp + 0x10]
call dword [0x100df294]
cmp dword [esp + 0x68], 0
jne 0x4d2d71
cmp dword [esp + 0x6c], 0
je 0x4d2df3
push edi
call dword [0x100df290]
test eax, eax
jne 0x4d2de6
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
test ecx, ecx
jne 0x4d2d92
test eax, eax
je 0x4d2ddb
push eax
push ecx
call fcn.0050dd50
push eax
mov dword [esp + 0x50], eax
call dword [0x100df290]
test eax, eax
jne 0x4d2dc0
mov ecx, dword [esp + 0x4c]
call fcn.004d0400
mov eax, dword [esp + 0x4c]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0050dd30
push dword [esp + 0x5c]
push dword [esp + 0x54]
call fcn.0050dd70
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0050dd30
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.0050dd70
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x68], xmm0
call fcn.004dee20
test ebx, ebx
jne 0x4d2e29
test esi, esi
jne 0x4d2e29
xorps xmm0, xmm0
xor edi, edi
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], edi
jmp 0x4d2e80
push esi
push ebx
call fcn.0050dd50
push esi
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
call fcn.0050dd50
push esi
mov edi, eax
push ebx
mov dword [esp + 0x28], edi
call fcn.0050dd70
push edi
call dword [0x100df294]
push dword [esp + 0x10]
call dword [0x100df290]
test eax, eax
jne 0x4d2e79
mov ecx, dword [esp + 0x10]
call fcn.004d0400
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0050dd30
push esi
push ebx
call fcn.0050dd70
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x18]
mov ebx, dword [esp + 0x44]
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x80], 0
je 0x4d2ef6
push dword [esp + 0x54]
mov ecx, dword [ebx + 0x24]
push dword [esp + 0x5c]
call fcn.004d1740
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
je 0x4d3065
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x64]
call fcn.004d07d0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d2fd1
mov ecx, dword [eax]
mov esi, dword [eax + 0xc]
push eax
call dword [ecx + 0xc]
push esi
mov dword [esp + 0x40], 0
call dword [0x100df258]
jmp 0x4d2fd1
cmp dword [ebx + 0x60], 0
push dword [ebx + 0x5c]
jne 0x4d2fc7
call dword [0x100df258]
push 0x18
call fcn.00512390
mov esi, eax
add esp, 4
test esi, esi
je 0x4d2f5d
push 0
push 0
push 0
mov dword [esi], 0x100fcb1c
push 0
mov dword [esi + 4], 0
mov dword [esi], 0x100f61fc
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [0x100df08c]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4d2f5f
xor esi, esi
lea edi, [esi + 0x10]
push edi
push 0
push esi
push 0x10091d00
push 0
push 0
call dword [0x100df090]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push esi
mov dword [esp + 0x4c], esi
call dword [eax + 8]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x3c]
add ecx, 0xb4
push eax
call fcn.0049c440
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4d2fb1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [esp + 0x34], 0
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
mov dword [esp + 0x4c], 0
call dword [eax + 0xc]
jmp 0x4d2fcd
call dword [0x100df258]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
jne 0x4d2fdf
cmp dword [esp + 0x2c], 0
je 0x4d3009
push edi
call dword [0x100df290]
test eax, eax
jne 0x4d2ffc
mov ecx, edi
call fcn.004d0400
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0050dd30
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0050dd70
mov edi, dword [esp + 0x1c]
xorps xmm0, xmm0
mov esi, dword [esp + 0x40]
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], 0
test edi, edi
jne 0x4d2cd0
test esi, esi
jne 0x4d2cd0
lea ecx, [esp + 0x90]
call fcn.004dee20
mov ecx, dword [esp + 0x38]
jmp 0x4d2c70
cmp eax, 1
je 0x4d3088
cmp eax, 2
je 0x4d307a
cmp eax, 0x83
je 0x4d3177
mov ecx, dword [esp + 0x38]
jmp 0x4d2c70
lea ecx, [esp + 0x20]
call fcn.004cf910
lea ecx, [esp + 0x90]
call fcn.004dee20
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edi, [ebx + 0xb4]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edi
push eax
mov ecx, edi
call fcn.004d0a30
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 4]
jne 0x4d30af
xor ebx, ebx
test esi, esi
je 0x4d30c7
jmp 0x4d30c1
mov ebx, esi
test esi, esi
je 0x4d30c7
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
test ebx, ebx
je 0x4d3177
nop
lea eax, [ebx + 0xc]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4d30e1
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push ebx
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0044d700
mov esi, dword [esp + 0x14]
cmp esi, dword [edi + 4]
jne 0x4d3109
xor edi, edi
test esi, esi
je 0x4d3123
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], edi
jmp 0x4d3123
mov edi, esi
test esi, esi
je 0x4d3123
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x4d312d
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
mov ebx, edi
test edi, edi
je 0x4d3139
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov esi, dword [esp + 0x18]
mov esi, dword [esi]
test esi, esi
je 0x4d3149
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [esi + 0xc], 0
je 0x4d3165
push dword [esi + 0x14]
call dword [0x100df258]
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.005079b0
add esp, 8
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
test edi, edi
mov edi, dword [esp + 0x1c]
jne 0x4d30d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc