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

Disassembly:
jmp 0x41ea90
sub esp, 0x54
mov eax, dword [0x5c0f28]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], eax
test eax, eax
je 0x41ecd9
mov ebp, dword [esp + 0x6c]
mov edx, dword [ecx]
xorps xmm0, xmm0
add edx, edi
mov dword [esp + 0x58], 0
mov eax, edx
mov dword [esp + 0x5c], 0
movups xmmword [esp + 0x48], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41eb02
sub eax, esi
lea ecx, [esp + 0x48]
push eax
push edx
call fcn.00405fe2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], edx
test edi, edi
je 0x41ec87
cmp ebp, 3
jbe 0x41ec87
mov ebp, dword [esp + 0x58]
lea eax, [esp + 0x48]
mov edi, ebp
mov dword [esp + 0x30], ebp
xor edi, 0x14d
cmp dword [esp + 0x5c], 0x10
cmovae eax, edx
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, ebp
shr eax, 2
mov dword [esp + 0x20], eax
test eax, eax
je 0x41ec29
mov ebp, eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_ArcTo]
push str.Z81xbyuAua
push 0x5c4c18
call fcn.0040321f
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x44], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [esp + 0x40]
push eax
call fcn.00403981
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
call dword [edx + 0x30]
movzx eax, ax
mov dword [esp + 0x1c], eax
test esi, esi
je 0x41ebe1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x41ebdd
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004023ba
mov ecx, dword [esp + 0x2c]
call fcn.00406b9f
mov eax, dword [esp + 0x24]
imul edi, edi, 0x5bd1e991
imul ecx, dword [eax + ebx*4], 0x5bd1e991
inc ebx
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e991
xor edi, ecx
cmp ebx, ebp
jl 0x41eb64
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
and ebp, 3
lea esi, [ecx + eax*4]
xor ecx, ecx
sub ebp, 1
je 0x41ec54
sub ebp, 1
je 0x41ec4b
sub ebp, 1
jne 0x41ec61
movsx ecx, byte [esi + 2]
shl ecx, 0x10
movsx eax, byte [esi + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor edi, eax
mov ebp, dword [esp + 0x6c]
mov eax, edi
shr eax, 0xd
xor eax, edi
imul eax, eax, 0x5bd1e991
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
je 0x41ec7f
cmp ecx, ebp
je 0x41ecf2
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
add ecx, 4
mov dword [esp + 0x14], ecx
cmp eax, 0x10
jb 0x41ecca
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ecbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ed47
push ecx
push edx
call fcn.00401bd6
mov ecx, dword [esp + 0x1c]
add esp, 8
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0x38]
jb 0x41eae1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040354e
add esp, 0x54
ret
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0x10
jb 0x41ecd9
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ed3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ed47
push ecx
push edx
call fcn.00401bd6
add esp, 8
jmp 0x41ecd9
call fcn.00405088
int3