Function at 0x1004282a
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.1003bd1a
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x100429b0
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.100569ca
add esp, 4
cmp dword [edi], 0
je 0x1004299b
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x3c]
call fcn.1005017a
lea ecx, [esp + 0x3c]
test eax, eax
je 0x1004299b
lea edi, [esp + 0x18]
mov edx, edi
push eax
call fcn.1004feda
add esp, 4
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
je 0x1004299b
mov dword [esp + 8], ebx
mov ecx, edi
push 1
lea ebx, [esp + 0x4c]
push ebx
call fcn.1005052a
cmp byte [esp + 0x48], 0x1b
jne 0x10042966
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.1005c4da
add esp, 0xc
mov eax, 0
cmp dword [esp + 0x48], esi
cmove eax, dword [esp + 0xc]
je 0x100429dd
jmp 0x10042b53
mov ecx, edi
call fcn.100504ca
mov ebx, dword [esp + 8]
jmp 0x10042990
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x8c], 0
test edi, edi
jne 0x10042b63
mov esi, dword [ebp + 8]
cmp dword [esp + 0x3c], 0
jne 0x10042893
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 0x100429c7
mov dword [esi + 0x30], 0
add esi, 0x18
push esi
call dword [0x1008bee0]
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.100375ba
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.1000fc1a
add esp, 8
push edi
lea eax, [esp + 0xc4]
push eax
call fcn.1005cd3a
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 0x10042a4b
and cl, al
je 0x10042d44
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x10042cfd
lea eax, [esp + 0xa8]
push eax
call fcn.100439aa
mov ecx, dword [esp]
mov edx, 0x1007d734
push 0
push eax
call fcn.1000ceaa
add esp, 8
cmp dword [esp + 0xc8], 2
je 0x10042d12
lea ecx, [esp + 0x50]
call fcn.1005ce2a
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.100508ca
lea ecx, [esp + 0x68]
call fcn.1005ce2a
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edi
mov ecx, dword [esp + 4]
mov edx, esi
call fcn.100508ca
movzx eax, byte [esp + 0x80]
mov ecx, dword [esp]
mov edx, 0x1007d734
xor edi, edi
push edi
push eax
call fcn.1000ceaa
add esp, 8
lea edi, [esp + 0x18]
push edi
call fcn.1005c7da
add esp, 4
cmp eax, 0x3a
jae 0x10042d2f
lea eax, [eax + eax*2]
mov edi, dword [esp]
mov ecx, edi
mov edx, 0x1007d734
push 0
push dword [eax*4 + 0x1007d444]
call fcn.1000ceaa
add esp, 8
lea ecx, [esp + 0x18]
push 1
push esi
call fcn.1005052a
movzx eax, byte [esp + 0xc0]
test eax, eax
jne 0x10042b78
mov ecx, edi
mov edx, 0x1007d7c0
call fcn.1001788a
jmp 0x10042973
mov ecx, edi
call fcn.100504ca
mov ebx, dword [esp + 8]
jmp 0x10042973
mov ecx, edi
call fcn.1003bbfa
push edi
call fcn.1002212a
add esp, 4
jmp 0x1004298d
mov dword [esp + 0x10], eax
mov ecx, edi
mov edx, 0x1007d734
push 1
push 0x1007d72c
call fcn.1000fc1a
add esp, 8
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, eax
or edx, ecx
je 0x10042bea
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.1004eeaa
mov eax, dword [esp + 0x90]
test eax, eax
je 0x10042c93
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.1000fc1a
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 0x1000052a
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.1002190a
add esp, 4
lea edx, [esp + 0xa4]
mov ecx, edi
push dword [ebp + 0xc]
push esi
push dword [esp + 0x14]
call fcn.1004499a
add esp, 0xc
mov ecx, edi
call fcn.1004493a
mov ecx, dword [esp]
mov edx, 0x1007d73c
call fcn.1001788a
lea esi, [esp + 0x18]
mov ecx, esi
push 1
lea eax, [esp + 0xc4]
push eax
call fcn.1005052a
cmp byte [esp + 0xc0], 0
mov edi, dword [esp]
je 0x10042cc6
mov ecx, edi
mov edx, 0x1007d73c
call fcn.1001788a
jmp 0x10042b42
mov eax, dword [0x1008f4f8]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jb 0x10042d59
mov eax, ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [eax*4 + 0x1008e854]
test ecx, ecx
je 0x10042d6e
call dword [section..00cfg]
push dword [esp + 4]
push esi
call ecx
add esp, 8
jmp 0x10042cb5
mov dword [0x1008f8f4], 0x10081bd4
int3
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x10042a88
push eax
call fcn.1002212a
add esp, 4
jmp 0x10042a88
mov dword [0x1008f8f4], 0x10082fe0
int3
mov dword [0x1008f8f4], 0x10082d42
int3
mov dword [0x1008f8f4], 0x100821ec
int3
mov dword [0x1008f8f4], 0x10081d3a
int3