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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x50]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0065874c
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0062aa74
mov edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x84]
call fcn.00670d84
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0062ab74
test al, al
je 0x61c667
mov byte [edi + 0x10], 1
mov byte [edi + 0x68], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
jge 0x61cb20
mov eax, dword [ebp - 0x20]
mov edx, dword [0x679cc8]
call fcn.0040413c
test al, al
je 0x61c71b
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x40
je 0x61c6ad
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov dword [ebp - 0x60], eax
jmp 0x61c6c5
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
call fcn.0061a204
mov dl, 1
call fcn.00403f74
mov dword [ebp - 0x60], eax
push ebp
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
call fcn.0061b8e8
pop ecx
mov dl, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
je 0x61c6e7
mov dword [edi + 0x34], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dl, 2
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
je 0x61d25d
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0065874c
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 0x54]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x30]
inc dword [eax + 0x54]
jmp 0x61d25d
mov edx, edi
mov eax, dword [ebp - 0x30]
call fcn.0061a0dc
lea eax, [ebp - 0x38]
push eax
push edi
mov edx, dword [ebp + 0xc]
mov cl, 1
mov eax, dword [ebp - 0x30]
call fcn.006195a8
mov eax, dword [edi + 0xb4]
call fcn.00403fa4
xor eax, eax
mov dword [edi + 0xb4], eax
mov eax, dword [ebp - 0x38]
add dword [edi + 4], eax
cmp dword [ebp + 0x14], 0
jle 0x61c783
mov edx, dword [ebp + 0x14]
dec edx
mov eax, dword [ebp - 0x30]
call fcn.0062aa74
mov edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x84]
call fcn.00670d84
mov edx, dword [eax + 0x2c]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00677b70
add dword [edi + 8], eax
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
je 0x61c7be
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x84]
xor edx, edx
call fcn.00670d84
mov edx, dword [eax + 0x28]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00677b70
add dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [edi + 0x2c], eax
jmp 0x61c812
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0062aa74
mov edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x84]
call fcn.00670d84
mov edx, dword [eax + 0x28]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00677b70
add dword [edi + 8], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00677b08
mov dword [edi + 0x28], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00677b08
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x2c]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 0x88]
sub edx, eax
mov dword [edi + 0x14], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
add dword [edi + 0x28], eax
mov eax, dword [edi + 0x28]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x14]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov ebx, dword [edi + 0xb0]
test ebx, ebx
je 0x61c8d3
mov eax, dword [edi + 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x28]
push eax
lea eax, [edi + 0x14]
push eax
push 1
mov eax, dword [ebp - 0x20]
call fcn.0067c418
test al, al
jne 0x61c885
mov eax, dword [ebp - 0x20]
call fcn.0067c3f4
test al, al
jne 0x61c885
xor eax, eax
jmp 0x61c887
mov al, 1
push eax
mov eax, dword [ebp - 0x20]
call fcn.0067c420
test al, al
jne 0x61c8a4
mov eax, dword [ebp - 0x20]
call fcn.0067c3f4
test al, al
jne 0x61c8a4
xor eax, eax
jmp 0x61c8a6
mov al, 1
push eax
mov eax, dword [edi + 0xb4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0061f7ac
mov ecx, eax
mov edx, dword [edi + 0x38]
mov eax, ebx
call fcn.00678be0
mov dword [edi + 0x34], 0xffffffff
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
sub dword [edi + 0x28], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
add eax, dword [edi + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x40
je 0x61c90b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov dword [ebp - 0x60], eax
jmp 0x61c923
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
call fcn.0061a204
mov dl, 1
call fcn.00403f74
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x30]
mov si, 0xfffd
call fcn.004041ac
test al, al
jne 0x61c942
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov si, 0xffe5
call fcn.004041ac
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x80
setne al
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
mov al, byte [edi + 0x54]
push eax
mov al, byte [edi + 0x55]
push eax
mov al, byte [edi + 0xba]
push eax
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov dl, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
je 0x61c996
mov dword [edi + 0x34], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dl, 6
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x61c9ff
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x80
je 0x61c9dd
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x74]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x78]
mov edx, eax
mov eax, dword [ebp - 0x60]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x2c]
jmp 0x61c9ff
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov edx, eax
mov eax, dword [ebp - 0x60]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x20]
test al, al
jne 0x61ca4b
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 0x35]
dec al
je 0x61ca1d
dec al
je 0x61ca2b
jmp 0x61ca69
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x60]
sub eax, dword [edx + 0xc]
add dword [edi + 0x18], eax
jmp 0x61ca69
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x60]
sub eax, dword [edx + 0xc]
sar eax, 1
jns 0x61ca3b
adc eax, 0
add dword [edi + 0x18], eax
cmp dword [edi + 0x18], 0
jge 0x61ca69
xor eax, eax
mov dword [edi + 0x18], eax
jmp 0x61ca69
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x60]
sub eax, dword [edx + 0xc]
sar eax, 1
jns 0x61ca5b
adc eax, 0
add dword [edi + 0x18], eax
cmp dword [edi + 0x18], 0
jge 0x61ca69
xor eax, eax
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x14]
push eax
push 0xffffffffffffffff
mov edx, dword [edi + 0x18]
add edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x5c]
jne 0x61ca9c
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x61ca98
cmp dword [eax + 8], 0
jg 0x61ca9c
xor eax, eax
jmp 0x61ca9e
mov al, 1
neg al
sbb eax, eax
mov edx, dword [ebp - 0x60]
mov byte [edx + 0x22], al
mov eax, dword [ebp - 0x30]
mov si, 0xfffd
call fcn.004041ac
test al, al
jne 0x61cac1
mov eax, dword [edi + 0x20]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], eax
mov edx, dword [edi + 0x20]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x90]
mov ecx, dword [ebp - 0x60]
call fcn.00678660
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 1
je 0x61caf8
mov eax, dword [ebp - 0x30]
lea edx, [eax + 0x54]
mov eax, dword [ebp - 0x20]
mov si, 0xffd2
call fcn.004041ac
inc dword [edi + 0x20]
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x60]
add eax, dword [edx + 0x10]
add eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x5c]
add dword [edi + 4], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 8], eax
jmp 0x61d25d
mov eax, dword [ebp - 0x20]
test byte [eax + 0x10], 8
setne al
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x61cb4a
mov eax, dword [ebp - 0x54]
call fcn.00405300
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405300
mov dword [ebp - 0x2c], eax
jmp 0x61cb5f
mov eax, dword [ebp - 0x54]
call fcn.00405300
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405300
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 0x20]
call fcn.0061b230
pop ecx
mov byte [ebp - 0x3e], 1
cmp dword [ebp - 8], 0
jne 0x61cd69
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0062ab74
test al, al
je 0x61cc12
push ebp
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0061abf8
pop ecx
cmp dword [edi + 0x34], 0
jge 0x61cbbe
push ebp
mov eax, dword [ebp - 0x20]
call fcn.0061b230
pop ecx
xor eax, eax
mov dword [edi], eax
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x34], 3
je 0x61cbe5
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x34], 2
jne 0x61cbfe
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x44]
jge 0x61cbfe
mov eax, dword [edi + 0x44]
mov dword [edi + 0xc], eax
mov edx, dword [edi + 8]
add edx, eax
add edx, dword [edi + 4]
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
sub edx, eax
mov dword [ebp - 0x34], edx
mov eax, dword [edi + 8]
add eax, dword [edi + 0xc]
add dword [edi + 4], eax
mov eax, dword [edi + 0x7c]
sub eax, dword [edi + 0x24]
mov dword [edi + 8], eax
jmp 0x61cc3b
push ebp
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
call fcn.0061b18c
pop ecx
mov eax, dword [edi + 0x78]
add eax, dword [edi + 0x24]
mov edx, dword [edi + 4]
sub edx, eax
mov dword [ebp - 0x34], edx
mov eax, dword [edi + 0x7c]
sub eax, dword [edi + 0x24]
cmp eax, dword [edi + 8]
jle 0x61cc3b
mov dword [edi + 8], eax
mov byte [edi + 0xb8], 0
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x34], 3
je 0x61cc5c
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x34], 2
jne 0x61cc62
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0x48]
jge 0x61cc62
mov eax, dword [edi + 0x48]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0062ab74
neg al
sbb eax, eax
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
call fcn.0061a204
mov ecx, dword [edi + 0x18]
add ecx, dword [edi]
mov dl, 1
call fcn.006784c8
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x20], 0
je 0x61ccd3
cmp byte [edi + 0xb9], 0
jne 0x61ccc5
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x61ccc1
cmp dword [eax + 8], 0
jg 0x61ccc5
xor eax, eax
jmp 0x61ccc7
mov al, 1
neg al
sbb eax, eax
mov edx, dword [ebp - 0x60]
mov byte [edx + 0x22], al
jmp 0x61ccee
mov edx, dword [edi + 0x20]
dec edx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x90]
call fcn.00678778
mov al, byte [eax + 0x22]
mov edx, dword [ebp - 0x60]
mov byte [edx + 0x22], al
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x18], 1
mov eax, dword [ebp - 0x10]
add dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 0x28]
call fcn.00669564
cmp byte [eax + 0x5d], 0
je 0x61cd26
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0065874c
mov dword [eax + 0x1c], 0xfffffffd
mov eax, dword [ebp - 0x60]
xor edx, edx
mov dword [eax + 0x1c], edx
cmp byte [ebp - 0x3e], 0
je 0x61cd4d
mov eax, dword [ebp - 0x30]
mov si, 0xfffd
call fcn.004041ac
test al, al
jne 0x61cd4d
mov eax, dword [edi + 0x20]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], eax
mov edx, dword [edi + 0x20]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x90]
mov ecx, dword [ebp - 0x60]
call fcn.00678660
inc dword [edi + 0x20]
jmp 0x61d25d
cmp byte [ebp - 0x3e], 0
je 0x61cd7e
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0062ab74
test al, al
jne 0x61cd82
xor eax, eax
jmp 0x61cd84
mov al, 1
mov byte [ebp - 0x3d], al
mov bl, 1
cmp dword [ebp - 8], 0
jle 0x61d22c
test byte [ebp - 0x3d], bl
je 0x61ce0b
push ebp
mov dl, byte [edi + 0x10]
xor dl, 1
mov eax, dword [ebp - 0x20]
call fcn.0061abf8
pop ecx
cmp dword [edi + 0x34], 0
jge 0x61cdb8
push ebp
mov eax, dword [ebp - 0x20]
call fcn.0061b230
pop ecx
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x61ce07
cmp byte [edi + 0x68], 0
jne 0x61ce07
cmp byte [edi + 0x10], 0
jne 0x61ce07
cmp dword [ebp - 8], 1
jle 0x61ce07
cmp byte [ebp - 0x21], 0
je 0x61cdf6
mov eax, dword [ebp - 4]
cmp word [eax], 0x20
jne 0x61ce07
add dword [ebp - 4], 2
add dword [ebp - 0x2c], 2
dec dword [ebp - 8]
jmp 0x61ce07
mov eax, dword [ebp - 4]
cmp byte [eax], 0x20
jne 0x61ce07
inc dword [ebp - 4]
inc dword [ebp - 0x2c]
dec dword [ebp - 8]
mov byte [edi + 0x68], 0
mov byte [edi + 0xb8], 0
mov eax, dword [edi + 0x14]
sub eax, dword [edi]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x61ce25
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x6d], 0
cmp dword [edi + 0x50], 0
jle 0x61ce4f
mov eax, dword [edi + 0x50]
cmp eax, dword [edi + 0x4c]
jg 0x61ce4f
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x40], 1
jne 0x61ce4f
cmp byte [edi + 0xac], 0
je 0x61ce4f
xor eax, eax
mov dword [esi], eax
jmp 0x61ceab
test bl, bl
jne 0x61ce91
push ebp
call fcn.0061c1e0
pop ecx
mov edx, dword [ebp - 8]
sub edx, eax
mov dword [esi], edx
mov eax, dword [esi]
cmp eax, dword [ebp - 8]
setl byte [ebp - 0x6d]
cmp dword [edi + 0x50], 0
jle 0x61ceab
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x4c]
cmp eax, dword [esi]
jge 0x61ceab
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x4c]
cmp eax, dword [ebp - 8]
setle byte [ebp - 0x6d]
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x4c]
mov dword [esi], eax
jmp 0x61ceab
cmp byte [ebp - 0x21], 0
je 0x61cea2
push ebp
call fcn.0061a788
pop ecx
mov dword [esi], eax
jmp 0x61ceab
push ebp
call fcn.0061a4e0
pop ecx
mov dword [esi], eax
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
cmp dword [esi], 0
jne 0x61cf10
cmp byte [ebp - 0x3d], 0
jne 0x61ced8
cmp byte [ebp - 0x3e], 0
je 0x61cefd
cmp dword [ebp + 0x14], 0
jle 0x61cefd
mov edx, dword [ebp + 0x14]
dec edx
mov eax, dword [ebp - 0x30]
call fcn.00649de0
cmp eax, 0xfffffff5
jne 0x61cefd
cmp byte [ebp - 0x6d], 0
jne 0x61cf10
mov dword [esi], 1
mov eax, dword [0x70f888]
mov al, byte [eax]
and al, byte [ebp - 0x21]
je 0x61cf10
push ebp
mov eax, dword [esi]
call fcn.0061a278
pop ecx
mov dword [esi], eax
jmp 0x61cf10
xor eax, eax
mov dword [edi], eax
mov byte [edi + 0x10], 0
mov byte [ebp - 0x3d], 1
mov bl, 1
jmp 0x61d222
mov eax, dword [esi]
cmp eax, dword [ebp - 8]
jge 0x61d0c5
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xf1], 0
je 0x61d0c5
cmp byte [ebp - 0x21], 0
je 0x61cf60
mov eax, ebx
xor al, 1
push eax
mov eax, dword [esi]
inc eax
cmp eax, dword [ebp - 8]
sete cl
mov edx, dword [esi]
mov eax, dword [ebp - 0x2c]
call fcn.00685ad0
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x61cf89
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 4]
mov dword [ebp - 0x58], eax
jmp 0x61cf89
mov eax, dword [esi]
inc eax
cmp eax, dword [ebp - 8]
jne 0x61cf79
mov ecx, dword [esi]
mov dl, 0x20
mov eax, dword [ebp - 4]
call fcn.00618000
mov dword [ebp - 0x58], eax
jmp 0x61cf89
mov ecx, dword [esi]
inc ecx
mov dl, 0x20
mov eax, dword [ebp - 4]
call fcn.00618000
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x61cfed
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x61cfed
cmp byte [ebp - 0x6d], 0
jne 0x61cfed
mov eax, dword [esi]
inc eax
cmp eax, dword [ebp - 8]
jl 0x61cfb8
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0062abe8
test al, al
jne 0x61cfed
cmp byte [ebp - 0x21], 0
je 0x61cfd8
mov eax, dword [ebp - 4]
mov edx, dword [esi]
cmp word [eax + edx*2], 0x20
jne 0x61cfed
mov eax, dword [esi]
add eax, eax
add eax, dword [ebp - 4]
mov dword [ebp - 0x58], eax
inc dword [esi]
jmp 0x61cfed
mov eax, dword [ebp - 4]
mov edx, dword [esi]
cmp byte [eax + edx], 0x20
jne 0x61cfed
mov eax, dword [ebp - 4]
add eax, dword [esi]
mov dword [ebp - 0x58], eax
inc dword [esi]
cmp dword [ebp - 0x58], 0
je 0x61d070
cmp byte [ebp - 0x21], 0
je 0x61d043
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x61d02e
mov eax, dword [ebp - 0x58]
cmp word [eax], 0x20
jne 0x61d02e
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 4]
je 0x61d02e
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
sar eax, 1
jns 0x61d023
adc eax, 0
mov dword [esi], eax
mov byte [edi + 0x68], 1
jmp 0x61d0c5
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
sar eax, 1
jns 0x61d03b
adc eax, 0
inc eax
mov dword [esi], eax
jmp 0x61d0c5
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 4
je 0x61d065
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 4]
je 0x61d065
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
mov dword [esi], eax
mov byte [edi + 0x68], 1
jmp 0x61d0c5
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
inc eax
mov dword [esi], eax
jmp 0x61d0c5
cmp byte [ebp - 0x3d], 0
jne 0x61d0ba
cmp byte [ebp - 0x3e], 0
je 0x61d093
cmp dword [ebp + 0x14], 0
jle 0x61d093
mov edx, dword [ebp + 0x14]
dec edx
mov eax, dword [ebp - 0x30]
call fcn.00649de0
cmp eax, 0xfffffff5
je 0x61d0ba
push ebp
call fcn.0061c12c
pop ecx
test al, al
jne 0x61d0ab
cmp byte [ebp - 0x6d], 0
je 0x61d0c5
mov eax, dword [ebp - 8]
mov dword [esi], eax
jmp 0x61d0c5
mov byte [edi + 0x10], 0
mov byte [ebp - 0x3d], 1
mov bl, 1
jmp 0x61d222
cmp byte [ebp - 0x6d], 0
je 0x61d0c5
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov byte [ebp - 0x45], 0
test bl, bl
je 0x61d136
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xf1], 2
jne 0x61d136
cmp dword [esi], 0
jle 0x61d136
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x40], 1
jne 0x61d136
cmp byte [edi + 0xac], 0
je 0x61d136
cmp byte [edi + 0x68], 0
je 0x61d0fe
mov eax, dword [ebp - 8]
inc eax
cmp eax, dword [esi]
je 0x61d10b
cmp byte [edi + 0x68], 0
jne 0x61d136
mov eax, dword [ebp - 8]
cmp eax, dword [esi]
jne 0x61d136
mov eax, dword [esi]
cmp eax, dword [ebp - 0x50]
je 0x61d122
push ebp
mov edx, dword [esi]
mov eax, dword [ebp - 4]
call fcn.0061c230
pop ecx
mov byte [ebp - 0x45], 1
push ebp
mov eax, dword [ebp - 0x10]
call fcn.0061b364
pop ecx
mov ebx, eax
test bl, bl
je 0x61d222
mov bl, 1
cmp byte [ebp - 0x21], 0
je 0x61d182
mov eax, dword [ebp - 0x54]
call fcn.00405300
mov edx, dword [ebp - 4]
sub edx, eax
sar edx, 1
jns 0x61d152
adc edx, 0
inc edx
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
mov eax, dword [esi]
add eax, eax
add dword [ebp - 4], eax
mov eax, dword [esi]
add eax, eax
add dword [ebp - 0x2c], eax
mov eax, dword [esi]
sub dword [ebp - 8], eax
cmp byte [edi + 0x68], 0
je 0x61d1b7
add dword [ebp - 4], 2
add dword [ebp - 0x2c], 2
dec dword [ebp - 8]
jmp 0x61d1b7
mov eax, dword [ebp - 0x54]
call fcn.00405300
mov edx, dword [ebp - 4]
sub edx, eax
inc edx
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
mov eax, dword [esi]
add dword [ebp - 4], eax
mov eax, dword [esi]
add dword [ebp - 0x2c], eax
mov eax, dword [esi]
sub dword [ebp - 8], eax
cmp byte [edi + 0x68], 0
je 0x61d1b7
inc dword [ebp - 4]
inc dword [ebp - 0x2c]
dec dword [ebp - 8]
cmp byte [ebp - 0x3d], 0
jne 0x61d1c2
cmp dword [esi], 0
je 0x61d21e
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x35], 3
je 0x61d204
cmp byte [ebp - 0x45], 0
jne 0x61d1f6
mov eax, dword [esi]
cmp eax, dword [ebp - 0x50]
jne 0x61d1ea
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x40], 1
jne 0x61d1ea
cmp byte [edi + 0xac], 0
jne 0x61d1f6
push ebp
mov edx, dword [esi]
mov eax, dword [ebp - 0x44]
call fcn.0061c230
pop ecx
push ebp
mov edx, dword [esi]
mov eax, dword [ebp - 0x64]
call fcn.0061c2c4
pop ecx
jmp 0x61d210
push ebp
mov edx, dword [esi]
mov eax, dword [ebp - 0x64]
call fcn.0061c4b4
pop ecx
mov byte [ebp - 0x3d], 1
mov byte [edi + 0x10], 0
mov byte [ebp - 0x3e], 0
jmp 0x61d222
mov byte [ebp - 0x3d], 1
cmp dword [ebp - 8], 0
jg 0x61cd93
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 0x28]
call fcn.00669564
cmp byte [eax + 0x5d], 0
je 0x61d25d
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
call fcn.0065874c
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 0x54]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x30]
inc dword [eax + 0x54]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14