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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
add esi, 0xffffffd0
xor eax, eax
push ebp
push 0x61b8d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
test byte [eax + 0x40], 1
jne 0x61b8b2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0xac], 0
je 0x61b8b2
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax + 0x50], 0
jle 0x61b3f4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp dword [eax + 8], 0
jl 0x61b3e7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp + 8]
add eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
jmp 0x61b3f4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x4c]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dl, byte [edx + 0xba]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
sub eax, dword [ebp - 4]
call fcn.0066139c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov eax, dword [esi]
call fcn.00628540
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 0xc]
jl 0x61b44f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp dword [eax + 8], 0
jge 0x61b8b2
cmp dword [ebp - 0x14], 0
setge byte [ebp - 5]
jmp 0x61b8b2
mov eax, dword [esi]
mov edx, dword [ebp - 0xc]
call fcn.00643cb4
cmp eax, dword [ebp - 0x10]
jl 0x61b46e
dec dword [ebp - 0xc]
mov eax, dword [esi]
mov edx, dword [ebp - 0xc]
call fcn.00643cd4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 0xc]
jne 0x61b4cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp dword [eax + 8], 0
jl 0x61b4cc
mov eax, dword [ebp + 8]
cmp byte [eax - 0x21], 0
je 0x61b4cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
cmp word [edx + eax*2 - 2], 0xad
jne 0x61b4cc
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [eax + 0x54]
sub dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x61b4cc
mov byte [ebp - 5], 0
jmp 0x61b8b2
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
inc ebx
mov eax, dword [ebp - 0xc]
sub eax, ebx
jl 0x61b896
inc eax
mov dword [ebp - 0x3c], eax
cmp ebx, dword [ebp - 0xc]
jne 0x61b4f9
mov eax, dword [esi]
mov edx, ebx
call fcn.00643cb4
cmp eax, dword [ebp - 0x10]
jge 0x61b896
mov eax, dword [esi]
mov edx, ebx
call fcn.0061867c
test al, al
jne 0x61b88c
mov eax, dword [esi]
mov edx, ebx
call fcn.00649de0
test eax, eax
jl 0x61b6a9
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
mov edx, ebx
call fcn.0065874c
call fcn.0061b230
pop ecx
mov eax, dword [esi]
mov edx, ebx
call fcn.0064f874
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x18]
mov eax, dword [esi]
mov edx, ebx
call fcn.00659ae4
cmp ebx, dword [ebp - 0xc]
jne 0x61b56f
mov al, byte [ebp - 0x19]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00686ac0
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
call fcn.00404ec8
mov eax, dword [esi]
call fcn.00618780
push eax
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x80]
call fcn.00669564
mov edx, eax
cmp ebx, dword [ebp - 0xc]
sete cl
mov eax, dword [ebp - 0x18]
call fcn.0068837c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
call fcn.00404ec8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax + 0x50], 0
jle 0x61b603
mov dl, byte [ebp - 0x19]
mov eax, dword [ebp - 0x18]
call fcn.00687124
add dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x50]
cmp eax, dword [ebp - 0x28]
jge 0x61b603
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp dword [eax + 8], 0
jl 0x61b8b2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
call fcn.0061b230
pop ecx
jmp 0x61b8b2
cmp dword [ebp - 0x18], 0
je 0x61b864
test byte [ebp - 0x19], 8
je 0x61b648
lea eax, [ebp - 0x21]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x100]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405100
mov ecx, eax
sar ecx, 1
jns 0x61b635
adc ecx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x70]
mov edx, dword [ebp - 0x18]
call fcn.00686b6c
jmp 0x61b672
mov eax, dword [ebp - 0x18]
call fcn.00405100
push eax
lea eax, [ebp - 0x21]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x70]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x100]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x1c]
mov edi, dword [ebp - 0x21]
sub dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0xba], 0
je 0x61b864
mov dl, 1
mov eax, edi
call fcn.00661378
mov dword [ebp - 0x21], eax
mov dl, 1
mov eax, dword [ebp - 0x1d]
call fcn.00661378
mov dword [ebp - 0x1d], eax
jmp 0x61b864
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x50]
test eax, eax
jle 0x61b6ed
inc dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
cmp eax, dword [ebp - 0x28]
jge 0x61b6ed
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp dword [eax + 8], 0
jl 0x61b8b2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
call fcn.0061b230
pop ecx
jmp 0x61b8b2
mov eax, dword [esi]
mov edx, ebx
call fcn.0065874c
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x40
je 0x61b720
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov edx, dword [esi]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x50]
mov dword [ebp - 0x2c], eax
jmp 0x61b73a
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [esi]
mov edx, dword [ebp - 0x30]
call fcn.0061a204
mov dl, 1
call fcn.00403f74
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x80
setne al
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [esi]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov al, byte [eax + 0x54]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov al, byte [eax + 0x55]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov al, byte [eax + 0xba]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00677b08
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00677b08
add edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00677b08
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
sub edx, edi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x5c]
mov dl, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
je 0x61b805
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [eax + 0x34], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov dl, 6
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
je 0x61b821
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
jmp 0x61b850
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x80
je 0x61b842
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x78]
jmp 0x61b850
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dl, byte [edx + 0xba]
call fcn.0066139c
sub dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x61b88c
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp dword [eax + 8], 0
jl 0x61b8b2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
call fcn.0061b230
pop ecx
jmp 0x61b8b2
inc ebx
dec dword [ebp - 0x3c]
jne 0x61b4e2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp dword [eax + 8], 0
jl 0x61b8b2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
call fcn.0061b230
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61b8dc
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404e54
lea eax, [ebp - 0x18]
call fcn.00404e30
ret