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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x53674c
mov ecx, dword [esp + 8]
mov ebx, dword [ebp + 8]
lea eax, [eax + eax*8]
add ecx, 0x48
lea eax, [ebx + eax*8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov edi, dword [ebx]
test edi, edi
je 0x5365b3
mov esi, dword [ebx + 8]
mov ecx, esi
call fcn.00475195
mov dword [esp + 4], edx
push esi
push edi
mov edi, eax
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x10]
add esp, 0xc
jmp 0x5365bb
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
xor edi, edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x5365df
lea ecx, [esp + 0x38]
push dword [ebx + 0x40]
call fcn.00464c35
add esp, 4
jmp 0x5365e7
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x68], eax
movsd qword [esp + 0x60], xmm0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x53664a
cmp eax, 1
jne 0x536654
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x2c]
push dword [ebx + 0x28]
call dword [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], edx
inc eax
mov dword [esp + 4], eax
jmp 0x5366aa
mov dword [esp + 4], 0
jmp 0x5366aa
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x34]
lea edx, [ebx + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x78]
call fcn.004650d4
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
lea esi, [esp + 0x38]
mov ecx, esi
call fcn.00464f8f
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], edi
mov ecx, 0xa
lea edi, [esp + 0x98]
lea edx, [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc0]
mov eax, dword [esp + 0x68]
movsd xmm0, qword [esp + 0x60]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x98]
push eax
call fcn.00465c8d
add esp, 4
add ebx, 0x48
cmp ebx, dword [esp + 0x28]
jne 0x53658c
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 8]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret