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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ebx, ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0xa8], eax
xor ecx, ecx
mov dword [ebx], ecx
mov eax, 0xff
mov dword [ebx + 4], eax
mov word [ebx + 0x54], cx
xorps xmm0, xmm0
movups xmmword [ebx + 8], xmm0
movups xmmword [ebx + 0x14], xmm0
movups xmmword [ebx + 0x58], xmm0
movups xmmword [ebx + 0x68], xmm0
mov dword [ebx + 0xc0], 0x1000
mov word [ebx + 0xc4], 1
mov byte [ebx + 0xc6], cl
mov dword [ebx + 0xc8], 0x101
mov byte [ebx + 0xcc], cl
mov dword [ebx + 0xd0], ecx
mov word [ebx + 0xd4], cx
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], ecx
mov dword [ebx + 0xe0], 0xa
mov word [ebx + 0xe4], 0x101
mov dword [ebx + 0x110], ecx
mov dword [ebx + 0x114], 1
lea ecx, [ebx + 0x118]
call fcn.00520686
xor eax, eax
mov byte [ebx + 0x128], al
mov dword [ebx + 0x12c], eax
mov dword [ebx + 0x130], eax
mov byte [ebx + 0x134], al
lea ecx, [ebx + 0x138]
push eax
xor esi, esi
call fcn.00520804
lea eax, [ebx + 0x148]
mov dword [ebx + 0x148], esi
mov dword [ebx + 0x14c], esi
mov dword [ebx + 0x144], eax
lea ecx, [ebx + 0x150]
push esi
call fcn.00520804
lea ecx, [ebx + 0x15c]
push esi
call fcn.00520804
lea ecx, [ebx + 0x168]
push esi
call fcn.00520804
lea ecx, [ebx + 0x174]
push esi
call fcn.00520804
lea ecx, [ebx + 0x180]
push esi
call fcn.00520804
lea ecx, [ebx + 0x18c]
push esi
call fcn.00520804
lea ecx, [ebx + 0x198]
push esi
call fcn.00520804
lea ecx, [ebx + 0x1a4]
push esi
call fcn.00520804
lea ecx, [ebx + 0x1b0]
mov edi, 0x53
push edi
call fcn.005214ec
lea ecx, [ebx + 0x1bc]
push edi
call fcn.005214ec
mov dword [ebx + 0x1c8], esi
lea ecx, [ebx + 0x1cc]
mov dword [esp + 0x10], ecx
call fcn.005dd5d8
lea ecx, [ebx + 0x254]
mov dword [esp + 0x14], ecx
call fcn.005dd5d8
lea ecx, [ebx + 0x2dc]
mov dword [esp + 8], ecx
call fcn.005dd5d8
lea ecx, [ebx + 0x364]
mov dword [esp], ecx
call fcn.005dd5d8
lea ecx, [ebx + 0x3ec]
mov dword [esp + 4], ecx
call fcn.005dd5d8
lea ecx, [ebx + 0x478]
mov dword [esp + 0xc], ecx
call fcn.00520a6a
lea ecx, [ebx + 0x540]
push esi
call fcn.00520804
lea ecx, [ebx + 0x54c]
push edi
call fcn.005214ec
lea ecx, [ebx + 0x558]
push edi
call fcn.005214ec
lea ecx, [ebx + 0x564]
push edi
call fcn.005214ec
xor ecx, ecx
mov dword [ebx + 0x570], ecx
mov dword [ebx + 0x574], ecx
lea eax, [ebx + 0x57c]
mov dword [ebx + 0x57c], ecx
mov dword [ebx + 0x580], ecx
mov dword [ebx + 0x578], eax
mov byte [ebx + 0x584], cl
mov dword [ebx + 0x588], ecx
mov dword [ebx + 0x58c], ecx
xor eax, eax
lea ecx, [ebx + 0x590]
push eax
call fcn.00520804
lea edi, [esp + 0x20]
mov ecx, edi
push 0xffa7a6aa
call fcn.005dd62a
mov ecx, dword [esp + 0x10]
push edi
call fcn.005dd7b6
mov ecx, edi
call fcn.00520b96
mov ecx, edi
push 0xff000000
call fcn.005dd62a
mov ecx, dword [esp + 0x14]
push edi
call fcn.005dd7b6
mov ecx, edi
call fcn.00520b96
mov ecx, edi
push 0xff0000ff
call fcn.005dd62a
mov ecx, dword [esp + 8]
push edi
call fcn.005dd7b6
mov ecx, edi
call fcn.00520b96
mov ecx, edi
push 0xffd3215f
call fcn.005dd62a
mov ecx, dword [esp]
push edi
call fcn.005dd7b6
mov ecx, edi
call fcn.00520b96
mov ecx, edi
push 0xffbae4ff
call fcn.005dd62a
mov ecx, dword [esp + 4]
push edi
call fcn.005dd7b6
mov ecx, edi
call fcn.00520b96
xor eax, eax
dec eax
lea esi, [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.005242e6
mov ecx, eax
push esi
call fcn.00523b4c
mov eax, dword [esi]
test eax, eax
je 0x51a44a
movzx ecx, byte [eax + 0x112]
mov dword [esp + 4], ecx
movzx ecx, byte [eax + 0x111]
mov dword [esp], ecx
movzx eax, byte [eax + 0x110]
mov dword [esp + 8], eax
call fcn.005219a8
mov edx, dword [esp + 0x18]
mov ecx, eax
push dword [edx + 0x10c]
call fcn.00521a14
mov edi, eax
mov esi, 0x88
mov ecx, dword [esp + 0x18]
add ecx, esi
call fcn.004b45c0
mov ecx, ebx
push dword [esp + 4]
push dword [esp + 4]
push dword [esp + 0x10]
push edi
push eax
call fcn.0051a5ee
mov dword [esp + 4], eax
mov ecx, dword [eax]
mov dword [ebx + 0x474], ecx
lea edx, [eax + 4]
mov ecx, dword [esp + 0xc]
mov dword [esp], edx
push edx
call fcn.00520c92
lea edi, [ebx + 0x4fc]
mov eax, dword [esp + 4]
add esi, eax
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
test eax, eax
mov edi, 0xffffffff
je 0x51a516
mov esi, eax
mov ecx, dword [esp]
call fcn.00520b96
push esi
call fcn.006c90e6
add esp, 4
jmp 0x51a516
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push edi
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov byte [esp + 0x37], 1
mov ecx, 0x7bd5bc
call fcn.00520bb8
test eax, eax
jle 0x51a4aa
mov ecx, 0x7bd5bc
call fcn.004b45c0
lea ecx, [esp + 0x3c]
push eax
push 0x20
push ecx
call fcn.006e7126
add esp, 0xc
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x474], eax
lea esi, [esp + 0x3c]
mov ecx, dword [esp + 0xc]
push esi
call fcn.00520cac
xor eax, eax
sub eax, dword [esi - 0x1c]
mov dword [ebx + 0x4fc], eax
cmp dword [esi - 0xc], 0x2bc
setge byte [ebx + 0x500]
cmp byte [esi - 7], 1
sete byte [ebx + 0x501]
cmp byte [esi - 8], 1
sete byte [ebx + 0x502]
xorps xmm0, xmm0
movups xmmword [ebx + 0x530], xmm0
movups xmmword [ebx + 0x524], xmm0
movups xmmword [ebx + 0x514], xmm0
movups xmmword [ebx + 0x504], xmm0
xor edi, edi
dec edi
cmp dword [0x7bd5b0], 0
jne 0x51a54a
push 0xdc
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [0x7bd5b0], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x574], eax
xorps xmm0, xmm0
movups xmmword [ebx + 0xb0], xmm0
movups xmmword [ebx + 0xa0], xmm0
movups xmmword [ebx + 0x90], xmm0
movups xmmword [ebx + 0x80], xmm0
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0x78], edi
movups xmmword [ebx + 0xe8], xmm0
movups xmmword [ebx + 0xf8], xmm0
xor eax, eax
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x108], eax
push 0x150
call fcn.006c90b6
add esp, 4
mov esi, eax
call fcn.005242e6
mov ecx, esi
push eax
call fcn.0052277e
mov dword [ebx + 0x570], esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x51a5d6
lock xadd dword [esi + 4], edi
test edi, edi
jne 0x51a5d6
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov ecx, esi
call fcn.0045432c
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret