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

Disassembly:
sub esp, 0x3c
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x198]
xor eax, eax
push ebx
mov byte [esp + 6], al
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
movzx eax, word [ecx + 0x1a0]
push ebp
lea ebp, [ecx + 0x198]
mov dword [esp + 0x18], eax
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], eax
add eax, edx
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x5c]
push edi
push eax
lea eax, [ecx + 0xf84]
mov ebx, esi
mov dword [esp + 0x28], 3
call fcn.00410b40
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x41193f
mov byte [esp + 0x13], 0
jle 0x41195c
xor ecx, ecx
xor edi, edi
jmp 0x411580
xor ecx, ecx
mov edi, edi
mov dl, byte [ebp + 4]
mov byte [ebp + 5], dl
cmp dword [esi], 2
jne 0x411592
mov byte [esp + 0x12], 1
jmp 0x4115bf
lea eax, [edi*8]
sub eax, edi
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 8]
sub eax, ecx
je 0x4115bb
sub eax, 1
je 0x4115b1
mov dword [esp + 0x60], ecx
jmp 0x4115bf
mov dword [esp + 0x18], 1
jmp 0x4115bf
mov dword [esp + 0x18], ecx
lea eax, [edi*8]
sub eax, edi
lea ecx, [eax + eax*4]
mov edx, dword [esi + ecx*4 + 0x10]
lea ebx, [esi + ecx*4]
add edx, edx
add edx, edx
add edx, edx
push edx
lea eax, [ebx + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x40], ebx
call fcn.0041b620
lea edx, [esp + 0x48]
push 4
push edx
call fcn.0041b5b0
add esp, 0x14
cmp dword [esp + 0x60], 0
je 0x41180f
cmp dword [ebx + 0xc], 0xe
jne 0x411631
mov eax, dword [ebx + 0x10]
lea eax, [eax*8 - 0xe]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
jge 0x411638
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], ecx
jmp 0x41164e
cmp dword [esp + 0x28], 0
je 0x41164e
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0041c090
add esp, 8
mov dword [esp + 0x60], eax
lea edx, [esp + 0x3c]
push 1
push edx
call fcn.0041b5b0
add esp, 8
cmp dword [esp + 0x60], 0
je 0x41180f
test eax, eax
je 0x411710
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
call fcn.00414360
add esp, 0xc
cmp eax, 3
mov dword [esp + 0x24], eax
je 0x411dfb
cmp eax, 1
jne 0x411710
push ebp
call fcn.0041be50
mov esi, dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x1c], eax
add esi, 0x78
mov ebx, 2
lea ecx, [ecx]
push esi
call fcn.00417400
add esp, 4
add esi, 0xcc
sub ebx, 1
jne 0x4116b0
mov ebx, dword [esp + 0x50]
xor esi, esi
lea ebx, [ebx]
mov edx, dword [ebx]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
push edx
push ecx
push esi
lea edx, [ebx + 4]
push ebp
push edx
call fcn.00413f50
or dword [esp + 0x30], eax
add esi, 1
add esp, 0x14
add ebx, 0xcc
cmp esi, 2
jl 0x4116d0
cmp dword [esp + 0x1c], 0
jne 0x411767
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x34]
mov dword [ebp], 2
cmp dword [esp + 0x1c], 0
jne 0x411767
mov eax, dword [ebp]
test eax, eax
je 0x411771
cmp eax, 2
jne 0x411801
cmp byte [esp + 0x12], 0
je 0x41187c
cmp byte [esp + 0x13], 0
jne 0x411844
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov al, byte [edx + 0xd6]
test al, al
jge 0x41182d
mov ecx, dword [esp + 0x14]
xor eax, eax
mov byte [ecx + 0x6c], al
lea eax, [esp + 0x3c]
push eax
push 0
push ecx
jmp 0x4118fe
cmp dword [ebp], 0
je 0x411dfb
movzx ecx, word [ebp + 0xa]
mov eax, dword [esp + 0x20]
push eax
shr ecx, 1
push ecx
push ebp
call fcn.00414290
push ebp
call fcn.0041be50
mov edx, dword [ebp + 0x1c]
mov edi, dword [esp + 0x60]
mov byte [edx + 4], 0x20
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov byte [eax + 5], 0x20
lea esi, [edi + 0x78]
mov ebx, 2
lea ebx, [ebx]
push esi
call fcn.00417400
add esp, 4
add esi, 0xcc
sub ebx, 1
jne 0x4117b0
mov ebx, edi
mov edi, dword [esp + 0x5c]
xor esi, esi
lea esp, [esp]
mov ecx, dword [ebx]
mov edx, dword [edi]
push ecx
push edx
push esi
lea eax, [ebx + 4]
push ebp
push eax
call fcn.00413f50
or dword [esp + 0x30], eax
add esi, 1
add esp, 0x14
add ebx, 0xcc
cmp esi, 2
jl 0x4117d0
mov esi, dword [esp + 0x54]
mov dword [ebp], 1
cmp dword [esp + 0x60], 0
je 0x41180f
cmp dword [esp + 0x24], 2
jne 0x411813
mov byte [ebp + 4], 1
mov al, byte [esp + 0x13]
add al, 1
movzx edi, al
cmp edi, dword [esi]
mov byte [esp + 0x13], al
jl 0x41157c
jmp 0x41195c
mov ecx, dword [esp + 0x14]
movsx eax, al
mov byte [ecx + 0x6c], al
lea eax, [esp + 0x3c]
push eax
push 0
push ecx
jmp 0x4118fe
mov edx, dword [esp + 0x50]
mov eax, edi
shl eax, 4
add eax, edi
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*4]
mov al, byte [eax + 0xd6]
test al, al
jge 0x411863
xor eax, eax
jmp 0x411866
movsx eax, al
lea ecx, [esp + 0x3c]
push ecx
push 0
mov byte [0x442d2c], al
push 0x442cc0
jmp 0x4118fe
mov eax, edi
shl eax, 4
add eax, edi
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x50]
lea ecx, [eax + edx*4]
mov edx, dword [ecx]
mov al, byte [edx + 0xd6]
test al, al
jge 0x41189d
xor eax, eax
jmp 0x4118a0
movsx eax, al
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 0x14]
mov byte [edx + 0x6c], al
je 0x4118e1
mov eax, dword [ecx + 0xcc]
mov al, byte [eax + 0xd6]
test al, al
jge 0x4118c2
xor eax, eax
jmp 0x4118c5
movsx eax, al
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0x442cc0
push edx
push ebp
mov byte [0x442d2c], al
call fcn.00415150
jmp 0x411904
mov edx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x68], eax
lea ecx, [esp + 0x3c]
setne al
push ecx
push 0x446ff8
push edx
mov dword [0x446ff8], eax
push ebp
call fcn.00415070
mov dword [esp + 0x70], eax
lea eax, [esp + 0x4c]
add esp, 0x10
push eax
call fcn.0041b670
mov edx, dword [ebx + 0x10]
mov ecx, eax
neg ecx
add edx, edx
and ecx, 7
add edx, edx
add ecx, eax
add edx, edx
add esp, 4
cmp ecx, edx
je 0x411801
mov dword [esp + 0x60], 0
jmp 0x41180f
cmp dword [ebp], 0
je 0x41194c
mov dword [ebp], 1
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp dword [ecx], 2
sete al
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
test eax, eax
je 0x411df4
cmp dword [esp + 0x30], 0
jne 0x411979
cmp dword [esp + 0x60], 0
je 0x411df4
cmp eax, 2
jne 0x411b0b
mov edi, dword [esp + 0x50]
xor esi, esi
cmp dword [esp + 0x24], 1
je 0x4119a0
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov cl, byte [eax + 0x6c]
cmp cl, byte [edx + 0xd6]
je 0x411a03
mov dx, word [ebp + 0xa]
mov eax, dword [ebp + 0x1c]
mov cl, byte [eax + 5]
lea ebx, [edi + 0x9c]
push edx
mov dl, byte [eax + 2]
push ecx
lea ecx, [eax + 0x6a]
push edx
mov dl, byte [eax + 3]
push ecx
lea ecx, [eax + 0x70]
push edx
mov dl, byte [eax + 4]
mov eax, dword [esp + 0x28]
push ecx
mov cl, byte [eax + 0x6c]
push edx
push ecx
push ebx
call fcn.0041b2a0
mov ebx, dword [ebx]
movzx edx, byte [ebp + 0x17]
movzx ecx, byte [ebx + 1]
push edx
push ecx
mov esi, eax
mov eax, dword [ebp + 0x1c]
movzx edx, byte [eax]
mov ecx, dword [eax + 0x18]
add ebx, 0xe
push ebx
push edx
push ecx
lea edx, [eax + 0x13]
push edx
add eax, 6
push eax
call fcn.00418d50
add esp, 0x40
or esi, eax
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x411a11
cmp byte [esp + 0x12], dl
je 0x411a8c
cmp dword [esp + 0x24], 1
mov cl, byte [0x442d2c]
je 0x411a2c
mov eax, dword [edi + 0xcc]
cmp cl, byte [eax + 0xd6]
je 0x411a8c
mov dx, word [ebp + 0xa]
mov eax, dword [ebp + 0x1c]
lea ebx, [edi + 0x168]
push edx
mov dl, byte [eax + 5]
push edx
mov dl, byte [eax + 2]
push edx
lea edx, [eax + 0x6a]
push edx
mov dl, byte [eax + 3]
push edx
lea edx, [eax + 0x70]
mov al, byte [eax + 4]
push edx
push eax
push ecx
push ebx
call fcn.0041b2a0
mov ebx, dword [ebx]
movzx ecx, byte [ebp + 0x17]
movzx edx, byte [ebx + 1]
push ecx
push edx
or esi, eax
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [eax]
mov edx, dword [eax + 0x18]
add ebx, 0xe
push ebx
push ecx
push edx
lea ecx, [eax + 0x13]
push ecx
add eax, 6
push eax
call fcn.00418d50
mov edx, dword [esp + 0x58]
add esp, 0x40
or esi, eax
test esi, esi
je 0x411a99
mov dword [ebp], 1
jmp 0x411b0b
cmp byte [esp + 0x12], 0
je 0x411acd
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
push 0
push 0
push edx
push eax
push ebp
call fcn.00416bd0
mov ecx, dword [edi + 0xcc]
push 0
push 0
push ecx
push 0x442cc0
push ebp
call fcn.00416bd0
add esp, 0x28
jmp 0x411b0b
test edx, edx
je 0x411ad9
mov eax, dword [edi + 0xcc]
jmp 0x411adb
xor eax, eax
neg edx
push eax
mov eax, dword [esp + 0x18]
sbb edx, edx
and edx, 0x442cc0
push edx
mov edx, dword [edi]
push edx
push eax
push ebp
call fcn.00416bd0
add esp, 0x14
cmp dword [ebp + 0xc], 3
jne 0x411b0b
push 0x446ff8
call fcn.004155b0
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x411b1c
cmp byte [ebp + 4], 0
jne 0x411df4
cmp dword [ebp], 2
jne 0x411b69
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 5]
mov edx, dword [esp + 0x50]
mov edx, dword [edx]
mov al, byte [ecx + eax + 6]
mov byte [edx + 0xd5], al
jne 0x411b4c
cmp byte [esp + 0x12], 0
je 0x411c66
movzx ecx, byte [0x442cc5]
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0xcc]
mov cl, byte [ecx + 0x442cc6]
mov byte [eax + 0xd5], cl
cmp dword [esp + 0x18], 0
je 0x411c66
cmp dword [esp + 0x68], 0
je 0x411c66
cmp dword [ebp], 2
jne 0x411b99
mov edx, dword [esp + 0x14]
push 0x442cc0
push edx
mov eax, ebp
call fcn.00410ba0
add esp, 8
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
xor edx, edx
cmp esi, 4
jl 0x411c38
lea eax, [edi + esi*4]
add esi, 0xfffffffc
shr esi, 2
add esi, 1
lea ecx, [edi + 8]
lea edx, [esi*4]
fld dword [eax]
add eax, 0x10
fadd dword [ecx - 8]
add ecx, 0x10
sub esi, 1
fdiv dword [0x42e7f8]
fstp dword [esp + 0x54]
mov ebx, dword [esp + 0x54]
mov dword [ecx - 0x18], ebx
mov dword [eax - 0x10], ebx
fld dword [ecx - 0x14]
fadd dword [eax - 0xc]
fdiv dword [0x42e7f8]
fstp dword [esp + 0x54]
mov ebx, dword [esp + 0x54]
mov dword [ecx - 0x14], ebx
fld dword [eax - 8]
mov dword [eax - 0xc], ebx
fadd dword [ecx - 0x10]
fdiv dword [0x42e7f8]
fstp dword [esp + 0x54]
mov ebx, dword [esp + 0x54]
mov dword [ecx - 0x10], ebx
mov dword [eax - 8], ebx
fld dword [ecx - 0xc]
fadd dword [eax - 4]
fdiv dword [0x42e7f8]
fstp dword [esp + 0x54]
mov ebx, dword [esp + 0x54]
mov dword [ecx - 0xc], ebx
mov dword [eax - 4], ebx
jne 0x411bc2
mov esi, dword [esp + 0x20]
cmp edx, esi
jge 0x411c66
lea eax, [edx + esi]
lea eax, [edi + eax*4]
fld dword [edi + edx*4]
add edx, 1
fadd dword [eax]
add eax, 4
cmp edx, esi
fdiv dword [0x42e7f8]
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
mov dword [edi + edx*4 - 4], ecx
mov dword [eax - 4], ecx
jl 0x411c42
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi]
mov eax, dword [esp + 0x50]
push ecx
xor ecx, ecx
cmp dword [ebp], 2
lea edx, [eax + 0x10c]
push edx
mov edx, dword [eax]
sete cl
push 0x446ff8
add eax, 4
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push ebp
push 0x442cc0
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
push eax
call fcn.004136d0
add esp, 0x2c
cmp dword [esp + 0x68], 0
jne 0x411d72
cmp dword [esp + 0x18], 0
jne 0x411cc4
cmp byte [esp + 0x12], 0
je 0x411d72
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
add ebx, ebx
add ebx, ebx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, eax
mov ecx, 0x116
mov esi, 0x442cc0
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
shr ecx, 2
lea esi, [ebx + eax]
mov edi, 0x442cc0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x58]
lea edi, [ebx + ecx]
mov ecx, dword [edx]
push ecx
mov ecx, dword [esp + 0x54]
xor edx, edx
cmp dword [ebp], 2
push 0
sete dl
push 0
add ecx, 0xd0
push edx
mov edx, dword [ecx - 4]
push edx
push eax
push ebp
push 0x442cc0
push eax
push edi
push ecx
call fcn.004136d0
add esp, 0x2c
cmp dword [esp + 0x64], 0
mov ecx, ebx
je 0x411d6b
mov esi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov esi, 0x442cc0
jmp 0x411ddc
cmp dword [ebp + 0xc], 3
jne 0x411d88
pop edi
mov dword [esi], 2
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
cmp dword [esp + 0x64], 0
je 0x411dd0
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
add eax, eax
add eax, eax
mov ecx, eax
mov ebp, ecx
shr ecx, 2
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
shr ecx, 2
mov esi, ebx
lea edi, [eax + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [ebp], 0
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x3c
ret