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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x1008e00c]
xor eax, ebp
mov dword [esp + 0x140], eax
mov dword [esp + 0x14], edx
xor ebx, ebx
cmp byte [ecx + 8], 0
jne 0x100458b6
mov ecx, dword [esp + 0x140]
xor ecx, ebp
call fcn.10039ea0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call fcn.10045bb0
mov dword [esp], eax
lea esi, [esp + 0x30]
push esi
call dword [0x1008bea0]
mov byte [esi + 0x38], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x3c], xmm0
movaps xmm1, xmmword [0x1007d350]
movups xmmword [esi + 0x4c], xmm1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], 1
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov ecx, esi
push dword [esp]
call fcn.10056000
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov byte [esp + 0x10], 1
mov dword [esp + 4], edi
mov edi, dword [edi]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], esi
mov eax, dword [ebp + 8]
mov dword [esp + 0xbc], eax
mov ecx, edi
call fcn.1003e600
mov ebx, dword [edi + 0x3c]
test ebx, ebx
je 0x10045b0e
mov eax, dword [ebx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x18]
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea ecx, [esp + 0xb0]
call fcn.10056320
mov byte [esp], al
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
cmp byte [edi + 0x38], 0
je 0x100459a4
mov dword [edi + 0x30], 0
add edi, 0x18
push edi
call dword [0x1008bee0]
cmp byte [esp], 0
je 0x10045aee
lea ecx, [esp + 0x30]
lea esi, [esp + 0xb0]
mov edx, esi
call fcn.10045c10
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
jne 0x10045ae1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov byte [esp + 0xb0], 0x11
mov dword [esp + 0xb1], eax
lea edi, [esp + 0x18]
mov ecx, edi
push esi
call fcn.10043a70
add esp, 4
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov byte [edx + 8], 1
lea esi, [esp + 0x30]
mov ecx, esi
call fcn.1003e600
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x10045b24
mov eax, dword [ebx]
mov edi, dword [eax + 0x2c]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], ebx
mov ecx, ebx
call edi
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x18]
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
xor eax, eax
lea ebx, [esp + 0xb0]
mov ecx, ebx
push eax
push eax
call fcn.10052340
add esp, 8
mov eax, dword [ebx + 0x24]
xor eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x20]
xor ecx, dword [ebx + 0x60]
or ecx, eax
mov esi, dword [esp + 4]
je 0x10045ab0
lea edi, [esp + 0xc0]
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push ebx
call fcn.10043a70
add esp, 4
mov ecx, edi
call fcn.100530b0
mov ecx, ebx
call fcn.10052610
test al, al
je 0x10045a7e
mov eax, dword [esp + 0xd4]
xor eax, dword [esp + 0x114]
mov ecx, dword [esp + 0xd0]
xor ecx, dword [esp + 0x110]
or ecx, eax
jne 0x10045a6f
mov edi, dword [esp]
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov bl, 1
cmp byte [esp + 0x68], 0
je 0x10045af0
lea eax, [esp + 0x48]
mov dword [eax + 0x18], 0
push eax
call dword [0x1008bee0]
jmp 0x10045af0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 8], 0
je 0x10045aee
mov byte [eax + 8], 0
xor ebx, ebx
cmp byte [esp + 0x10], 0
je 0x10045b00
lea ecx, [esp + 8]
call fcn.1005f840
lea ecx, [esp + 0x30]
call fcn.1003e4e0
jmp 0x1004589e
lea ecx, [esp + 0xb0]
xor edx, edx
call fcn.10056320
mov byte [esp], al
jmp 0x1004598d
xor eax, eax
lea edi, [esp + 0xb0]
mov ecx, edi
xor edx, edx
push eax
push eax
call fcn.10052340
add esp, 8
mov eax, dword [edi + 0x24]
xor eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x20]
xor ecx, dword [edi + 0x60]
or ecx, eax
je 0x10045ac4
lea ebx, [esp + 0xc0]
lea esi, [esp + 0x18]
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov ecx, esi
push edi
call fcn.10043a70
add esp, 4
mov ecx, ebx
call fcn.100530b0
mov ecx, edi
call fcn.10052610
test al, al
je 0x10045b6b
mov eax, dword [esp + 0xd4]
xor eax, dword [esp + 0x114]
mov ecx, dword [esp + 0xd0]
xor ecx, dword [esp + 0x110]
or ecx, eax
jne 0x10045b5a
jmp 0x10045ac4