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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0xc], esp
lea eax, [esi + 0x80]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x41b430
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x40]
mov word [eax + 4], 0
mov dword [eax], 0x7025
lea edi, [esi + 0x20]
mov dword [edi + 0x10], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
push eax
sub esp, 0x18
mov ebx, esp
lea eax, [ebx + 8]
push eax
call fcn.00449740
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 4], 0x14
lea eax, [esi + 0x40]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x18], eax
call fcn.0041c870
add esp, 0x1c
mov esp, dword [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + eax]
add ecx, 0x20
mov eax, dword [ebp + 0x10]
mov al, byte [eax + 4]
and al, 0xb0
mov dword [esi + 0x1c], ecx
mov dword [esi + 0xc], ecx
cmp al, 0x20
je 0x417124
cmp al, 0x10
je 0x417258
lea eax, [esi + 0x20]
mov dword [esi + 0xc], eax
xor ebx, ebx
dec ebx
mov dword [esi + 0x71], ebx
mov dword [esi + 0x6d], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
lea edi, [esi + 0x18]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00449050
mov edi, dword [edi]
mov dword [esi + 0x38], 0x4e708c
mov dword [esi + 0x3c], 0x41a6e0
mov eax, dword [0x4e708c]
cmp eax, ebx
jne 0x417223
mov eax, dword [0x4e7090]
lea edx, [eax - 1]
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
sub edi, ecx
sar edi, 2
cmp edi, edx
jbe 0x417214
mov ebx, dword [ecx + eax*4 - 4]
test ebx, ebx
je 0x417214
mov edi, dword [esi + 0x18]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
mov dword [esi + 0x88], 0xffffffff
test eax, eax
je 0x417298
mov eax, dword [ebx]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
lea eax, [esi + 0x50]
lea edx, [esi + 0x20]
mov ecx, ebx
push eax
mov ebx, dword [esi + 0x1c]
push ebx
push edx
call edi
mov ecx, dword [esi + 0xc]
mov eax, ecx
lea edx, [esi + 0x20]
sub eax, edx
cmp ecx, ebx
mov ecx, dword [esi + 0x14]
lea ecx, [esi + ecx + 0x50]
lea eax, [esi + eax + 0x50]
cmove eax, ecx
movsx edx, byte [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push ecx
push eax
lea eax, [esi + 0x50]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.00494340
add esp, 0x1c
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [esi + 0x88], 0
call fcn.00493fb0
mov dword [esi + 0x10], edi
lea eax, [esi + 0x38]
lea ecx, [esi + 0x4c]
mov dword [ecx], eax
lea eax, [esi + 0x48]
mov dword [eax], ecx
mov dword [esi + 0x88], 0
push 0x41ae10
push eax
push 0x4e708c
call fcn.0041b5d0
add esp, 0xc
mov edi, dword [esi + 0x10]
jmp 0x417164
lea eax, [esi + 0x21]
mov dword [esi + 0xc], eax
mov al, byte [eax - 1]
cmp al, 0x2b
je 0x417124
cmp al, 0x2d
je 0x417124
cmp dword [esi + 0x14], 2
jl 0x41711e
cmp al, 0x30
jne 0x41711e
mov al, byte [esi + 0x21]
or al, 0x20
cmp al, 0x78
jne 0x41711e
lea eax, [esi + 0x22]
jmp 0x417121
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esi + 0x10], ecx
call dword [section..00cfg]
mov ecx, edi
call dword [esi + 0x10]
jmp 0x4171a8