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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 3
je 0x5212bb
cmp dword [ebp - 0x1c], 3
ja 0x52145c
cmp dword [ebp - 0x1c], 2
je 0x5212d1
cmp dword [ebp - 0x1c], 2
ja 0x52145c
cmp dword [ebp - 0x1c], 0
je 0x521462
cmp dword [ebp - 0x1c], 1
je 0x52144a
jmp 0x52145c
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov dword [ebp - 0x1c], 0
jmp 0x52145d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], 1
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x80], ecx
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x7c], esi
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x78], ecx
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x74], esi
fld1
fstp qword [esp + 0x6c]
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x68], ecx
fld qword [0x58bd10]
fstp qword [esp + 0x60]
mov dword [esp + 0x5c], 2
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x58], esi
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x54], ecx
fld1
fstp qword [esp + 0x4c]
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x48], esi
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], 3
mov esi, dword [ebp - 0x50]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 7
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x34], ecx
mov esi, dword [ebp - 0x58]
mov dword [esp + 0x30], esi
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x200000
mov dword [esp + 0x24], 6
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 9
fld qword [0x58bd00]
fstp qword [esp + 8]
fld qword [0x58bd08]
fstp qword [esp]
call sym._ByteAlloc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 3
jmp 0x52145d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x1c], 2
jmp 0x52145d
nop
jmp 0x521282
nop
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret