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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x61b505
sub esp, 0xc4
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0x24]
movzx ecx, byte [eax + 0x5d]
test cl, cl
je 0x61b13c
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov ecx, dword [esp + 0xd0]
cmp ecx, 0x40
jl 0x61b122
lea edx, [ecx - 0x20]
cmp edx, ecx
ja 0x61b4fe
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call fcn.005ff680
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xd4]
mov ebp, ebx
sub ebx, ecx
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov edi, dword [esp + 0xcc]
add ebx, edi
mov dword [esp + 0xb0], ebx
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
jmp 0x61b1ed
mov eax, dword [esp + 0xc0]
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xd4]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp eax, edx
jge 0x61b4e6
mov dword [esp + 0xc0], esi
mov eax, edi
lea edi, [esp + 0x78]
call fcn.0044e208
lea edi, [esp + 0x48]
lea esi, [esp + 0x78]
call fcn.0044e208
lea ecx, [esp + 0x48]
test byte [ecx], al
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x14], 0x10
call fcn.0044d9f0
movzx eax, byte [esp + 0x18]
test al, al
je 0x61b1b9
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x61b4cc
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x61b4f7
mov dword [esp + 0x30], eax
lea ecx, [eax + eax*2]
shl ecx, 4
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xbc]
lea ebx, [edx + ecx + 0x20]
test byte [ebx], al
lea ebp, [0x974f88]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
call fcn.005b7d90
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0xcc]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xd4]
mov dword [esp + 0xc], esi
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.005b1590
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x61b4b2
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
lea eax, [ecx + eax + 0x10]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.005b5fb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x61b498
mov edx, dword [esp + 0x3c]
cmp edx, 0x20
jb 0x61b4f0
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xcc]
lea ecx, [eax + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x10
mov ecx, dword [esp + 0xd4]
lea edx, [ecx - 0x10]
mov dword [esp + 0x10], edx
call fcn.005b2670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xd4]
add ecx, 0xffffffe0
mov dword [esp + 0x20], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 0x20
mov ebx, dword [esp + 0xcc]
add ecx, ebx
mov dword [esp + 0xac], ecx
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0xd0]
add ebp, 0xffffffc0
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp], ebx
call eax
lea eax, [0x80c5e0]
mov dword [esp], eax
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
setg cl
mov byte [eax + 0x1c], cl
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.0061aa40
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xd8], ecx
mov byte [esp + 0xdc], al
add esp, 0xc4
ret
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov eax, 0xffffffff
jmp 0x61b257
call fcn.00426ad0
ud2
call fcn.00426a70
ud2
call fcn.00426ad0
ud2
call fcn.0044c200
jmp fcn.0061b0f0