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

Disassembly:
push 0xffffffffffffffff
push 0x46b338
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4854a0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4854a0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0xac]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ecx
call fcn.00401f00
push eax
mov dword [esp + 0x8c], 0
call fcn.00413450
mov dword [esp + 0x8c], 0xffffffff
mov ebp, dword [esp + 0x40]
add esp, 4
test ebp, ebp
mov ebx, eax
mov dword [esp + 0x24], ebx
je 0x411738
push 0
lea ecx, [esp + 0x24]
call fcn.00450e46
mov eax, dword [ebp + 4]
test eax, eax
jbe 0x411716
cmp eax, 0xffffffff
jae 0x411716
add eax, 0xffffffff
mov dword [ebp + 4], eax
mov esi, dword [ebp + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, ebp
call fcn.00450e67
test esi, esi
je 0x411738
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x60]
push eax
mov ecx, ebx
call fcn.00412710
mov esi, 1
mov dword [esp + 0x88], esi
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
xor ecx, ecx
mov byte [esp + 0x20], al
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ecx
mov byte [esp + 0x48], cl
mov byte [esp + 0x88], 2
mov al, byte [edi]
cmp al, 0x2b
je 0x411785
cmp al, 0x2d
mov dword [esp + 0x28], ecx
jne 0x411789
mov dword [esp + 0x28], esi
call fcn.00437d1e
mov ecx, dword [eax]
mov ebp, dword [esp + 0xbc]
mov dl, byte [ecx]
push ebp
push 0x65
push edi
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0
call fcn.00437960
add esp, 0xc
mov esi, eax
movsx eax, byte [esp + 0x18]
push ebp
push eax
push edi
call fcn.00437960
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4117d2
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x78]
cmp ecx, 0x10
mov edx, dword [esp + 0x64]
mov eax, edx
jae 0x4117e5
lea eax, [esp + 0x64]
cmp byte [eax], 0x7f
je 0x411946
cmp ecx, 0x10
mov eax, edx
jae 0x4117f9
lea eax, [esp + 0x64]
cmp byte [eax], 0
jle 0x411946
push ebp
push edi
lea ecx, [esp + 0x4c]
call fcn.004039a0
test esi, esi
jne 0x41182d
mov ecx, dword [esp + 0xb8]
push 0x30
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040f4c0
mov ebp, dword [esp + 0xb0]
jmp 0x411865
test ebx, ebx
jne 0x411848
mov edx, dword [esp + 0xb0]
push 0x30
push edx
lea ecx, [esp + 0x4c]
call fcn.0040f4c0
xor ebp, ebp
jmp 0x41184f
mov ebp, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x50]
call fcn.004124c0
test ebx, ebx
push 0x30
jne 0x411877
push ebp
lea ecx, [esp + 0x4c]
call fcn.0040f4c0
jmp 0x4118a8
mov ecx, dword [esp + 0xb8]
mov esi, ebx
sub esi, edi
push ecx
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x50]
call fcn.004124c0
push 0x30
push ebp
push esi
lea ecx, [esp + 0x50]
call fcn.004124c0
mov dword [esp + 0xb4], 0
mov edi, dword [esp + 0x64]
mov ebx, 0x10
cmp dword [esp + 0x78], ebx
mov dword [esp + 0xb0], 0
jae 0x4118c6
lea edi, [esp + 0x64]
cmp dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x48]
jae 0x4118d4
lea eax, [esp + 0x48]
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00438db0
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x411920
lea ebx, [ebx]
test al, al
jle 0x411920
mov edx, esi
sub edx, dword [esp + 0x28]
movsx eax, al
cmp eax, edx
jae 0x411920
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x50]
call fcn.004124c0
cmp byte [edi + 1], 0
jle 0x41191a
add edi, 1
mov al, byte [edi]
cmp al, 0x7f
jne 0x4118f0
cmp dword [esp + 0x5c], ebx
mov edi, dword [esp + 0x48]
jae 0x41192e
lea edi, [esp + 0x48]
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov ebp, eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
lea eax, [ecx + edx]
add eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x18]
add eax, ebp
test ecx, ecx
jle 0x411977
cmp ecx, eax
jbe 0x411977
sub ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x41197f
mov dword [esp + 0x1c], 0
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x90]
and eax, 0x1c0
cmp eax, 0x40
je 0x411a9e
cmp eax, 0x100
je 0x4119f7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x98]
push eax
push ecx
mov ecx, dword [esp + 0xa4]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00412210
mov ecx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
add esp, 0x1c
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x1c], 0
jmp 0x411aac
cmp dword [esp + 0x28], 0
jbe 0x411a48
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
push 1
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00412190
mov ebx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
add esp, 0x1c
add edi, 1
sub ebp, 1
mov dword [esp + 0xbc], ebp
jmp 0x411a5d
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0xac]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00412210
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
add esp, 0x1c
mov dword [esp + 0xa0], edx
mov dword [esp + 0x1c], 0
jmp 0x411aac
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0xbc]
movsx ecx, byte [esp + 0x18]
push eax
push ecx
push edi
call fcn.00437960
add esp, 0xc
test eax, eax
je 0x411bbd
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xa0]
sub eax, edi
add eax, 1
push edx
mov dword [esp + 0x2c], eax
add eax, 0xffffffff
push eax
push edi
sub esp, 0xc
mov eax, esp
lea edx, [esp + 0x48]
mov dword [eax], ebp
push edx
mov dword [eax + 4], ebx
push esi
mov dword [eax + 8], ecx
call fcn.004125f0
mov ecx, dword [esp + 0xd0]
mov edx, dword [eax]
add esp, 0x20
push ecx
push 0x30
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00412210
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [ecx]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + 4]
add esp, 0x1c
call edx
mov ecx, dword [esp + 0xa0]
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x24]
push 1
push eax
sub esp, 0xc
mov eax, esp
lea edx, [esp + 0x44]
mov dword [eax], ebx
push edx
mov dword [eax + 4], ebp
push esi
mov dword [eax + 8], ecx
call fcn.00412210
mov ecx, dword [esp + 0xd0]
mov edx, dword [eax]
add esp, 0x1c
push ecx
push 0x30
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00412210
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x44]
add esp, 0x1c
add edi, eax
sub dword [esp + 0xbc], eax
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0xbc]
push eax
push 0x65
push edi
call fcn.00437960
add esp, 0xc
test eax, eax
je 0x411c96
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xa0]
sub eax, edi
add eax, 1
push ecx
mov dword [esp + 0x28], eax
add eax, 0xffffffff
push eax
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
lea eax, [esp + 0x48]
push eax
push esi
call fcn.004125f0
mov ecx, dword [esp + 0xd8]
mov edx, dword [eax]
add esp, 0x20
push ecx
push 0x30
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00412210
mov edx, dword [esp + 0x48]
add esp, 0x1c
test byte [edx + 0x10], 4
mov dword [esp + 0xb8], 0
mov ecx, 0x477a90
jne 0x411c59
mov ecx, 0x477a94
mov edx, dword [eax]
push 1
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00412190
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x40]
add esp, 0x1c
add edi, eax
sub dword [esp + 0xbc], eax
jmp 0x411c9d
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xbc]
push edx
push eax
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.004125f0
mov edx, dword [esp + 0xd8]
add esp, 0x20
push edx
mov edx, dword [eax]
push 0x30
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00412210
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x48]
add esp, 0x1c
xor ebx, ebx
mov dword [ecx + 0x18], ebx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xac]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x54]
push edi
push esi
mov dword [ecx + 8], eax
call fcn.00412210
mov esi, 0x10
add esp, 0x1c
cmp dword [esp + 0x5c], esi
jb 0x411d44
mov edx, dword [esp + 0x48]
push edx
call fcn.0041bf87
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
jb 0x411d68
mov eax, dword [esp + 0x64]
push eax
call fcn.0041bf87
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00436f5b
add esp, 0x78
ret