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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42f85f
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4514c8]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4514c8]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [esp + 0x28], ebx
call dword [0x43201c]
push ecx
mov ecx, 0x4524e0
call fcn.0041a09a
lea eax, [esp + 0x20]
push eax
push esi
call dword [0x432158]
mov esi, eax
mov dword [esp + 0x34], esi
cmp dword [esp + 0x20], ebx
je 0x4109a2
test esi, esi
je 0x4109a2
mov ecx, dword [0x432028]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x2c], esi
call fcn.00417d6a
mov dword [esp + 0xf0], ebx
lea ecx, [esp + 0x64]
push 0x448068
xor edi, edi
call fcn.0041113a
mov byte [esp + 0xf0], 1
lea ecx, [esp + 0x4c]
push dword [esi]
call fcn.0041113a
mov byte [esp + 0xf0], 2
lea edx, [esp + 0x64]
lea ecx, [esp + 0x4c]
call fcn.0040f23a
mov byte [esp + 0x16], al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x60], 8
jb 0x410217
push dword [esp + 0x4c]
call fcn.00426331
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov byte [esp + 0xf0], al
cmp dword [esp + 0x78], 8
jb 0x410248
push dword [esp + 0x64]
call fcn.00426331
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
cmp byte [esp + 0x16], 0
mov word [esp + 0x64], ax
mov eax, 1
cmovne edi, eax
mov dword [esp + 0x74], 0
cmp edi, dword [esp + 0x20]
jl 0x41027c
mov esi, 0x10000
jmp 0x41090a
mov ecx, dword [esi + edi*4]
lea eax, [esi + edi*4]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], eax
call fcn.00410a4a
mov esi, eax
test esi, esi
jne 0x4103bd
mov ecx, dword [esp + 0x2c]
call fcn.0040f84a
lea eax, [edi + 1]
mov byte [esp + 0x16], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jge 0x410347
push 0x44807c
lea ecx, [esp + 0x80]
call fcn.0041113a
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], 1
push dword [esi + 4]
call fcn.0041113a
mov dword [esp + 0xf0], 4
mov ebx, 3
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x90], 8
lea eax, [esp + 0x4c]
push dword [esp + 0x8c]
cmovae ecx, dword [esp + 0x80]
cmp dword [esp + 0x64], 8
push ecx
cmovae eax, dword [esp + 0x54]
push eax
call fcn.00427022
add esp, 0xc
test eax, eax
jne 0x41034b
mov byte [esp + 0x15], 1
jmp 0x410350
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x15], 0
mov dword [esp + 0xf0], 3
test bl, 2
je 0x410370
and ebx, 0xfffffffd
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebx
call fcn.0041128a
mov dword [esp + 0xf0], 0
test bl, 1
je 0x410390
and ebx, 0xfffffffe
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.0041128a
cmp byte [esp + 0x15], 0
je 0x4103c9
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov byte [esp + 0x16], 1
mov dword [esp + 0x1c], eax
call fcn.00410ada
mov esi, eax
test esi, esi
je 0x4103c5
shl esi, 0x10
jmp 0x41090a
mov esi, dword [esp + 0x1c]
lea eax, [edi + 1]
mov byte [esp + 0x17], 0
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jge 0x41044b
push 0x448094
lea ecx, [esp + 0x50]
call fcn.0041113a
mov byte [esp + 0xf0], 5
or ebx, 4
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x7c]
push dword [esi + 4]
call fcn.0041113a
mov dword [esp + 0xf0], 6
or ebx, 8
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x7c]
cmovae ecx, dword [esp + 0x4c]
cmp dword [esp + 0x90], 8
push ecx
cmovae eax, dword [esp + 0x80]
push eax
call fcn.004264e2
add esp, 8
mov byte [esp + 0x15], 1
test eax, eax
je 0x410450
mov byte [esp + 0x15], 0
mov dword [esp + 0xf0], 5
test bl, 8
je 0x410470
and ebx, 0xfffffff7
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.0041128a
mov dword [esp + 0xf0], 0
test bl, 4
je 0x410490
and ebx, 0xfffffffb
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebx
call fcn.0041128a
cmp byte [esp + 0x15], 0
je 0x4104a0
mov edi, dword [esp + 0x24]
mov byte [esp + 0x17], 1
xor ebx, ebx
xor eax, eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
mov byte [esp + 0xf0], 7
inc edi
cmp edi, dword [esp + 0x20]
jge 0x410561
lea esp, [esp]
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 0x34]
mov esi, dword [eax + edi*4]
jne 0x410539
cmp word [esi], 0
jne 0x410513
xor ecx, ecx
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.0041302a
jmp 0x410556
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41051a
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.0041302a
jmp 0x410556
test ebx, ebx
jne 0x4105d5
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.00410a4a
mov esi, eax
test esi, esi
jne 0x4105cd
mov ebx, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x4104ea
test ebx, ebx
jne 0x410566
mov ebx, 1
xor edi, edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov byte [esp + 0xf0], 8
cmp dword [esp + 0xa4], edi
je 0x4105df
push ebx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb4]
call fcn.0040edea
mov byte [esp + 0xf0], 9
lea ecx, [esp + 0x64]
push eax
call fcn.0041221a
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0xac]
call fcn.004109da
mov edi, dword [esp + 0x68]
jmp 0x410741
shl esi, 0x10
jmp 0x4108c9
mov esi, 0x10000
jmp 0x4108c9
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0xf0], 0xa
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0xf0], 0xc
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xf0], 0xd
lea ecx, [esp + 0xac]
push 0x43887c
call fcn.0041113a
mov byte [esp + 0xf0], 0xe
lea ecx, [esp + 0xc8]
push 0x438838
call fcn.0041113a
mov byte [esp + 0xf0], 0xf
lea eax, [esp + 0x4c]
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0041c09a
mov byte [esp + 0xf0], 0xe
lea ecx, [esp + 0xc8]
call fcn.0041128a
mov byte [esp + 0xf0], 0xd
lea ecx, [esp + 0xac]
call fcn.0041128a
mov ecx, dword [esp + 0x50]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x4c]
sub ecx, esi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x41071f
push 1
push esi
lea ecx, [esp + 0xb4]
call fcn.0040edea
mov byte [esp + 0xf0], 0x10
lea ecx, [esp + 0x64]
push eax
call fcn.0041221a
mov byte [esp + 0xf0], 0xd
lea ecx, [esp + 0xac]
call fcn.004109da
add esi, 0x18
dec ebx
jne 0x4106e0
mov edi, dword [esp + 0x68]
mov byte [esp + 0xf0], 0xc
lea ecx, [esp + 0x4c]
call fcn.004114aa
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0x7c]
call fcn.0041bfda
cmp byte [esp + 0x17], 0
je 0x410760
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x64]
call fcn.0040ffda
mov ebx, dword [esp + 0x64]
mov esi, eax
jmp 0x41088e
mov eax, dword [esp + 0x2c]
push eax
push 0
push 0x438
call dword [0x43203c]
mov ebx, eax
mov dword [esp + 0x34], ebx
test ebx, ebx
jne 0x410793
call dword [fcn.00432014]
mov ebx, dword [esp + 0x64]
mov esi, eax
or esi, 0x20000
jmp 0x41088e
mov eax, dword [0x432024]
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], ebx
call fcn.00417cda
mov byte [esp + 0xf0], 0x11
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xf0], 0x12
cmp byte [esp + 0x16], 0
je 0x410925
mov esi, dword [esp + 0x64]
cmp esi, edi
je 0x410846
nop
cmp dword [esi + 0x14], 8
jb 0x4107f4
mov ecx, dword [esi]
jmp 0x4107f6
mov ecx, esi
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x4c]
push ecx
mov dword [esp + 0x28], eax
call fcn.0040f6ba
add esp, 4
xor ecx, ecx
test eax, eax
je 0x410821
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, 1
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.00421a0a
test eax, eax
je 0x410994
add esi, 0x1c
cmp esi, edi
jne 0x4107ea
mov ebx, dword [esp + 0x64]
xor esi, esi
mov byte [esp + 0xf0], 0x11
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x41087d
push eax
call fcn.00426331
add esp, 4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0x48]
call fcn.0040f7aa
mov byte [esp + 0xf0], 7
test ebx, ebx
je 0x4108c9
push dword [esp + 0x3c]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.00418dca
push ebx
call fcn.00426331
add esp, 0xc
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0xf0], 0
cmp dword [esp + 0xa8], 8
jb 0x4108ea
push dword [esp + 0x94]
call fcn.00426331
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0040f7aa
mov eax, esi
jmp 0x4109ad
mov ebx, dword [esp + 0x64]
mov esi, ebx
cmp ebx, edi
je 0x41084a
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x410944
mov ecx, dword [esi]
jmp 0x410946
mov ecx, esi
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x4c]
push ecx
mov dword [esp + 0x28], eax
call fcn.0040f6ba
add esp, 4
xor ecx, ecx
test eax, eax
je 0x410971
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, 1
mov dword [esp + 0x2c], eax
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x34]
call fcn.0042175a
test eax, eax
je 0x410998
add esi, 0x1c
cmp esi, edi
jne 0x41093a
jmp 0x41084a
mov ebx, dword [esp + 0x64]
mov esi, 0x30000
jmp 0x41084c
call dword [fcn.00432014]
or eax, 0x10000
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00426336
mov esp, ebp
pop ebp
ret 0x10