Function at 0x4c1090
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 + 0x24], 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 + 0x30], ecx
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.004f58e0
add esp, 0x10
test eax, eax
jne 0x4c14b7
push dword [ebx + 0x24]
lea ecx, [esp + 0x94]
call fcn.004ccbd0
mov esi, dword [ebx + 0x24]
lea ecx, [esp + 0xb0]
push esi
call fcn.004ccbd0
mov edi, dword [esi + 8]
lea ecx, [esp + 0xb0]
mov esi, dword [esi + 0xc]
call fcn.004ccc80
test edi, edi
jne 0x4c1140
test esi, esi
je 0x4c14a2
jmp 0x4c1140
push dword [ebx + 0x24]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x70], edi
mov dword [esp + 0x60], esi
call fcn.004ccbd0
push 0
sub esp, 8
lea ecx, [esp + 0x54]
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.004acbd0
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
test ebx, ebx
jne 0x4c11ac
test esi, esi
jne 0x4c11ac
xorps xmm0, xmm0
mov dword [esp + 0xc], esi
movlpd qword [esp + 0x88], xmm0
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x4c11cf
push esi
push ebx
call fcn.004fbd00
push esi
push ebx
call fcn.004fbd00
push esi
push ebx
mov dword [esp + 0x14], eax
call fcn.004fbd20
push dword [esp + 0xc]
call dword [0x100df294]
cmp dword [esp + 0x50], 0
jne 0x4c11e1
cmp dword [esp + 0x54], 0
je 0x4c1263
push edi
call dword [0x100df290]
test eax, eax
jne 0x4c1256
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
test ecx, ecx
jne 0x4c1202
test eax, eax
je 0x4c124b
push eax
push ecx
call fcn.004fbd00
push eax
mov dword [esp + 0x40], eax
call dword [0x100df290]
test eax, eax
jne 0x4c1230
mov ecx, dword [esp + 0x3c]
call fcn.004bedf0
mov eax, dword [esp + 0x3c]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004fbce0
push dword [esp + 0x64]
push dword [esp + 0x48]
call fcn.004fbd20
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004fbce0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.004fbd20
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x50], xmm0
call fcn.004ccc80
test ebx, ebx
jne 0x4c1299
test esi, esi
jne 0x4c1299
xorps xmm0, xmm0
xor edi, edi
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
jmp 0x4c12f0
push esi
push ebx
call fcn.004fbd00
push esi
push ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
call fcn.004fbd00
push esi
mov edi, eax
push ebx
mov dword [esp + 0x18], edi
call fcn.004fbd20
push edi
call dword [0x100df294]
push dword [esp + 0xc]
call dword [0x100df290]
test eax, eax
jne 0x4c12e9
mov ecx, dword [esp + 0xc]
call fcn.004bedf0
mov eax, dword [esp + 0xc]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004fbce0
push esi
push ebx
call fcn.004fbd20
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x18]
mov ebx, dword [esp + 0x2c]
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x80], 0
je 0x4c1366
push dword [esp + 0x5c]
mov ecx, dword [ebx + 0x24]
push dword [esp + 0x70]
call fcn.004bfcc0
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
je 0x4c14d5
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0x64]
call fcn.004bf0e0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c1441
mov ecx, dword [eax]
mov esi, dword [eax + 0xc]
push eax
call dword [ecx + 0xc]
push esi
mov dword [esp + 0x44], 0
call dword [0x100df258]
jmp 0x4c1441
cmp dword [ebx + 0x60], 0
push dword [ebx + 0x5c]
jne 0x4c1437
call dword [0x100df258]
push 0x18
call fcn.00500600
mov esi, eax
add esp, 4
test esi, esi
je 0x4c13cd
push 0
push 0
push 0
mov dword [esi], 0x100fcb14
push 0
mov dword [esi + 4], 0
mov dword [esi], 0x100f61ec
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 0x4c13cf
xor esi, esi
lea edi, [esi + 0x10]
push edi
push 0
push esi
push 0x10092280
push 0
push 0
call dword [0x100df090]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push esi
mov dword [esp + 0x38], esi
call dword [eax + 8]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x34]
push eax
push edi
lea eax, [esp + 0x2c]
add ecx, 0xb4
push eax
call fcn.0048a200
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c1421
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [esp + 0x24], 0
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
mov dword [esp + 0x38], 0
call dword [eax + 0xc]
jmp 0x4c143d
call dword [0x100df258]
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
jne 0x4c144f
cmp dword [esp + 0x1c], 0
je 0x4c1479
push edi
call dword [0x100df290]
test eax, eax
jne 0x4c146c
mov ecx, edi
call fcn.004bedf0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004fbce0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.004fbd20
mov edi, dword [esp + 0x68]
xorps xmm0, xmm0
mov esi, dword [esp + 0x28]
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], 0
test edi, edi
jne 0x4c1140
test esi, esi
jne 0x4c1140
lea ecx, [esp + 0x90]
call fcn.004ccc80
mov ecx, dword [esp + 0x30]
jmp 0x4c10e0
cmp eax, 1
je 0x4c14f8
cmp eax, 2
je 0x4c14ea
cmp eax, 0x83
je 0x4c1585
mov ecx, dword [esp + 0x30]
jmp 0x4c10e0
lea ecx, [esp + 0x10]
call fcn.004be300
lea ecx, [esp + 0x90]
call fcn.004ccc80
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 0xb4]
call fcn.004bf4a0
mov esi, dword [esp + 0x60]
cmp esi, dword [ebx + 0xb8]
jne 0x4c151c
xor edi, edi
test esi, esi
je 0x4c1534
jmp 0x4c152e
mov edi, esi
test esi, esi
je 0x4c1534
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]
mov dword [esp + 0x38], edi
test edi, edi
je 0x4c1585
lea esp, [esp]
lea eax, [esp + 0x38]
push eax
lea ecx, [ebx + 0xb4]
call fcn.004bf580
mov esi, dword [eax]
test esi, esi
je 0x4c155c
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [esi + 0xc], 0
je 0x4c1578
push dword [esi + 0x14]
call dword [0x100df258]
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.004f5950
add esp, 8
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
cmp dword [esp + 0x38], 0
jne 0x4c1540
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc