Function at 0x673264
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], edx
push esi
push edi
push 8
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], ebx
mov edi, ecx
mov dword [ebp - 0x24], ebx
push ebx
push eax
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x30], ebx
call fcn.0068ab50
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [edi + 0x24], ebx
jne 0x674080
cmp byte [eax + 0x45], bl
jne 0x674080
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.006622ff
mov esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x674080
mov edx, dword [esi + 0x48]
mov ecx, dword [edi]
call fcn.0066bc8a
mov dword [ebp - 0x74], eax
mov edx, esi
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push dword [ebp + 8]
push 0x6e
call fcn.00672c62
mov dword [ebp - 0x3c], eax
add esp, 0xc
xor eax, eax
mov edx, esi
cmp dword [esi + 0xc], ebx
mov ecx, edi
setne al
mov dword [ebp - 0x64], eax
call fcn.0065f7c3
test eax, eax
jne 0x674080
push dword [ebp - 0x58]
mov edx, esi
mov ecx, edi
call fcn.0066233c
pop ecx
test eax, eax
jne 0x674080
mov ebx, dword [edi + 0x28]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x80], ebx
mov dword [eax + 0x38], ebx
lea eax, [ebx + 1]
inc dword [edi + 0x28]
test byte [esi + 0x24], 0x20
mov edx, dword [edi + 0x28]
mov dword [ebp - 0x84], eax
jne 0x67337f
and dword [ebp - 0x18], 0
jmp 0x673389
mov ecx, esi
call fcn.0065e23e
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
test ecx, ecx
je 0x6733c6
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x6733af
cmp dword [ebp - 0x18], 0
je 0x6733af
mov eax, dword [ebp - 0x38]
mov esi, edx
mov dword [ebp - 0x14], esi
mov dword [eax + 0x38], esi
inc dword [edi + 0x28]
inc ebx
mov ecx, dword [ecx + 0x14]
mov edx, dword [edi + 0x28]
test ecx, ecx
jne 0x673395
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x50], ebx
movsx eax, word [esi + 0x2a]
mov ecx, dword [ebp - 0x54]
add eax, ebx
push 0
lea eax, [eax*4 + 2]
add eax, ebx
push eax
call fcn.00632627
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x674080
movsx eax, word [esi + 0x2a]
lea eax, [ecx + eax*4]
lea ecx, [eax + ebx*4]
mov dword [ebp - 0x90], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x10], ecx
push eax
xor eax, eax
inc eax
push eax
push ecx
call fcn.0068ab50
mov eax, dword [ebp - 0x10]
add esp, 0xc
xor ecx, ecx
mov byte [eax + ebx + 1], 0
xor eax, eax
cmp ax, word [esi + 0x2a]
jge 0x67343b
mov edi, dword [ebp - 0x24]
or dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x673428
mov edi, dword [ebp - 0x94]
push 0x20
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.0068ab50
mov ecx, dword [ebp + 8]
xor al, al
and dword [ebp - 0xc], 0
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xd4], edi
cmp dword [ecx], 0
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x68], eax
mov byte [ebp - 5], al
jle 0x6735af
lea eax, [ecx + 8]
mov dword [ebp - 0x28], eax
mov edx, dword [eax]
lea ecx, [ebp - 0xd4]
call fcn.006566c2
test eax, eax
jne 0x674080
movsx eax, word [esi + 0x2a]
xor ebx, ebx
test eax, eax
jle 0x67350e
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x60], eax
mov edx, ecx
mov ecx, dword [eax]
call fcn.006345fe
test eax, eax
je 0x6734cd
mov eax, dword [ebp - 0x60]
inc ebx
movsx ecx, word [esi + 0x2a]
add eax, 0x10
cmp ebx, ecx
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x2c]
jl 0x6734a9
jmp 0x67350e
movsx eax, word [esi + 0x28]
cmp ebx, eax
jne 0x6734e5
xor eax, eax
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jmp 0x673505
cmp dword [ebp - 0x18], 0
je 0x673505
mov ecx, dword [esi + 4]
mov eax, ebx
add eax, eax
xor edx, edx
inc edx
test byte [ecx + eax*8 + 0xf], dl
mov eax, dword [ebp - 0x68]
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [ecx + ebx*4], eax
movsx eax, word [esi + 0x2a]
cmp ebx, eax
jl 0x673544
cmp dword [ebp - 0x18], 0
jne 0x6735c5
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
call fcn.00658201
test eax, eax
je 0x6735c5
xor eax, eax
or ebx, 0xffffffff
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
test ebx, ebx
jns 0x67354f
mov edx, 0x4ab64c
jmp 0x673559
mov eax, dword [esi + 4]
mov ecx, ebx
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x74]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push edx
push dword [esi]
push 0x17
pop edx
call fcn.0065d74f
xor ecx, ecx
add esp, 0xc
inc ecx
cmp eax, ecx
je 0x674080
cmp eax, 2
jne 0x67358e
mov eax, dword [ebp - 0x24]
or dword [eax + ebx*4], 0xffffffff
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
inc ebx
mov eax, dword [ebp - 0x28]
add eax, 0x18
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], eax
cmp ebx, dword [ecx]
jl 0x67347b
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x38]
mov bl, al
add bl, byte [ebp - 5]
cmp dword [esi + 0x38], 0
mov byte [ebp - 0x28], bl
je 0x6735e9
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x6735f7
imul eax, dword [ebp - 0xc], 0x18
mov ecx, dword [ebp + 8]
push dword [eax + ecx + 0xc]
push 0x4adb90
push edi
call fcn.00634527
xor eax, eax
add esp, 0xc
inc eax
mov byte [edi + 0x11], al
jmp 0x674080
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov dword [edx + 0x48], eax
movzx eax, bl
push eax
push dword [ebp - 0x24]
mov dword [edx + 0x4c], ecx
mov edx, esi
mov ecx, edi
mov dword [ebp - 0x60], eax
call fcn.00665bca
pop ecx
pop ecx
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], edx
test ecx, ecx
je 0x6736fb
mov esi, dword [ebp - 0x48]
test bl, bl
jne 0x6737fd
cmp eax, 1
jg 0x6737fd
cmp dword [ecx + 0x24], 0
jne 0x6737fd
cmp ecx, dword [ebp - 0x18]
je 0x6737fd
movzx eax, word [ecx + 0x32]
xor ebx, ebx
and dword [ebp - 0x20], ebx
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x6736b7
mov edx, dword [ecx + 4]
movzx eax, word [edx]
test ax, ax
js 0x673687
mov esi, dword [ebp - 0x24]
cwde
cmp dword [esi + eax*4], ebx
mov esi, dword [ebp - 0x48]
jge 0x673687
mov eax, dword [ebp - 0x20]
add edx, 2
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x78]
jl 0x67365f
mov edx, dword [ebp - 0xc]
jmp 0x6736b7
inc dword [edi + 0x2c]
movzx eax, word [ecx + 0x34]
mov ebx, dword [edi + 0x2c]
add eax, ebx
cmp dword [ebp + 0x10], 5
mov dword [edi + 0x2c], eax
je 0x6736a8
cmp dword [ebp + 0x10], 0xa
jne 0x6736b0
cmp byte [ecx + 0x36], 5
jne 0x6736b0
xor eax, eax
lea esi, [eax + 1]
mov dword [ebp - 0x48], esi
mov edx, dword [ebp - 0xc]
test ebx, ebx
jne 0x6736bf
mov eax, dword [ebp - 0x10]
mov byte [edx + eax + 1], 0
mov eax, dword [ebp - 0x90]
mov dword [eax + edx*4], ebx
inc edx
mov ecx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x2c]
mov bl, byte [ebp - 0x28]
mov dword [ebp - 0xc], edx
test ecx, ecx
jne 0x673628
test esi, esi
mov esi, dword [ebp - 0x8c]
je 0x6736fb
mov eax, dword [ebp - 0x50]
inc eax
push eax
xor eax, eax
inc eax
push eax
push dword [ebp - 0x10]
call fcn.0068ab50
add esp, 0xc
mov ecx, edi
call fcn.0066df3f
mov ebx, eax
test ebx, ebx
je 0x674080
cmp byte [edi + 0x12], 0
jne 0x673719
mov ecx, ebx
call fcn.0064c189
push dword [ebp - 0x74]
xor eax, eax
mov ecx, edi
lea edx, [eax + 1]
call fcn.00661769
cmp dword [esi + 0x38], 0
pop ecx
jne 0x673799
inc dword [edi + 0x2c]
cmp byte [ebp - 0x68], 0
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], eax
lea edx, [eax + 1]
mov dword [ebp - 0x44], edx
mov dword [edi + 0x2c], edx
mov dword [ebp - 0x1c], edx
jne 0x67375b
test ecx, ecx
jne 0x67375b
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x673770
lea eax, [edx + 1]
mov dword [ebp - 0x9c], eax
movsx eax, word [esi + 0x2a]
add eax, edx
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x28], 0
jne 0x67377e
test ecx, ecx
jne 0x67377e
test eax, eax
je 0x673787
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [edi + 0x2c]
lea eax, [ecx + 1]
mov dword [ebp - 0x4c], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edi + 0x2c], eax
cmp dword [ebp - 0x64], 0
je 0x6737c0
push dword [esi]
lea edx, [ebp - 0xb4]
mov ecx, edi
call fcn.0065d7cb
add esp, 4
mov edx, esi
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.0066239d
pop ecx
pop ecx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xd4]
call fcn.006566c2
test eax, eax
jne 0x674080
cmp dword [esi + 0x38], eax
je 0x673811
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x38]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x34]
push dword [ebp + 8]
push esi
call fcn.006740bd
add esp, 0x18
jmp 0x674080
inc dword [edi + 0x2c]
movzx eax, word [ecx + 0x34]
mov ebx, dword [edi + 0x2c]
add eax, ebx
mov dword [edi + 0x2c], eax
jmp 0x6736b3
mov eax, dword [ebp - 0x54]
test byte [eax + 0x18], 0x80
je 0x67383b
cmp dword [edi + 0x7c], 0
jne 0x67383b
inc dword [edi + 0x2c]
mov ecx, ebx
mov eax, dword [edi + 0x2c]
push eax
push 0
push 0x38
pop edx
mov dword [ebp - 0xa0], eax
call fcn.00649192
pop ecx
pop ecx
test byte [esi + 0x24], 0x20
jne 0x67385b
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x88]
push 0
push 0x3b
pop edx
call fcn.0064910e
add esp, 0xc
jmp 0x6738b5
mov eax, dword [ebp - 0x18]
movzx edx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
movsx esi, dx
mov dword [ebp - 0x70], edx
lea ecx, [eax + 1]
inc eax
add eax, esi
mov dword [ebp - 0x6c], ecx
push ecx
mov dword [ebp - 0x30], eax
mov ecx, ebx
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x28]
push 0
mov dword [ebp - 0x5c], eax
inc eax
push 0x3b
pop edx
mov dword [edi + 0x28], eax
call fcn.00649192
push esi
push dword [ebp - 0x5c]
mov ecx, ebx
push 0x6c
pop edx
call fcn.00649192
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.006498f7
mov esi, dword [ebp - 0x8c]
cmp byte [edi + 0x12], 0
mov eax, 0x1004
jne 0x6738dc
cmp dword [ebp - 0x3c], 0
jne 0x6738dc
cmp dword [ebp - 0x2c], 0
jne 0x6738dc
cmp byte [ebp - 0x28], 0
jne 0x6738dc
cmp dword [ebp - 0x48], 0
lea ecx, [eax + 8]
cmove eax, ecx
push dword [ebp - 0x84]
mov edx, dword [ebp - 0x38]
mov ecx, edi
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.0067d016
add esp, 0x14
mov dword [ebp - 0x74], eax
test eax, eax
je 0x674080
lea edx, [ebp - 0xa8]
mov ecx, eax
call fcn.00679286
mov edx, dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, 2
jne 0x673943
mov eax, dword [ebp - 0xa4]
test eax, eax
js 0x673943
cmp eax, edx
je 0x673943
sub eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x10]
push 0
cmp byte [eax + esi], 0
mov esi, dword [ebp - 0x8c]
pop eax
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
test byte [esi + 0x24], 0x20
jne 0x673980
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push 0x7b
pop edx
call fcn.00649192
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
test eax, eax
jne 0x673a29
push dword [ebp - 0x1c]
mov edx, 0x8f
mov ecx, ebx
push dword [ebp - 0x88]
call fcn.00649192
pop ecx
pop ecx
jmp 0x673a26
mov eax, dword [ebp - 0x70]
xor ecx, ecx
cwde
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x70], ecx
test eax, eax
jle 0x6739c7
mov edi, eax
mov eax, dword [ebp - 0x6c]
add eax, ecx
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
movsx eax, word [eax + ecx*2]
mov ecx, ebx
push eax
push edx
mov edx, esi
call fcn.0065954c
mov ecx, dword [ebp - 0x70]
add esp, 0xc
mov edx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x70], ecx
cmp ecx, edi
jl 0x673992
mov edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x20], 0
je 0x6739e8
mov edx, dword [ebp - 0x40]
mov ecx, ebx
call fcn.0064978a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
jmp 0x673a26
mov edx, dword [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.0066623b
pop ecx
push eax
push dword [ebp - 0x30]
mov ecx, ebx
push dword [ebp - 0xc]
push dword [ebp - 0x6c]
push 0x63
pop edx
call fcn.00649258
add esp, 0x14
mov ecx, ebx
push dword [ebp - 0xc]
push dword [ebp - 0x6c]
push dword [ebp - 0x30]
push dword [ebp - 0x5c]
push 0x7e
pop edx
call fcn.0064930f
add esp, 0x10
mov eax, dword [ebp - 0x20]
cmp eax, 2
je 0x673a36
mov ecx, dword [ebp - 0x74]
call fcn.0067d836
mov ecx, ebx
call fcn.0064935e
mov edx, dword [ebp - 0x64]
mov ecx, eax
mov dword [ebp - 0xc], ecx
test edx, edx
jne 0x673ad8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x40], eax
test edx, edx
je 0x673a81
mov eax, dword [ebp - 0xa8]
test eax, eax
js 0x673a6d
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
js 0x673a87
sub ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x10]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0xa4]
cmp edx, 2
jne 0x673aa9
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x50]
setns al
sub ecx, eax
test ecx, ecx
jle 0x673aa9
push 0x14
pop edx
mov ecx, ebx
call fcn.00649170
mov dword [ebp - 0x40], eax
xor eax, eax
mov edx, esi
push eax
push eax
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x80]
push eax
push 0x69
call fcn.00667d5c
mov eax, dword [ebp - 0x40]
add esp, 0x18
test eax, eax
je 0x673ad2
mov edx, eax
mov ecx, ebx
call fcn.00649643
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x673b48
test edx, edx
jne 0x673b11
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 0xa8], edx
je 0x673b11
cmp dword [ebp - 0xa4], edx
je 0x673b11
push dword [ebp - 0x98]
push dword [ebp - 0x30]
push ecx
push edx
push 0x1d
pop edx
mov ecx, ebx
call fcn.0064930f
mov eax, dword [ebp - 0x20]
add esp, 0x10
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x673b20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x673b2d
mov ecx, ebx
call fcn.0064935e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x1c]
cmovne eax, dword [ebp - 0x30]
push eax
push 0x4b
pop edx
call fcn.00649192
pop ecx
pop ecx
jmp 0x673bc7
cmp dword [ebp - 0x18], 0
je 0x673b99
mov ecx, ebx
call fcn.0064935e
mov dword [ebp - 0x10], eax
mov ecx, ebx
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 0x5c]
push 0x25
pop edx
call fcn.00649192
push dword [ebp - 0x30]
mov ecx, ebx
push dword [ebp - 0x5c]
push 0x7a
pop edx
call fcn.00649192
push 0
push dword [ebp - 0x30]
mov ecx, ebx
mov dword [ebp - 0xac], eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x1d
pop edx
call fcn.0064930f
add esp, 0x20
jmp 0x673bc7
push dword [ebp - 0x1c]
push ecx
push dword [ebp - 0x88]
mov ecx, ebx
push 0x2a
pop edx
call fcn.0064910e
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, ebx
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x20
pop edx
call fcn.0064910e
add esp, 0xc
cmp byte [ebp - 5], 0
je 0x673be9
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.0065a4a0
pop ecx
push dword [ebp - 0x44]
mov ecx, ebx
push 0x11
pop edx
call fcn.0064917e
pop ecx
cmp byte [ebp - 0x68], 0
mov eax, dword [ebp - 0x2c]
jne 0x673bff
test eax, eax
jne 0x673c03
cmp dword [ebp - 0x3c], eax
je 0x673cd4
test eax, eax
je 0x673c0e
mov edx, esi
mov ecx, edi
call fcn.00665aff
jmp 0x673c10
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x3c]
mov ecx, edi
push esi
push 3
push 0
push dword [ebp + 8]
mov dword [ebp - 0x34], eax
call fcn.00673187
mov edx, dword [ebp - 0x34]
add esp, 0x14
and dword [ebp - 0x78], 0
or edx, eax
xor eax, eax
mov dword [ebp - 0x34], edx
cmp ax, word [esi + 0x2a]
jge 0x673cb6
mov edi, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x50], ecx
cmp edx, 0xffffffff
je 0x673c82
cmp edi, 0x20
jge 0x673c5f
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
test edx, eax
jne 0x673c82
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi + 4]
test byte [eax + ecx + 0xf], 1
jne 0x673c82
mov eax, dword [ebp - 0x9c]
mov ecx, ebx
add eax, edi
push eax
push 0
push 0x3b
pop edx
call fcn.00649192
pop ecx
pop ecx
jmp 0x673c9b
mov eax, dword [ebp - 0x9c]
mov edx, esi
add eax, edi
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x14]
call fcn.0065954c
add esp, 0xc
mov ecx, dword [ebp - 0x50]
inc edi
movsx eax, word [esi + 0x2a]
add ecx, 0x10
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], ecx
cmp edi, eax
jl 0x673c47
mov edi, dword [ebp - 0x94]
cmp byte [ebp - 5], 0
jne 0x673cd4
cmp dword [ebp - 0x18], 0
jne 0x673cd4
push dword [ebp - 0x44]
mov ecx, ebx
push dword [ebp - 0x1c]
push 0x40
pop edx
call fcn.00649192
pop ecx
pop ecx
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x3c]
xor eax, eax
push esi
inc eax
mov ecx, edi
push eax
push eax
push dword [ebp + 8]
call fcn.00673187
mov dword [ebp - 0x78], eax
add esp, 0x14
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jmp 0x673d6f
movsx eax, word [esi + 0x28]
cmp ecx, eax
je 0x673d39
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x673d25
mov eax, dword [ebp - 0x4c]
add eax, ecx
imul edx, edx, 0x18
push eax
mov eax, dword [ebp + 8]
mov ecx, edi
mov edx, dword [edx + eax + 8]
call fcn.0065a4a0
jmp 0x673d4c
xor eax, eax
inc eax
test dword [ebp - 0x58], eax
je 0x673d4f
cmp ecx, 0x1f
jg 0x673d4f
shl eax, cl
test dword [ebp - 0x78], eax
jne 0x673d4f
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov ecx, ebx
push eax
push 0
push 0x3b
pop edx
call fcn.00649192
pop ecx
pop ecx
jmp 0x673d65
mov eax, dword [ebp - 0x4c]
mov edx, esi
add eax, ecx
push eax
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.0065968c
add esp, 0xc
mov ecx, dword [ebp - 0x40]
movsx eax, word [esi + 0x2a]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x40], ecx
jl 0x673cfa
xor eax, eax
inc eax
test byte [ebp - 0x58], al
je 0x673e2a
push dword [ebp - 0x4c]
mov edx, esi
mov ecx, ebx
call fcn.006662ef
mov edx, dword [ebp - 0x3c]
xor eax, eax
pop ecx
push dword [ebp - 0x10]
inc eax
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push esi
push eax
push dword [ebp + 8]
push 0x6e
call fcn.00673133
add esp, 0x1c
mov ecx, ebx
cmp dword [ebp - 0x18], 0
je 0x673dd1
push dword [ebp - 0x98]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x1d
pop edx
call fcn.0064930f
add esp, 0x10
jmp 0x673de5
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x20
pop edx
call fcn.0064910e
add esp, 0xc
and dword [ebp - 0x78], 0
xor eax, eax
cmp ax, word [esi + 0x2a]
jge 0x673e2a
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x24]
cmp dword [eax + edi*4], 0
jge 0x673e1b
movsx eax, word [esi + 0x28]
cmp edi, eax
je 0x673e1b
mov eax, dword [ebp - 0x4c]
mov edx, esi
add eax, edi
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x14]
call fcn.0065954c
add esp, 0xc
movsx eax, word [esi + 0x2a]
inc edi
cmp edi, eax
jl 0x673df4
mov edi, dword [ebp - 0x94]
cmp dword [ebp - 0x64], 0
jne 0x673f8b
push dword [ebp - 0x24]
and dword [ebp - 0x58], 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
mov edx, esi
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x44]
push dword [ebp - 0x84]
push dword [ebp - 0x14]
push dword [ebp - 0x90]
call fcn.0066733d
add esp, 0x28
cmp dword [ebp - 0x2c], 0
je 0x673e86
push dword [ebp - 0x60]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x1c]
call fcn.00665732
add esp, 0x10
cmp dword [ebp - 0x48], 0
jne 0x673e92
cmp byte [ebp - 0x28], 0
je 0x673ecb
cmp dword [ebp - 0x18], 0
mov ecx, ebx
je 0x673eb5
push dword [ebp - 0x98]
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x14]
push 0x1d
pop edx
call fcn.0064930f
add esp, 0x10
jmp 0x673ec8
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x14]
push 0x20
pop edx
call fcn.0064910e
add esp, 0xc
mov dword [ebp - 0x58], eax
push 0xffffffffffffffff
push dword [ebp - 0x90]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x84]
push dword [ebp - 0x14]
call fcn.00662e9b
xor eax, eax
add esp, 0x10
inc eax
cmp dword [ebp - 0x2c], eax
jg 0x673ef7
mov al, byte [ebp - 0x28]
test al, al
je 0x673f0b
push 0
push dword [ebp - 0x14]
mov ecx, ebx
push 0x76
pop edx
call fcn.00649192
mov al, byte [ebp - 0x28]
pop ecx
pop ecx
cmp dword [ebp - 0x48], 0
jne 0x673f15
test al, al
je 0x673f1f
mov edx, dword [ebp - 0x58]
mov ecx, ebx
call fcn.00649643
cmp dword [ebp - 0x2c], 0
je 0x673f3c
push dword [ebp - 0x60]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 0x44]
push 0
call fcn.00665732
add esp, 0x10
push 0
push 0
push 2
pop ecx
xor eax, eax
mov edx, esi
cmp dword [ebp - 0x20], ecx
cmove eax, ecx
mov ecx, edi
or eax, 4
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x44]
push dword [ebp - 0x84]
push dword [ebp - 0x14]
call fcn.00667bcb
add esp, 0x1c
cmp dword [ebp - 0x2c], 0
je 0x673f8b
push dword [ebp - 0x60]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.006660be
add esp, 0x10
mov eax, dword [ebp - 0x54]
test byte [eax + 0x18], 0x80
je 0x673fb0
cmp dword [edi + 0x7c], 0
jne 0x673fb0
xor eax, eax
mov ecx, ebx
inc eax
push eax
push dword [ebp - 0xa0]
push 0x45
pop edx
call fcn.00649192
pop ecx
pop ecx
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push esi
push 2
pop esi
push esi
push dword [ebp + 8]
push 0x6e
call fcn.00673133
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc ecx
add esp, 0x1c
cmp eax, ecx
je 0x674019
mov edx, dword [ebp - 0x10]
mov ecx, ebx
cmp eax, esi
jne 0x673ff2
call fcn.006493a0
mov ecx, dword [ebp - 0x74]
call fcn.0067d836
jmp 0x674019
cmp dword [ebp - 0x18], 0
je 0x674014
call fcn.006493a0
push dword [ebp - 0xac]
mov ecx, ebx
push dword [ebp - 0x5c]
push 7
pop edx
call fcn.00649192
pop ecx
pop ecx
jmp 0x674019
call fcn.006491a7
mov edx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.006493a0
cmp byte [edi + 0x12], 0
jne 0x674036
cmp dword [edi + 0x7c], 0
jne 0x674036
mov ecx, edi
call fcn.006665f9
mov eax, dword [ebp - 0x54]
test byte [eax + 0x18], 0x80
je 0x674080
cmp dword [edi + 0x7c], 0
jne 0x674080
cmp byte [edi + 0x12], 0
jne 0x674080
xor eax, eax
mov ecx, ebx
inc eax
push eax
push dword [ebp - 0xa0]
push 0x43
pop edx
call fcn.00649192
xor eax, eax
mov ecx, ebx
lea edx, [eax + 1]
call fcn.0064a444
push 0
push 0x4adba4
push 0
xor edx, edx
mov ecx, ebx
call fcn.0064a4ac
add esp, 0x14
lea ecx, [ebp - 0xb4]
call fcn.0065d7e4
mov edi, dword [ebp - 0x54]
mov ecx, edi
mov edx, dword [ebp - 0x24]
call fcn.00632404
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.00661345
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00657f14
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.006574e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret