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

Disassembly:
push 0xffffffffffffffff
push 0x5f1eae
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x665ebc]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x665ebc]
xor eax, esp
push eax
lea eax, [esp + 0x1bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1cc]
mov ebx, ecx
mov edx, dword [ebx]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x18], ebx
call eax
push 4
call fcn.00564e10
xor edi, edi
add esp, 4
cmp eax, edi
je 0x41689b
lea ecx, [esp + 0x24]
mov dword [eax], ecx
jmp 0x41689d
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c4], edi
mov edx, dword [ebx + 4]
push edx
lea ecx, [esp + 0x24]
call fcn.00401de0
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x1c8], 1
call fcn.004173e0
mov byte [esp + 0x1c4], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4168ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0x1c], 1
lea ebp, [ebx + 0x10]
jmp 0x416910
mov esi, dword [esp + 0x3c]
add eax, esi
cmp esi, eax
jbe 0x41691f
call fcn.005a4156
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
call fcn.00417c10
mov ecx, dword [eax]
mov esi, dword [ebp]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x41698d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41697f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41697f
push eax
call fcn.004022d0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x416973
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp], ebx
mov ebx, dword [esp + 0x18]
jmp 0x41698b
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.004021e0
xor edi, edi
cmp dword [esp + 0x40], edi
je 0x4169ee
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, eax
shr ecx, 2
mov ecx, dword [edx + ecx*4]
and eax, 3
lea eax, [ecx + eax*4]
mov eax, dword [eax]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4169c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
inc eax
lea edx, [ecx*4]
mov dword [esp + 0x3c], eax
cmp edx, eax
ja 0x4169e3
mov dword [esp + 0x3c], edi
sub dword [esp + 0x40], 1
jne 0x4169ee
mov dword [esp + 0x3c], edi
push 0x63171c
mov ecx, ebp
call fcn.0040d0d0
mov eax, dword [ebp]
mov edi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x416a1c
push esi
mov ecx, ebp
call fcn.004020b0
mov eax, dword [ebp]
mov byte [eax + edi], 0x5c
xor edi, edi
cmp esi, edi
jl 0x416e6f
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x416e6f
mov dword [eax - 0xc], esi
mov eax, dword [ebp]
mov byte [esi + eax], 0
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
push 0x631aa4
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.00416f30
lea edx, [esp + 0x94]
mov byte [esp + 0x1d0], 2
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.005ac1c5
add esp, 0x14
mov dword [esp + 0x48], eax
cmp eax, 0xffffffff
je 0x416dd2
mov dword [esp + 0x7c], eax
mov byte [esp + 0x1c4], 3
mov eax, dword [esp + 0x88]
mov dword [esp + 0x54], eax
shr eax, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
test al, 1
je 0x416aea
cmp byte [ebx + 0xc], 0
je 0x416d6b
lea ecx, [esp + 0xb0]
push ecx
call fcn.00416e90
add esp, 4
test al, al
jne 0x416d6b
mov bl, 1
jmp 0x416aec
xor bl, bl
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x18]
push ebp
push edx
mov dword [esp + 0x7c], eax
call fcn.00416f30
add esp, 0xc
mov byte [esp + 0x1c4], 4
test bl, bl
je 0x416cd2
mov esi, dword [esp + 0x44]
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
test al, al
je 0x416bdb
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xb4]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, esi
call edx
mov bl, al
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test al, al
jne 0x416bb5
cmp byte [esi + 4], al
je 0x416bb5
test bl, bl
sete al
jmp 0x416bb7
mov al, bl
test al, al
je 0x416d3d
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x18]
push edx
call eax
test al, al
je 0x416d3d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [eax + ecx]
test dl, 3
jne 0x416c00
add eax, 4
shr eax, 2
cmp dword [esp + 0x38], eax
ja 0x416c00
lea ebx, [esp + 0x24]
call fcn.00417740
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edi, [eax + ecx]
mov eax, dword [esp + 0x38]
mov esi, edi
shr esi, 2
cmp eax, esi
ja 0x416c1a
sub esi, eax
mov edx, dword [esp + 0x34]
cmp dword [edx + esi*4], 0
jne 0x416c35
push 0x10
call fcn.00564e10
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x34]
mov eax, dword [edx + esi*4]
and edi, 3
lea ebx, [eax + edi*4]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x1c4], 5
test ebx, ebx
je 0x416ccc
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x416c93
cmp eax, dword [esi]
jne 0x416c93
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
add edi, 0x10
mov dword [ebx], edi
inc dword [esp + 0x40]
jmp 0x416d3d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x416e19
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0059beab
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
inc dword [esp + 0x40]
jmp 0x416d3d
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x4c]
push eax
call edx
test al, al
je 0x416d3d
mov esi, dword [esp + 0x44]
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xb4]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, esi
call edx
mov bl, al
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test al, al
jne 0x416d1f
cmp byte [esi + 4], al
je 0x416d1f
test bl, bl
sete al
jmp 0x416d21
mov al, bl
test al, al
je 0x416d3d
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x18]
push edx
call eax
test al, al
je 0x416d8a
mov byte [esp + 0x1c4], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
xor edi, edi
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x88]
push ecx
push edx
call fcn.005ac312
add esp, 8
test eax, eax
je 0x416a92
jmp 0x416dbd
mov byte [esp + 0x1c4], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416db7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
xor edi, edi
mov ecx, dword [esp + 0x48]
push ecx
mov byte [esp + 0x1c8], 2
call fcn.005abeec
add esp, 4
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov byte [esp + 0x1c4], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x416e1e
cmp byte [esp + 0x1c], 0
je 0x416e1e
xor edi, edi
jmp 0x416910
call fcn.004022b0
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 8]
push eax
mov ecx, ebx
call edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00417130
mov al, byte [esp + 0x1c]
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.0059ca15
add esp, 0x1b4
ret 4
push 0x80070057
call fcn.00402400
int3