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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x432ea4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x43e524]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x43e524]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], ebx
cmp ecx, eax
je 0x41409e
xor al, al
jmp 0x4146c3
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
call fcn.004013f0
push 0x2f
push 1
lea ecx, [esp + 0xa4]
mov dword [esp + 0xd0], 0
call fcn.00407710
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 0x10]
jbe 0x4140f5
call fcn.0041de6c
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov ebx, edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
cmp edi, dword [esi + 0x10]
jbe 0x41411a
call fcn.0041de6c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
mov edi, dword [eax + 0x10]
cmp dword [eax + 0xc], edi
jbe 0x414139
call fcn.0041de6c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
test ecx, ecx
je 0x414143
cmp ecx, eax
je 0x41414c
call fcn.0041de6c
mov ecx, dword [esp + 0x1c]
cmp ebx, edi
je 0x4146a7
test ecx, ecx
jne 0x4141b5
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x414169
call fcn.0041de6c
lea eax, [esp + 0x9c]
push ebx
push eax
lea edi, [esp + 0x88]
call fcn.00403700
xor esi, esi
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
push 4
mov byte [esp + 0xd4], 2
call fcn.0041dcaa
add esp, 0xc
cmp eax, esi
je 0x4141b9
lea ecx, [esp + 0x4c]
mov dword [eax], ecx
jmp 0x4141bb
mov eax, dword [ecx]
jmp 0x41415f
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x80]
mov byte [esp + 0xc8], 4
call fcn.00407150
test al, al
je 0x414660
mov edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x58]
jne 0x4141fa
call fcn.0041de6c
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x5c]
push edi
call fcn.00409070
add esp, 8
test al, al
je 0x414660
mov edi, dword [esp + 0x1c]
cmp edi, esi
jne 0x414282
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x41422d
call fcn.0041de6c
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
cmp dword [ebx + 0x1c], eax
jne 0x414660
cmp edi, esi
jne 0x414286
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x414253
call fcn.0041de6c
cmp dword [esp + 0x7c], 0x10
mov ecx, dword [esp + 0x68]
jae 0x414262
lea ecx, [esp + 0x68]
mov edi, dword [ebx + 0x34]
mov eax, edi
cmp eax, edi
jae 0x41426b
mov esi, dword [esp + 0x78]
mov eax, edi
cmp edi, esi
jb 0x414277
mov eax, esi
cmp dword [ebx + 0x38], 0x10
jb 0x41428a
mov edx, dword [ebx + 0x24]
jmp 0x41428d
mov eax, dword [edi]
jmp 0x414223
mov eax, dword [edi]
jmp 0x414249
lea edx, [ebx + 0x24]
call fcn.00403d40
test eax, eax
jne 0x414660
cmp edi, esi
jb 0x414660
cmp edi, esi
setne al
test eax, eax
jne 0x414660
cmp byte [ebp + 0xc], al
jne 0x414539
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41432d
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4142d1
call fcn.0041de6c
cmp dword [ebx + 0x3c], 0
jl 0x414660
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp edi, esi
jne 0x414331
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4142f6
call fcn.0041de6c
cmp dword [ebx + 0x3c], esi
jle 0x4143f5
cmp edi, esi
jne 0x414335
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x414314
call fcn.0041de6c
mov edi, dword [ebx + 0x3c]
push 4
call fcn.0041dcaa
add esp, 4
cmp eax, esi
je 0x414339
lea ecx, [esp + 0x24]
mov dword [eax], ecx
jmp 0x41433b
mov eax, dword [eax]
jmp 0x4142c7
mov eax, dword [edi]
jmp 0x4142ec
mov eax, dword [edi]
jmp 0x41430a
xor eax, eax
mov dword [esp + 0x24], eax
mov byte [esp + 0xc8], 5
lea ebx, [esp + 0x1b]
lea esi, [esp + 0x24]
mov byte [esp + 0x1b], 0
call fcn.00406910
mov byte [esp + 0xc8], 6
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
jne 0x4143f1
call fcn.0041de6c
xor eax, eax
mov edi, dword [esp + 0x44]
cmp edi, dword [eax + 0x10]
jb 0x414384
call fcn.0041de6c
lea eax, [esp + 0x24]
mov ecx, edi
lea edx, [esp + 0x4c]
call fcn.00418420
cmp eax, 1
jne 0x414606
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.004074e0
add esp, 8
mov byte [esp + 0xc8], 4
test al, al
mov eax, dword [esp + 0x30]
je 0x414626
cmp eax, esi
je 0x4143d2
push eax
call fcn.0041dbb6
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.0041dbb6
mov ebx, dword [esp + 0x24]
jmp 0x414471
mov eax, dword [eax]
jmp 0x414376
push 4
call fcn.0041dcaa
add esp, 4
cmp eax, esi
je 0x41440b
lea edx, [esp + 0x24]
mov dword [eax], edx
jmp 0x41440d
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0xd0], 8
call fcn.004074e0
add esp, 8
mov byte [esp + 0xc8], 4
test al, al
mov eax, dword [esp + 0x30]
je 0x41463a
cmp eax, esi
je 0x41445b
push eax
call fcn.0041dbb6
add esp, 4
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.0041dbb6
add esp, 4
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x20], 0
call fcn.004091c0
add esp, 0xc
test al, al
je 0x414660
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41450c
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4144b7
call fcn.0041de6c
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esp + 0x14]
jne 0x414660
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x414510
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4144dd
call fcn.0041de6c
cmp dword [esp + 0x7c], 0x10
mov ecx, dword [esp + 0x68]
jae 0x4144ec
lea ecx, [esp + 0x68]
mov edi, dword [ebx + 0x54]
mov eax, edi
cmp eax, edi
jae 0x4144f5
mov esi, dword [esp + 0x78]
mov eax, edi
cmp edi, esi
jb 0x414501
mov eax, esi
cmp dword [ebx + 0x58], 0x10
jb 0x414514
mov edx, dword [ebx + 0x44]
jmp 0x414517
mov eax, dword [eax]
jmp 0x4144ad
mov eax, dword [eax]
jmp 0x4144d3
lea edx, [ebx + 0x44]
call fcn.00403d40
test eax, eax
jne 0x414660
cmp edi, esi
jb 0x414660
cmp edi, esi
setne al
test eax, eax
jne 0x414660
mov eax, dword [esp + 0x58]
xor edi, edi
cmp eax, edi
je 0x41454c
push eax
call fcn.0041dbb6
add esp, 4
mov ecx, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.0041dbb6
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x7c], esi
jb 0x41457d
mov edx, dword [esp + 0x68]
push edx
call fcn.0041dbb6
add esp, 4
mov byte [esp + 0xc8], 0
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], edi
mov byte [esp + 0x68], 0
cmp dword [esp + 0x98], esi
jb 0x4145af
mov eax, dword [esp + 0x84]
push eax
call fcn.0041dbb6
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x4145fe
call fcn.0041de6c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4145c8
call fcn.0041de6c
mov eax, dword [esp + 0x40]
add ebx, 0x5c
mov dword [esp + 0x20], ebx
cmp eax, edi
jne 0x414602
call fcn.0041de6c
xor eax, eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [eax + 0x10]
jb 0x4145ec
call fcn.0041de6c
add dword [esp + 0x44], 0x18
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
jmp 0x414124
mov eax, dword [eax]
jmp 0x4145be
mov eax, dword [eax]
jmp 0x4145de
mov byte [esp + 0xc8], 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x41461f
push eax
call fcn.0041dbb6
add esp, 4
mov edx, dword [esp + 0x24]
push edx
jmp 0x41464c
cmp eax, esi
je 0x414633
push eax
call fcn.0041dbb6
add esp, 4
mov eax, dword [esp + 0x24]
push eax
jmp 0x41464c
cmp eax, esi
je 0x414647
push eax
call fcn.0041dbb6
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.0041dbb6
add esp, 4
cmp dword [esp + 0x98], 0x10
jb 0x414677
mov edx, dword [esp + 0x84]
mov dword [esp + 0x14], edx
jmp 0x414682
lea eax, [esp + 0x84]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x44]
call fcn.0041da38
push 0x43a894
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], vtable.std::bad_exception.0
call fcn.0042083b
cmp dword [esp + 0xb4], 0x10
jb 0x4146c1
mov eax, dword [esp + 0xa0]
push eax
call fcn.0041dbb6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0041d9bb
mov esp, ebp
pop ebp
ret