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

Disassembly:
push 0xffffffffffffffff
push 0x486584
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0xb8]
push esi
cmp ebp, 2
push edi
mov dword [esp + 0x30], ecx
jl 0x61b660
mov ecx, dword [esp + 0xb8]
cmp dword [ecx], 0
jle 0x61b660
mov eax, dword [ecx + 4]
test eax, eax
jle 0x61b660
mov esi, dword [ecx]
mov edi, eax
cmp dword [esp + 0xb0], 1
jne 0x61b51e
mov eax, dword [esp + 0xac]
mov ecx, edi
mov edx, eax
push ecx
lea ecx, [esp + 0x24]
mov ebx, dword [edx]
mov dword [esp + 0x38], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x3c], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x40], ebx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], edx
inc eax
or al, 0x89
push esp
and al, 0x2c
mov dword [esp + 0x30], eax
mov eax, esi
push eax
push ecx
call fcn.00720135
jecxz 0x61b508
js 0x61b4aa
mov ecx, dword [esp + 0xac]
mov ebp, ecx
mov edx, dword [ebp]
mov word [esp + ebp*4], fs
add byte [eax], al
add byte [ebx + 0x558be9], cl
mov dword [esp + 0x20], edx
mov ebx, dword [ebp + 4]
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
sub eax, edx
mov ebp, dword [ebp + 0xc]
cdq
sub eax, edx
mov dword [esp + 0x2c], ebp
sar eax, 1
cmp esi, eax
jle 0x61b550
mov esi, eax
mov eax, ebp
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jle 0x61b55f
mov edi, eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x40], eax
neg ecx
neg edx
push ecx
lea eax, [esp + 0x38]
push edx
push eax
push edi
call 0x7d6c05
mov ebp, dword [esp + 0xc0]
test esi, esi
jle 0x61b660
test edi, edi
jle 0x61b660
mov ebx, dword [esp + 0xc4]
mov eax, 0x10624dd3
imul ebx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xfffffffc
add edx, 2
mov eax, edx
test bl, 1
mov dword [esp + 0x94], eax
je 0x61b5e3
mov dword [esp + 0x14], 1
jmp 0x61b5ed
mov dword [esp + 0x14], 0xffffffff
neg eax
mov dword [esp + 0x54], eax
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov eax, edx
mov dword [esp + 0x10], ebp
shr eax, 0x1f
add edx, eax
mov edi, edx
and edi, 1
je 0x61b615
lea ecx, [ebp + ebp - 1]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x58]
call fcn.005fa4f0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x58]
mov dword [esp + 0xa0], 0
lea esi, [edx*4]
push esi
call fcn.005fa510
mov ebp, eax
test ebp, ebp
jne 0x61b67d
lea ecx, [esp + 0x58]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x58], 0x4afde8
call fcn.005fa6f0
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x24
mov eax, 0x66666667
mov ecx, dword [esp + 0xc0]
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
test dl, 1
je 0x61b6bd
lea edx, [ecx - 1]
test edx, edx
jl 0x61b6d6
mov eax, dword [esp + 0xbc]
mov ecx, ebp
lea eax, [eax + edx*4]
inc edx
mov ebx, dword [eax]
sub eax, 4
mov dword [ecx], ebx
add ecx, 4
dec edx
jne 0x61b6ae
jmp 0x61b6d6
mov eax, dword [esp + 0xbc]
lea edx, [ecx*4]
push edx
push eax
push ebp
call fcn.006485c0
add esp, 0xc
test edi, edi
je 0x61b6fb
mov ecx, dword [esp + 0xc0]
lea edx, [ecx - 1]
test edx, edx
jle 0x61b6fb
mov eax, ebp
lea ecx, [esi + ebp - 4]
mov esi, dword [eax]
add eax, 4
mov dword [ecx], esi
sub ecx, 4
dec edx
jne 0x61b6ee
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x54], ecx
push ebp
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x48]
push esi
push ecx
mov ecx, dword [esp + 0x48]
push edi
mov dword [esp + 0x6c], edx
call fcn.0061b240
test eax, eax
je 0x61b644
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x58], eax
push ebp
push edx
lea eax, [esp + 0x54]
push esi
push eax
push edi
call fcn.0061b240
test eax, eax
je 0x61b644
push 0
push 0
push 0
push 0
push eax
call fcn.0075e022
mov ecx, dword [edi + 4]
push eax
push ecx
mov dword [esp + 0x1c], eax
call fcn.00760aab
pop edx
mov esi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
dec esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
neg esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], edx
sbb esi, esi
mov dword [esp + 0x80], eax
inc esi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x4b58e4
push 2
lea edx, [esp + 0x70]
push 5
push edx
mov byte [esp + 0xac], 1
call 0x7aaec9
inc ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.0066b974
lea eax, [esp + 0x18]
push 1
push eax
mov ecx, edi
call fcn.0066b5b2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x94]
push ebx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xb8]
push edx
push ebp
push eax
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push edi
call fcn.0061b240
test eax, eax
jne 0x61b8a0
mov dword [esp + 0x18], 0x4b4af0
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.0066b9cb
jmp 0x61b644
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x28]
cmp esi, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], edx
mov dword [esp + 0x78], eax
jne 0x61b905
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.0074d91c
add al, 0xeb
or dword [edx], ebp
push 0
mov ecx, edi
call fcn.0066b3f5
lea ecx, [esp + 0x18]
call fcn.0066b9cb
push 2
lea edx, [esp + 0x70]
push 5
push edx
push edx
call fcn.0071f339
push eax
lea ecx, [esp + 0x1c]
call fcn.0066b974
lea eax, [esp + 0x18]
push 1
push eax
mov ecx, edi
call fcn.0066b5b2
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x54]
push ebx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xb8]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x54]
push edx
push eax
push edi
call fcn.0061b240
test eax, eax
jne 0x61b993
mov dword [esp + 0x18], 0x4b4af0
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 3
call fcn.0066b9cb
jmp 0x61b644
cmp esi, 1
jne 0x61b9a9
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 4]
push ecx
push edx
call fcn.0071f97b
push eax
jmp 0x61b9b2
push 0
mov ecx, edi
call fcn.0066b3f5
mov eax, dword [esp + 0x14]
push eax
push eax
call fcn.00752cf6
mov dword [esp + 0x18], 0x4b4af0
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 4
call fcn.0066b9cb
lea ecx, [esp + 0x58]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x58], 0x4afde8
call fcn.005fa6f0
mov eax, 1
jmp 0x61b662