Function at 0x52810c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [0xa8263c], 0
jne 0x5284a7
mov dword [0xa8263c], 1
mov dword [ebp - 4], 0x3a8
call fcn.005284ac
mov dword [0xa82640], eax
call fcn.005284d0
mov dword [0xa82644], eax
call fcn.005284f4
mov dword [0xa82648], eax
call fcn.00528518
mov dword [0xa8264c], eax
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcessHeap]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5281a0
push 0x172
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [0xa82650], eax
mov dword [ebp - 0x14], esp
push str.ntdll.dll
xor eax, eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5281d3
push 0x1b2
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push str.RtlAllocateHeap
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x528207
push 0x1f7
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [0xa82654], eax
mov dword [ebp - 0x14], esp
push str.RtlReAllocateHeap
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x52823d
push 0x24d
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [0xa82658], eax
mov dword [ebp - 0x14], esp
push str.RtlFreeHeap
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x528273
push 0x2a1
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [0xa8265c], eax
mov dword [ebp - 0x14], esp
push 0x20000
push 8
push dword [0xa82650]
xor eax, eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5282b1
push 0x30c
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5284a7
push dword [ebp - 0xc]
call fcn.00528570
mov dword [ebp - 0x14], esp
push 0x20000
push 8
push dword [0xa82650]
xor eax, eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5282ff
push 0x3cc
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [0xa82660], eax
cmp dword [0xa82660], 0
je 0x52836d
fild dword [0xa82660]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0xa1336c]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], esp
push 0x1fffe
fld qword [ebp - 0x20]
call fcn.004ef9d0
push eax
push 0x17d81
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x52836d
push 0x459
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x14], esp
push str.kernelbase.dll
xor eax, eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x52839b
push 0x4f8
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0xa6c98c
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x5283cf
push 0x4f8
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x528441
mov dword [ebp - 0x14], esp
push str.kernel32.dll
xor eax, eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x52840a
push 0x59b
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0xa6c98c
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x52843e
push 0x59b
push 0x4368ac3
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x20000
push dword [ebp - 0xc]
call fcn.005285d4
mov eax, dword [ebp - 0xc]
mov dword [0xa82664], eax
cmp dword [ebp - 0x10], 0
je 0x528473
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.00528604
jmp 0x5284a7
mov ebx, 6
call fcn.004fc800
push 0x80000301
push 0
push 0
push OleUIBusyA
push 0
push 0xa6c9a0
push 4
mov ebx, 0x300
call fcn.006480e0
add esp, 0x34
mov esp, ebp
pop ebp
ret