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

Disassembly:
push 0xffffffffffffffff
push 0x447bf9
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x45ffac]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45ffac]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2bc]
mov eax, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x2b4]
mov edi, dword [esp + 0x2b8]
mov edx, ecx
and ecx, 2
and edx, 1
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], edx
call fcn.004052c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov dword [esp + 0x2a8], 0
test eax, eax
je 0x417745
lea edx, [eax - 1]
test edx, edx
jl 0x417b73
cmp edx, eax
jg 0x417b73
movzx eax, word [ecx + edx*2]
cmp ax, 0x2f
je 0x417745
cmp ax, 0x5c
je 0x417745
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.004140a0
push 0x44d7f8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004071d0
add esp, 0xc
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x2ac], 1
call fcn.004052c0
push 1
push 0x44d9f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b0], 2
call fcn.00404de0
push 0x250
lea edx, [esp + 0x50]
push 0
push edx
call fcn.00431b70
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [0x44b1e8]
mov esi, eax
mov dword [esp + 0x44], esi
cmp esi, 0xffffffff
je 0x417ac9
mov ebx, 4
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x18]
call fcn.004052c0
mov al, byte [esp + 0x4c]
mov byte [esp + 0x2a8], 3
test al, 0x10
je 0x4178df
cmp dword [esp + 0x40], 0
je 0x417a68
mov eax, dword [esp + 0x14]
mov edx, 0x44d9ec
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x41781a
test si, si
je 0x417816
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x41781a
add ecx, ebx
add edx, ebx
test si, si
jne 0x4177f6
xor ecx, ecx
jmp 0x41781f
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
setne cl
test cl, cl
je 0x417a68
mov ecx, 0x44d9e4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417855
test dx, dx
je 0x417851
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417855
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x417831
xor eax, eax
jmp 0x41785a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x417a68
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004082b0
push 0x44d364
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x2c0], bl
call fcn.004071d0
mov ecx, dword [esp + 0x2d4]
mov eax, dword [eax]
push ecx
push edi
push ebp
push eax
mov byte [esp + 0x2d0], 5
call fcn.00417690
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x28
mov byte [esp + 0x2a8], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4178d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
jmp 0x417a44
cmp dword [esp + 0x48], 0
jne 0x4178ee
test al, 2
jne 0x417a68
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00415250
add esp, 8
push 0x44d9e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2ac], 6
call fcn.004052c0
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x2b4], 7
call fcn.004082b0
push 0x44d9f0
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x2c0], 8
call fcn.004071d0
add esp, 0x18
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x2a8], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x2a8], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417999
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44d7f8
push ebp
call fcn.0043233f
add esp, 8
test eax, eax
je 0x4179c9
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x417a18
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [0x44b2ec]
test eax, eax
je 0x417a18
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004082b0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x2ac], 0xc
call fcn.0040d400
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2a8], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x2a8], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2a8], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x4c]
push ecx
push esi
call dword [0x44b0b0]
test eax, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2a8], 2
je 0x417aad
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4177be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4177be
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ac9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call dword [0x44b1ec]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2a8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417af8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x2a8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2a8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.00431b61
add esp, 0x298
ret
push 0x80070057
call fcn.004027a0
int3