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

Disassembly:
push 0xffffffffffffffff
push 0x4434b0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
je 0x418063
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x418063
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x418063
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov word [esp + 0x64], ax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [ecx + ecx + 4]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], ebx
call fcn.00419000
cmp dword [esi + 0x18], 8
mov edi, dword [esi + 0x14]
jb 0x417d85
mov esi, dword [esi + 4]
jmp 0x417d88
add esi, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x417d9a
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 1
jne 0x417da3
call fcn.004311d2
mov eax, dword [esp + 0x3c]
lea edx, [edi + edi]
push edx
push esi
push eax
call fcn.00432c90
xor esi, esi
xor edi, edi
add esp, 0xc
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov ecx, ebp
mov byte [esp + 0x70], 1
mov dword [esp + 0x14], esi
call fcn.0040b540
test eax, eax
jbe 0x417f35
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jmp 0x417de9
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 4]
test eax, eax
je 0x417e0e
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x417e13
call fcn.004311d2
mov esi, dword [ebp + 4]
add esi, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
cmp edx, 8
lea edi, [esi + 4]
jb 0x417e29
mov ecx, dword [edi]
jmp 0x417e2b
mov ecx, edi
mov eax, dword [esi + 0x14]
add eax, eax
lea ebp, [eax + ecx]
test ebp, ebp
je 0x417e57
cmp edx, 8
jb 0x417e40
mov ecx, dword [edi]
jmp 0x417e42
mov ecx, edi
cmp ecx, ebp
ja 0x417e57
cmp edx, 8
jb 0x417e4f
mov ecx, dword [edi]
jmp 0x417e51
mov ecx, edi
add eax, ecx
cmp ebp, eax
jbe 0x417e5c
call fcn.004311d2
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x417e68
mov ebx, dword [edi]
jmp 0x417e6a
mov ebx, edi
test ebx, ebx
je 0x417e8e
cmp ecx, 8
jb 0x417e77
mov eax, dword [edi]
jmp 0x417e79
mov eax, edi
cmp eax, ebx
ja 0x417e8e
cmp ecx, 8
jb 0x417e84
mov edi, dword [edi]
mov eax, dword [esi + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, ecx
jbe 0x417e93
call fcn.004311d2
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x2c], edi
jbe 0x417ea2
call fcn.004311d2
mov edx, dword [esp + 0x78]
push ebp
push esi
push ebx
push esi
push edi
lea eax, [esp + 0x3c]
push eax
push edx
mov ecx, eax
call fcn.0041a080
mov edx, dword [esp + 0x2c]
test edx, edx
mov esi, dword [esp + 0x30]
je 0x417ee6
mov ecx, dword [esp + 0x34]
mov eax, esi
sub eax, edx
sub ecx, edx
sar eax, 1
sar ecx, 1
cmp eax, ecx
jae 0x417ee6
mov eax, esi
add eax, 2
mov word [esi], 0
mov dword [esp + 0x30], eax
jmp 0x417f08
cmp edx, esi
jbe 0x417eef
call fcn.004311d2
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x38]
call fcn.00419310
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
add dword [esp + 0x18], 0x1c
add esi, 1
mov dword [esp + 0x14], esi
call fcn.0040b540
cmp esi, eax
jb 0x417de5
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x78], ebp
je 0x417f5b
mov eax, edi
sub eax, ebx
sub esi, ebx
sar eax, 1
sar esi, 1
cmp eax, esi
jae 0x417f5b
mov eax, edi
add eax, 2
mov word [edi], bp
mov dword [esp + 0x30], eax
jmp 0x417f86
cmp ebx, edi
mov esi, edi
jbe 0x417f66
call fcn.004311d2
push esi
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
call fcn.00419310
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x417f94
sub eax, ecx
sar eax, 1
jne 0x417f9d
call fcn.004311d2
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x50], ecx
je 0x417fb3
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 1
jne 0x417fbc
call fcn.004311d2
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
cmp dword [eax + 0x14], ebp
je 0x417fdf
cmp dword [eax + 0x18], 8
jb 0x417fd8
mov edx, dword [eax + 4]
mov dword [esp + 0x62], edx
jmp 0x417fdf
add eax, 4
mov dword [esp + 0x62], eax
lea eax, [esp + 0x48]
push eax
mov word [esp + 0x5c], 0x414
call dword [0x448298]
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x418039
cmp eax, ebp
je 0x418006
push eax
call fcn.00430a06
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x418023
push eax
call fcn.00430a06
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp eax, ebp
je 0x418046
push eax
call fcn.00430a06
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x418063
push eax
call fcn.00430a06
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret