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

Disassembly:
push 0xffffffffffffffff
push 0x5e7c73
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa8]
xor ebx, ebx
push esi
mov dword [esp + 0xa0], ebx
call fcn.0042a550
add esp, 4
test al, al
je 0x461531
mov edi, esi
call fcn.0042a6f0
test al, al
jne 0x461531
call dword [0x5fd374]
mov edi, dword [esp + 0xa4]
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push esi
push ebx
mov ecx, edi
call edx
test al, al
je 0x4614fb
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x84]
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
push ecx
mov ecx, dword [eax + 0x80]
push ecx
push eax
mov ecx, edi
call edx
jmp 0x461b38
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push ebx
push esi
push 0x10000004
mov ecx, edi
call edx
test al, al
mov dword [esp + 0x9c], 0xffffffff
lea eax, [esp + 0xb0]
jne 0x461b4a
call fcn.00565750
xor al, al
jmp 0x461b51
mov edi, dword [esp + 0xac]
mov byte [esp + 0x9c], 1
mov eax, dword [edi + 0x60]
or eax, 0x8000000
cmp dword [esi + 0x18], 8
jb 0x461553
mov ecx, dword [esi + 4]
jmp 0x461556
lea ecx, [esi + 4]
push ebx
push eax
push 2
push ebx
push 1
push 0x40000000
push ecx
call dword [0x5fd3b4]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x4615c2
call dword [0x5fd374]
mov ebx, dword [esp + 0xa4]
mov ebp, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
push esi
push ebp
mov ecx, ebx
call edx
test al, al
je 0x4615ad
mov ecx, dword [edi + 0x84]
mov edx, dword [edi + 0x80]
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
push ecx
push edx
push edi
mov ecx, ebx
call eax
jmp 0x461b38
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
push ebp
push esi
push 0x10000001
mov ecx, ebx
call eax
jmp 0x46150b
push ebx
push ebx
push ebx
lea esi, [esp + 0x30]
lea eax, [esp + 0x28]
call fcn.004316d0
push 0x80000
mov dword [esp + 0x68], 0x61106c
mov dword [esp + 0x74], ebx
call fcn.0059b872
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 0x80000
mov ebp, dword [esp + 0xa4]
mov byte [esp + 0x9c], 2
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x68]
mov edx, dword [edi + 0x84]
push 1
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x6c]
push ebx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xb4]
push ebx
lea esi, [esp + 0x68]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.004316d0
mov esi, dword [esp + 0x50]
cmp esi, ebx
mov ecx, dword [esp + 0x4c]
ja 0x46166e
cmp ecx, ebx
jbe 0x461a75
nop
cmp esi, ebx
jb 0x461679
ja 0x46166e
cmp ecx, 0x80000
jbe 0x461679
mov ecx, 0x80000
mov dword [esp + 0x40], ebx
jmp 0x46167d
mov dword [esp + 0x40], esi
cmp dword [esp + 0x6c], ebx
mov eax, dword [ebp + 0xb4]
je 0x4618a3
cmp dword [eax], 0xffffffff
je 0x4618a3
push ebx
lea edx, [esp + 0x24]
push edx
push ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x2c], ebx
mov edx, dword [eax]
push ecx
push edx
call dword [0x5fd128]
test eax, eax
je 0x4618a3
mov eax, dword [esp + 0x20]
cmp eax, ebx
seta cl
cmp cl, bl
je 0x4618a3
sub dword [esp + 0x4c], eax
mov al, byte [ebp + 0x100]
sbb esi, ebx
test al, al
mov dword [esp + 0x50], esi
jne 0x46191d
mov eax, dword [edi + 0x80]
sub eax, dword [esp + 0x4c]
mov ecx, dword [edi + 0x84]
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
sbb ecx, esi
push ecx
push eax
push edi
mov ecx, ebp
call edx
cmp dword [edi + 0x70], ebx
mov ebp, dword [esp + 0xb0]
mov eax, dword [esp + 0x20]
jne 0x46177b
mov edx, dword [esp + 0x6c]
push ebx
lea ecx, [esp + 0x30]
push ecx
push eax
mov esi, eax
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [0x5fd130]
test eax, eax
je 0x461736
cmp esi, dword [esp + 0x2c]
je 0x46187f
mov edi, dword [esp + 0xa4]
mov esi, dword [edi]
add esi, 0x34
call dword [0x5fd374]
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esi]
push edx
push 0x10000003
mov ecx, edi
call eax
test al, al
lea ecx, [esp + 0x64]
je 0x461953
call fcn.0042dd30
lea esi, [esp + 0x1c]
call fcn.004315a0
jmp 0x461b38
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ebx
jbe 0x46187f
lea ecx, [ecx]
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 0x104]
cmp eax, ebx
je 0x4617af
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x4617af
push eax
call fcn.005d7448
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
mov byte [esp + 0x30], bl
call eax
xor ecx, ecx
cmp dword [esp + 0x58], ecx
ja 0x4617d2
jb 0x4617cd
cmp dword [esp + 0x54], eax
ja 0x4617d2
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x30]
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x74]
add ecx, esi
push eax
push ecx
mov ecx, ebp
call edx
test al, al
je 0x46197f
mov eax, dword [esp + 0x34]
sub dword [esp + 0x24], eax
add esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
test eax, eax
jbe 0x461875
mov dword [esp + 0x38], ebx
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call edx
cmp eax, ebx
je 0x46186b
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
jbe 0x46186b
sub dword [esp + 0x54], ecx
push ebx
lea edx, [esp + 0x40]
sbb dword [esp + 0x5c], ebx
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x50], ebx
mov edi, ecx
call dword [0x5fd130]
test eax, eax
je 0x461a1d
cmp edi, dword [esp + 0x3c]
jne 0x461a1d
mov edi, dword [esp + 0xac]
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
mov ecx, ebp
call eax
cmp dword [esp + 0x24], ebx
ja 0x461790
cmp dword [esp + 0x50], ebx
ja 0x46188f
cmp dword [esp + 0x4c], ebx
jbe 0x461a7c
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
jmp 0x461660
mov edx, 0x6190bc
lea eax, [esp + 0x74]
call fcn.004024d0
mov byte [esp + 0x9c], 3
mov esi, dword [ebp]
add esi, 0x34
call dword [0x5fd374]
mov edx, dword [esi]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x10000002
mov ecx, ebp
call edx
lea esi, [esp + 0x74]
mov byte [esp + 0x1b], al
call fcn.00405c10
lea ecx, [esp + 0x64]
call fcn.0042dd30
lea esi, [esp + 0x1c]
call fcn.004315a0
lea eax, [esp + 0xb0]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00565750
cmp byte [esp + 0x1b], bl
jne 0x461b4f
xor al, al
jmp 0x461b51
mov eax, dword [esp + 0x6c]
push eax
call fcn.0059b877
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call dword [0x5fd3a4]
lea eax, [esp + 0xb0]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00565750
xor al, al
jmp 0x461b51
call fcn.0042dd30
lea esi, [esp + 0x1c]
call fcn.004315a0
lea eax, [esp + 0xb0]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00565750
xor al, al
jmp 0x461b51
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
xor eax, eax
sub esi, dword [esp + 0x4c]
sbb eax, dword [esp + 0x50]
add esi, dword [edi + 0x80]
adc eax, dword [edi + 0x84]
add esi, dword [esp + 0x5c]
adc eax, dword [esp + 0x60]
push eax
push esi
push 0x30000003
call edx
mov eax, dword [esp + 0x6c]
push eax
call fcn.0059b877
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call dword [0x5fd3a4]
mov dword [esp + 0x9c], 0xffffffff
mov esi, dword [esp + 0xb4]
cmp esi, ebx
je 0x46152a
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x46152a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46152a
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x461b51
mov edi, dword [esp + 0xa4]
mov esi, dword [edi]
add esi, 0x34
call dword [0x5fd374]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0xac]
push eax
push 0x10000003
mov ecx, edi
call edx
test al, al
je 0x461a5e
mov eax, dword [esp + 0x6c]
push eax
call fcn.0059b877
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
jmp 0x461b32
mov edx, dword [esp + 0x6c]
push edx
call fcn.0059b877
mov eax, dword [esp + 0x20]
add esp, 4
push eax
jmp 0x46192f
mov ebp, dword [esp + 0xb0]
cmp dword [edi + 0x70], ebx
je 0x461af5
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
test eax, eax
jbe 0x461add
mov dword [esp + 0x44], ebx
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call edx
cmp eax, ebx
je 0x461add
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
jbe 0x461add
lea edx, [esp + 0x1c]
mov edi, ecx
push edx
lea esi, [esp + 0x4c]
mov ecx, eax
mov dword [esp + 0x4c], ebx
call fcn.00431630
test al, al
je 0x461b6d
mov edi, dword [esp + 0xac]
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
test eax, eax
ja 0x461a81
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
call edx
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
push eax
mov eax, dword [edi + 0x50]
push ecx
mov ecx, dword [edi + 0x4c]
push edx
mov edx, dword [edi + 0x48]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
call fcn.00431750
lea esi, [esp + 0x1c]
call fcn.00431660
lea ecx, [esp + 0x64]
call fcn.0042dd30
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x461b38
push eax
call dword [0x5fd3a4]
mov dword [esp + 0x9c], 0xffffffff
lea eax, [esp + 0xb0]
call fcn.00565750
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x14
mov edi, dword [esp + 0xa4]
mov esi, dword [edi]
add esi, 0x34
call dword [0x5fd374]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0xac]
push eax
push 0x10000003
mov ecx, edi
call edx
test al, al
lea ecx, [esp + 0x64]
jne 0x461768
call fcn.0042dd30
lea esi, [esp + 0x1c]
call fcn.004315a0
jmp 0x461935