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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x4d5d30
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0x70]
mov edi, dword [ebp + 8]
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
mov eax, edx
cmp dword [edx], 0
je 0x4d33a1
mov ecx, eax
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
lea eax, [esi + 0x58]
push ecx
push eax
call fcn.004ee070
add esp, 8
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
cmp eax, 1
jne 0x4d3382
mov eax, dword [ebp + 0xc]
jmp 0x4d3394
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
mov eax, ecx
mov dword [ecx], 0
je 0x4d33a1
cmp dword [eax + 0x10], 0
jne 0x4d33c9
mov dword [esi + 8], ebx
xor eax, eax
jmp 0x4d33d7
mov edx, eax
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4d3562
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x4d3578
lea eax, [ecx + 8]
mov dword [edx + 0x18], eax
mov eax, edx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, ecx
mov ecx, eax
mov eax, dword [eax + 0x1c]
mov dword [esi + 8], ebx
sub eax, dword [ecx + 0x18]
shr eax, 3
cmp eax, 4
mov edi, 3
cmovae edi, eax
xor ebx, ebx
cmp edi, 0xfffffff
setb al
jae 0x4d35b5
mov bl, al
lea ecx, [edi*8 + 8]
inc edi
shl ebx, 3
test ecx, ecx
js 0x4d35c7
mov dword [esi + 0x10], ebx
mov dword [esi + 0x44], ecx
je 0x4d3429
movzx eax, byte [0x636fbd]
push ebx
push ecx
mov dword [esi + 0xc], edx
call fcn.00452e20
mov edx, dword [esi + 0xc]
add esp, 8
mov ebx, eax
mov eax, dword [ebp + 0xc]
test ebx, ebx
je 0x4d35d9
mov ecx, dword [esi + 8]
mov dword [ebx + 4], edx
mov edx, 1
mov dword [ebx], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 1
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
movsd xmm2, qword [eax]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x28], xmm1
jmp 0x4d348b
mov dword [ebx + edx*8], ecx
mov dword [ebx + edx*8 + 4], edi
inc edx
mov dword [esi + 0x1c], edx
cmp dword [esi + 0x20], 0
mov dword [esi + 8], edx
je 0x4d34cd
lea eax, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x78], 1
push eax
lea eax, [esi + 0x48]
push eax
call fcn.004ee070
add esp, 8
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 8]
mov ebx, dword [esi + 0xc]
cmp eax, 1
je 0x4d34ea
test eax, eax
mov dword [esi + 0x20], 0
jne 0x4d34ea
mov eax, dword [esi + 0x30]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4d3551
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x3c]
je 0x4d353b
lea eax, [ecx + 8]
mov dword [esi + 0x38], eax
mov edi, dword [ecx + 4]
mov ecx, dword [ecx]
cmp edx, dword [esi + 0x18]
jne 0x4d3480
cmp dword [esi + 0x20], 0
mov eax, dword [esi + 0x30]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
test eax, eax
je 0x4d3512
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x78], 1
sub eax, dword [esi + 0x38]
shr eax, 3
jmp 0x4d3514
xor eax, eax
inc eax
mov dword [esi + 0x78], 1
push eax
push edx
lea eax, [esi + 0x14]
push eax
call fcn.005ae0b0
add esp, 0xc
mov ebx, dword [esi + 0x14]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
jmp 0x4d3480
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4d3551
shl ecx, 3
push 8
push ecx
push eax
call fcn.00452e30
add esp, 0xc
mov eax, dword [esi + 0x1c]
movsd xmm0, qword [esi + 0x14]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
jmp 0x4d35a2
mov dword [edi], 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x4d35a2
mov ecx, dword [edx + 0x14]
mov dword [edi], 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ecx, ecx
je 0x4d35a2
shl ecx, 3
push 8
push ecx
push eax
call fcn.00452e30
add esp, 0xc
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
call fcn.00538200
jmp 0x4d35f2
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
call fcn.00538200
jmp 0x4d35f2
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
push dword [esi + 0x44]
push dword [esi + 0x10]
call fcn.005b14d0
add esp, 8
ud2