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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov dword [esp + 0xc], edx
mov eax, dword [0x1008e00c]
xor eax, ebp
mov dword [esp + 0xe8], eax
mov esi, dword [ecx]
mov ecx, esi
call fcn.1003e600
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x10045296
mov eax, dword [ebx]
mov edi, dword [eax + 0x2c]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
lea edi, [esp + 0x3c]
mov ecx, edi
mov edx, eax
mov dword [esp + 0x14], esi
push dword [esi + 0x44]
call fcn.100592b0
add esp, 4
cmp dword [edi], 0
je 0x10045281
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x3c]
call fcn.10052a60
lea ecx, [esp + 0x3c]
test eax, eax
je 0x10045281
lea edi, [esp + 0x18]
mov edx, edi
push eax
call fcn.100527c0
add esp, 4
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
je 0x10045281
mov dword [esp + 8], ebx
mov ecx, edi
push 1
lea ebx, [esp + 0x4c]
push ebx
call fcn.10052e10
cmp byte [esp + 0x48], 0x1b
jne 0x1004524c
xor eax, eax
mov dword [esp + 0x48], eax
xorpd xmm0, xmm0
movupd xmmword [esp + 0x50], xmm0
xor ecx, ecx
inc ecx
mov word [esp + 0x60], cx
movupd xmmword [esp + 0x68], xmm0
mov word [esp + 0x78], cx
mov byte [esp + 0x80], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], eax
mov ecx, edi
mov edx, ebx
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1005edc0
add esp, 0xc
mov eax, 0
cmp dword [esp + 0x48], esi
cmove eax, dword [esp + 0xc]
je 0x100452c3
jmp 0x10045439
mov ecx, edi
call fcn.10052db0
mov ebx, dword [esp + 8]
jmp 0x10045276
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x8c], 0
test edi, edi
jne 0x10045449
mov esi, dword [ebp + 8]
cmp dword [esp + 0x3c], 0
jne 0x10045179
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x38], 0
je 0x100452ad
mov dword [esi + 0x30], 0
add esi, 0x18
push esi
call dword [0x1008bee0]
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.10039ea0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
lea ecx, [eax + 4]
mov dword [esp], ecx
mov edx, 0x1007d734
push 0
push 0x1007d778
call fcn.10012500
add esp, 8
push edi
lea eax, [esp + 0xc4]
push eax
call fcn.1005f620
add esp, 8
mov edx, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
mov dword [esp + 0xa8], edi
test edx, edx
setne al
mov ecx, 1
cmovne ecx, edx
mov dword [esp + 0xac], ecx
cmp edi, 0xffffffff
setne cl
or edi, edx
mov ebx, dword [esp + 8]
je 0x10045331
and cl, al
je 0x1004562a
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x100455e3
lea eax, [esp + 0xa8]
push eax
call fcn.10046290
mov ecx, dword [esp]
mov edx, 0x1007d734
push 0
push eax
call fcn.1000f790
add esp, 8
cmp dword [esp + 0xc8], 2
je 0x100455f8
lea ecx, [esp + 0x50]
call fcn.1005f710
xor eax, eax
mov dword [esp + 0xc0], eax
xor edi, edi
inc edi
mov dword [esp + 0xc4], edi
mov ecx, dword [esp + 4]
lea esi, [esp + 0xc0]
mov edx, esi
call fcn.100531b0
lea ecx, [esp + 0x68]
call fcn.1005f710
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edi
mov ecx, dword [esp + 4]
mov edx, esi
call fcn.100531b0
movzx eax, byte [esp + 0x80]
mov ecx, dword [esp]
mov edx, 0x1007d734
xor edi, edi
push edi
push eax
call fcn.1000f790
add esp, 8
lea edi, [esp + 0x18]
push edi
call fcn.1005f0c0
add esp, 4
cmp eax, 0x3a
jae 0x10045615
lea eax, [eax + eax*2]
mov edi, dword [esp]
mov ecx, edi
mov edx, 0x1007d734
push 0
push dword [eax*4 + 0x1007d444]
call fcn.1000f790
add esp, 8
lea ecx, [esp + 0x18]
push 1
push esi
call fcn.10052e10
movzx eax, byte [esp + 0xc0]
test eax, eax
jne 0x1004545e
mov ecx, edi
mov edx, 0x1007d7c0
call fcn.1001a170
jmp 0x10045259
mov ecx, edi
call fcn.10052db0
mov ebx, dword [esp + 8]
jmp 0x10045259
mov ecx, edi
call fcn.1003e4e0
push edi
call fcn.10024a10
add esp, 4
jmp 0x10045273
mov dword [esp + 0x10], eax
mov ecx, edi
mov edx, 0x1007d734
push 1
push 0x1007d72c
call fcn.10012500
add esp, 8
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, eax
or edx, ecx
je 0x100454d0
movd xmm1, eax
movd xmm0, ecx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x1007d2e0]
subpd xmm1, xmmword [0x1007d2f0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
lea edx, [esp + 0xc0]
mov dword [edx], 0xe
mov dword [edx + 4], 0x10081803
mov ecx, dword [esp]
call fcn.10051790
mov eax, dword [esp + 0x90]
test eax, eax
je 0x10045579
lea esi, [esp + 0xc0]
mov dword [esi], 6
mov dword [esi + 4], 0x10080d76
xor edi, edi
mov ecx, dword [esp]
mov edx, esi
push edi
push 0x1007d72c
mov edi, eax
call fcn.10012500
add esp, 8
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea esi, [esp + 0xc0]
mov ecx, esi
push 0x10084cb3
call fcn.10002e10
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov edi, esi
lea esi, [esp + 0xa8]
push esi
call fcn.100241f0
add esp, 4
lea edx, [esp + 0xa4]
mov ecx, edi
push dword [ebp + 0xc]
push esi
push dword [esp + 0x14]
call fcn.10047280
add esp, 0xc
mov ecx, edi
call fcn.10047220
mov ecx, dword [esp]
mov edx, 0x1007d73c
call fcn.1001a170
lea esi, [esp + 0x18]
mov ecx, esi
push 1
lea eax, [esp + 0xc4]
push eax
call fcn.10052e10
cmp byte [esp + 0xc0], 0
mov edi, dword [esp]
je 0x100455ac
mov ecx, edi
mov edx, 0x1007d73c
call fcn.1001a170
jmp 0x10045428
mov eax, dword [0x1008f4f8]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jb 0x1004563f
mov eax, ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [eax*4 + 0x1008e854]
test ecx, ecx
je 0x10045654
call dword [section..00cfg]
push dword [esp + 4]
push esi
call ecx
add esp, 8
jmp 0x1004559b
mov dword [0x1008f8f4], 0x10081bd4
int3
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x1004536e
push eax
call fcn.10024a10
add esp, 4
jmp 0x1004536e
mov dword [0x1008f8f4], 0x10082fe0
int3
mov dword [0x1008f8f4], 0x10082d42
int3
mov dword [0x1008f8f4], 0x100821ec
int3
mov dword [0x1008f8f4], 0x10081d3a
int3