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

Disassembly:
push 0xffffffffffffffff
push 0x1026571e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 0x14]
push edi
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
lea ebp, [esi + 0x2a8]
push edx
mov ecx, ebp
call fcn.00614159
inc dword [eax]
mov eax, 0x68
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov eax, 0x67
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, 0x71
mov ebx, 0x6a
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov eax, 0x73
mov ecx, 0x66
mov edi, 0x6b
mov dword [esp + 0x64], ebx
mov dword [esp + 0x84], ebx
mov edx, 0x72
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], 0x6d
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 0x6c
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 0x74
mov dword [esp + 0x94], edi
mov dword [esp + 0x10], eax
lea esp, [esp]
mov ecx, dword [esp + eax*8 + 0x40]
cmp ecx, dword [esp + 0xa8]
jne 0x6167dc
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + eax*8 + 0x44]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esi + 0x2b4]
mov dword [esp + 0xa8], ebx
call fcn.00645319
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x6166e9
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, edi
sar eax, 2
cmp eax, ebx
je 0x6166e9
cmp edi, ecx
je 0x6166e9
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, ebp
call fcn.00614159
dec dword [eax]
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.00614039
mov eax, dword [esp + 0x34]
add edi, 4
cmp edi, eax
jne 0x6166bd
or edi, 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x534]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x1b8]
push edx
push eax
mov byte [esp + 0xb0], 1
call dword [ecx + 0x24]
test eax, eax
jne 0x61679a
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*8 + 0x44]
cmp dword [esp + 0x20], eax
jne 0x61679a
mov eax, dword [esi + 0x534]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esi + 0x1b8]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp eax, ebx
sete al
cmp al, bl
je 0x61679a
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
push edx
mov ecx, ebp
call fcn.00614159
dec dword [eax]
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00614039
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0xa0], bl
je 0x6167af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov dword [esp + 0xa0], edi
je 0x6167c7
push eax
call fcn.0049cb9b
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov edi, 0x6b
inc eax
cmp eax, 0xb
mov dword [esp + 0x10], eax
jb 0x616669
cmp dword [esp + 0xa8], 0x6a
jne 0x6168ce
or ebp, 0xffffffff
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x534]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x1b8]
push ecx
push eax
mov dword [esp + 0xb0], 2
call dword [edx + 0x24]
test eax, eax
jne 0x6168b9
cmp dword [esp + 0x20], edi
jne 0x6168b9
mov eax, dword [esi + 0x534]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x1b8]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
test eax, eax
jne 0x6168b0
push 1
call fcn.005ed889
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ecx, 1
mov ecx, dword [esp + 0x24]
sete dl
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
lea ecx, [esi + 0x2b4]
call fcn.00645569
jmp 0x6168b9
push ebx
call fcn.005ed889
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0xa0], ebp
je 0x6168ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
cmp ecx, ebx
mov ecx, dword [esp + 0xac]
setne dl
push edx
mov edx, dword [esp + 0xac]
push ebx
push eax
push ecx
push edx
lea ecx, [esi + 0x2b4]
call fcn.006456f9
mov ecx, esi
call fcn.00611c39
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x10