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

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x121c
call fcn.006733bc
sub esp, 0x121c
mov ebx, dword [esp + 0x123c]
mov edi, dword [esp + 0x1238]
mov esi, dword [esp + 0x1230]
mov dword [esp + 0x48], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], esi
test ebx, ebx
je 0x674c2b
mov ecx, dword [esp + 0x1240]
mov dword [ebx], 0
test edi, edi
je 0x674bbc
mov dword [edi], 0
test ecx, ecx
je 0x674c3e
mov eax, dword [esp + 0x1244]
mov ebp, dword [esp + 0x1234]
mov dword [ecx], 0
test eax, eax
mov ecx, 0x8987d4
cmovne ecx, eax
mov dword [esp + 0x5c], ecx
lea eax, [ecx + 0x100]
mov dword [esp + 0x60], eax
lea eax, [ecx + 0x200]
mov dword [esp + 0x64], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0x68], eax
test ebp, 0xd8008580
je 0x674c50
mov dword [esp + 0xc], 0x11
mov eax, 0x11
mov ecx, dword [esp + 0x20]
sub ecx, esi
sar ecx, 1
mov edx, dword [esp + 0x1240]
mov dword [edx], ecx
jmp 0x675080
test edi, edi
je 0x6750b4
mov dword [edi], 0x63
jmp 0x6750b4
mov dword [esp + 0xc], 0x10
mov eax, 0x10
jmp 0x675080
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc0], 0
movzx eax, word [esi]
cmp eax, 0x28
jne 0x674ff9
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x24], 0
mov eax, esi
mov dword [esp + 0x18], 0xffffffff
xor edi, edi
mov ebx, edi
movzx ecx, word [esi + ebx*2 + 2]
cmp ecx, 0x2a
jne 0x67500d
add eax, 4
sub esp, 4
push 6
push 0x884988
push eax
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e99
lea edi, [esi + ebx*2 + 4]
sub esp, 4
push 4
push str.UTF_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e9e
sub esp, 4
push 4
push str.UCP_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674eae
sub esp, 4
push 0x10
push str.NO_AUTO_POSSESS_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674ebe
sub esp, 4
push 0xd
push str.NO_START_OPT_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674ece
sub esp, 4
push 0xc
push str.LIMIT_MATCH
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674ede
sub esp, 4
push 0x10
push str.LIMIT_RECURSION
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674efc
sub esp, 4
push 3
push 0x8849d6
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e20
sub esp, 4
push 3
push 0x8849da
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e2f
sub esp, 4
push 5
push str.CRLF_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e3e
sub esp, 4
push 4
push str.ANY_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e4d
sub esp, 4
push 8
push str.ANYCRLF_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e5c
sub esp, 4
push 0xc
push str.BSR_ANYCRLF_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
je 0x674e6b
sub esp, 4
push 0xc
push str.BSR_UNICODE_
push edi
call fcn.0068ebd0
add esp, 0x10
test eax, eax
jne 0x67500d
add ebx, 0xe
mov eax, 0x1000000
jmp 0x674e73
add ebx, 5
mov eax, 0x100000
mov ecx, 0xff8fffff
jmp 0x674e80
add ebx, 5
mov eax, 0x200000
mov ecx, 0xff8fffff
jmp 0x674e80
add ebx, 7
mov eax, 0x300000
mov ecx, 0xff8fffff
jmp 0x674e80
add ebx, 6
mov eax, 0x400000
mov ecx, 0xff8fffff
jmp 0x674e80
add ebx, 0xa
mov eax, 0x500000
mov ecx, 0xff8fffff
jmp 0x674e80
add ebx, 0xe
mov eax, 0x800000
mov ecx, 0xfe7fffff
nop dword [eax + eax]
and ebp, ecx
or ebp, eax
lea eax, [esi + ebx*2]
movzx ecx, word [esi + ebx*2]
cmp ecx, 0x28
je 0x674c89
jmp 0x67500d
add ebx, 8
jmp 0x674ea1
add ebx, 6
or ebp, 0x800
mov edi, ebx
jmp 0x674fe0
add ebx, 6
or ebp, 0x20000000
mov edi, ebx
jmp 0x674fe0
add ebx, 0x12
or ebp, 0x20000
mov edi, ebx
jmp 0x674fe0
add ebx, 0xf
or ebp, 0x4000000
mov edi, ebx
jmp 0x674fe0
lea edi, [ebx + 0xe]
movzx ecx, word [esi + ebx*2 + 0x1c]
movzx edx, cx
lea esi, [edx - 0x30]
xor eax, eax
cmp esi, 9
jbe 0x674f1d
mov esi, dword [esp + 0x1230]
jmp 0x674f56
lea edi, [ebx + 0x12]
movzx ecx, word [esi + ebx*2 + 0x24]
movzx edx, cx
lea esi, [edx - 0x30]
xor eax, eax
cmp esi, 9
jbe 0x674f84
mov esi, dword [esp + 0x1230]
jmp 0x674fb6
xor eax, eax
mov esi, dword [esp + 0x1230]
nop word cs:[eax + eax]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2 - 0x30]
movzx ecx, word [esi + edi*2 + 2]
inc edi
cmp eax, 0x19999998
ja 0x674f56
movzx edx, cx
lea esi, [edx - 0x30]
cmp esi, 0xa
mov esi, dword [esp + 0x1230]
jb 0x674f30
movzx ecx, cx
cmp ecx, 0x29
jne 0x67500d
inc edi
cmp eax, dword [esp + 0x14]
jae 0x674fe0
mov ecx, dword [esp + 0x24]
or ecx, 0x2000
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x14], eax
jmp 0x674fe0
xor eax, eax
mov esi, dword [esp + 0x1230]
nop dword [eax]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2 - 0x30]
movzx ecx, word [esi + edi*2 + 2]
inc edi
cmp eax, 0x19999998
ja 0x674fb6
movzx edx, cx
lea esi, [edx - 0x30]
cmp esi, 0xa
mov esi, dword [esp + 0x1230]
jb 0x674f90
movzx ecx, cx
cmp ecx, 0x29
jne 0x67500d
inc edi
cmp eax, dword [esp + 0x18]
jae 0x674fe0
mov ecx, dword [esp + 0x24]
or ecx, 0x4000
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x18], eax
nop
mov ebx, dword [esp + 0x123c]
lea eax, [esi + edi*2]
movzx ecx, word [esi + edi*2]
cmp ecx, 0x28
je 0x674c87
jmp 0x675016
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
jmp 0x675016
mov edi, ebx
mov ebx, dword [esp + 0x123c]
mov eax, ebp
and eax, 0x800
test dword [esp + 0x1234], 0x10000
je 0x67503d
test eax, eax
je 0x67503d
mov dword [esp + 0xc], 0x4e
mov eax, 0x4e
jmp 0x675079
mov dword [esp + 0x34], eax
mov eax, ebp
and eax, 0x2800
cmp eax, 0x800
jne 0x6750c1
sub esp, 4
push dword [esp + 0x1244]
push 0xffffffffffffffff
push esi
call fcn.0068ec40
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
je 0x6750c1
mov dword [esp + 0xc], 0x4a
mov eax, 0x4a
mov edi, dword [esp + 0x1238]
mov ecx, str.no_error
mov edx, eax
nop word [eax + eax]
cmp byte [ecx], 0
lea ecx, [ecx + 1]
jne 0x675090
cmp byte [ecx], 0
je 0x6750a7
cmp edx, 2
lea edx, [edx - 1]
jge 0x675090
jmp 0x6750ac
mov ecx, str.Error_text_not_found__please_report_
test edi, edi
mov dword [ebx], ecx
je 0x6750b4
mov dword [edi], eax
xor eax, eax
add esp, 0x121c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebp
and eax, 0x1800000
cmp eax, 0x1800000
jne 0x6750e8
mov dword [esp + 0xc], 0x38
mov eax, 0x38
mov edi, dword [esp + 0x1238]
jmp 0x674c15
mov eax, ebp
shr eax, 0x14
mov ecx, eax
and cl, 7
cmp cl, 5
ja case.default.0x6750fe
mov cx, 0xa
and eax, 7
jmp dword [eax*4 + 0x675de0]
mov cx, 0xd
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 1
mov word [esp + 0xe8], cx
jmp 0x675164
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 2
mov dword [esp + 0xe8], 0xa000d
jmp 0x675164
mov dword [esp + 0xe0], 1
jmp 0x675164
mov dword [esp + 0xe0], 2
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xb0], 0
lea eax, [esp + 0x21c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0xdc], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x98], 0x800
lea eax, [esp + 0x12c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], 0x14
mov esi, dword [esp + 0x1230]
mov dword [esp + 0x74], esi
sub esp, 0xc
push esi
call fcn.0068ec20
add esp, 0x10
lea eax, [esi + eax*2]
mov dword [esp + 0x78], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xa4], 0
mov ecx, ebp
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x80], 0
lea ebp, [esi + edi*2]
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x21c]
mov dword [esp + 0x30], eax
mov word [esp + 0x21c], 0x83
sub esp, 0xc
lea edi, [esp + 0x54]
lea eax, [esp + 0x68]
lea edx, [esp + 0x3c]
mov dword [esp + 0x38], ecx
push edi
push eax
push 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00676090
add esp, 0x40
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [esp + 0x1238]
je 0x675305
mov ecx, dword [esp + 0x20]
sub ecx, esi
sar ecx, 1
mov edx, dword [esp + 0x1240]
mov dword [edx], ecx
test eax, eax
jg 0x675080
mov ecx, str.no_error
jmp 0x6750ac
mov dword [esp + 0xf0], ebp
lea ebp, [esp + 0x5c]
mov eax, dword [esp + 0x48]
cmp eax, 0x10001
jl 0x675334
mov dword [esp + 0xc], 0x14
mov eax, 0x14
mov esi, dword [esp + 0x1230]
jmp 0x674c15
mov ecx, dword [esp + 0x90]
imul ecx, dword [esp + 0x8c]
add ecx, eax
lea esi, [ecx + ecx + 0x38]
sub esp, 0xc
push esi
call dword [0x884884]
add esp, 0x10
test eax, eax
je 0x67577f
mov edi, eax
lea eax, [esp + 0xc4]
mov dword [edi], 0x50435245
mov dword [edi + 4], esi
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0xc0]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 0
mov word [edi + 0x22], 0x1c
mov ecx, dword [esp + 0x90]
movzx ecx, cx
mov word [edi + 0x24], cx
mov ebx, dword [esp + 0x8c]
mov word [edi + 0x26], bx
mov dword [edi + 0x28], 0
xor edx, edx
mov esi, dword [esp + 0x28]
cmp esi, 0x8987d4
cmovne edx, esi
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], 0
mov dword [edi + 0x2c], 0
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xa0], esi
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 0
lea esi, [edi + 0x38]
mov dword [esp + 0x14], esi
mov dword [esp + 0x88], esi
movzx esi, bx
imul esi, ecx
mov dword [esp + 0x10], edi
lea ecx, [edi + esi*2 + 0x38]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x70], ecx
mov ecx, ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0xdc], 0
mov dword [esp + 0x80], 0
test ecx, ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
lea edi, [esp + 0x20]
lea ebx, [esp + 0xc]
jle 0x67566a
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], 0
xor ebp, ebp
jmp 0x6754b4
mov eax, dword [esp + 0xf8]
add eax, 0xc
dec ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x14], edx
mov edx, dword [eax]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [esp + 0xfc], esi
mov dword [esp + 0x50], edx
lea edx, [edx + edx]
mov dword [esp + 0x28], edx
test ebp, ebp
mov dword [esp + 0x100], ecx
mov dword [esp + 0xf8], eax
jle 0x6755a8
mov edx, dword [esp + 0x90]
lea eax, [edx + edx]
mov dword [esp + 0x104], eax
mov eax, ebp
imul eax, edx
mov ecx, eax
mov dword [esp + 0xf4], ecx
neg eax
lea ecx, [ebp + ebp]
imul ecx, edx
mov dword [esp + 0x58], ecx
lea edi, [ebp + ebp + 2]
mov dword [esp + 0x24], edx
imul edi, edx
dec edi
mov dword [esp + 0x54], 0
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x108], ebp
nop word cs:[eax + eax]
mov dword [esp + 0x14], eax
lea eax, [ecx + 2]
sub esp, 4
push dword [esp + 0x2c]
push eax
push dword [esp + 0x24]
mov ebp, ecx
call sub.msvcrt.dll_memcmp
add esp, 0x10
test eax, eax
je 0x67556d
mov ecx, dword [esp + 0x24]
lea ebx, [ebp + ecx*2]
jns 0x675581
jmp 0x6755ae
mov eax, dword [esp + 0x50]
cmp word [ebp + eax*2 + 2], 0
mov ecx, dword [esp + 0x24]
lea ebx, [ebp + ecx*2]
jne 0x6755ae
inc esi
mov edx, dword [esp + 0x104]
sub dword [esp + 0x54], edx
mov eax, dword [esp + 0x14]
add eax, ecx
sub dword [esp + 0x58], edx
sub edi, edx
mov ebp, dword [esp + 0x108]
cmp ebp, esi
mov ecx, ebx
jg 0x675540
jmp 0x6755f6
mov ebx, dword [esp + 0x14]
jmp 0x6755f6
mov esi, ebx
cmp ebx, ebp
jbe 0x6755ce
cmp dword [esp + 0x14], 0
je 0x6755f4
mov ecx, dword [esp + 0x58]
movzx eax, byte [ebp + ecx - 1]
mov byte [ebp + edi], al
dec edi
dec ecx
jne 0x6755bf
jmp 0x6755f4
cmp dword [esp + 0x14], 0
je 0x6755f4
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x54]
lea eax, [ecx + eax*2]
xor ecx, ecx
mov edi, esi
movzx edx, byte [ebp + ecx]
mov byte [edi + ecx], dl
inc ecx
cmp eax, ecx
jne 0x6755e7
mov ebx, ebp
mov eax, dword [esp + 0xfc]
mov word [ebx], ax
lea eax, [ebx + 2]
sub esp, 4
push dword [esp + 0x2c]
push dword [esp + 0x20]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0x10
mov eax, dword [esp + 0x50]
mov word [ebx + eax*2 + 2], 0
mov ebp, dword [esp + 0x8c]
inc ebp
mov dword [esp + 0x8c], ebp
mov ecx, dword [esp + 0x100]
cmp ecx, 2
jge 0x67549e
cmp dword [esp + 0x94], 0x15
lea ebp, [esp + 0x5c]
lea edi, [esp + 0x20]
lea ebx, [esp + 0xc]
jl 0x67566a
sub esp, 0xc
push dword [esp + 0x90]
call dword [0x884888]
add esp, 0x10
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov word [eax], 0x83
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 8]
sub esp, 0xc
lea edx, [esp + 0x3c]
push 0
push ebp
push 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
push 0
push 0
push 0
push 0
push ebx
push edi
call fcn.00676090
add esp, 0x40
movzx eax, word [esp + 0x9c]
mov word [esi + 0x1e], ax
movzx eax, word [esp + 0xa8]
mov word [esi + 0x20], ax
movzx eax, word [esp + 0xa4]
mov word [esi + 0x1c], ax
mov eax, dword [esp + 0xc0]
or eax, 2
mov dword [esi + 0xc], eax
cmp dword [esp + 0xc8], 0
je 0x675706
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
jne 0x67572b
mov eax, dword [esp + 0x20]
cmp word [eax], 0
mov eax, dword [esp + 0x34]
je 0x67572b
mov dword [esp + 0xc], 0x16
shr eax, 0xb
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + 2]
mov dword [esp + 0x30], ecx
mov word [eax], 0
mov dword [esp + 0x28], ecx
mov eax, ecx
sub eax, dword [esp + 0x1c]
sar eax, 1
cmp eax, dword [esp + 0x48]
jle 0x675798
mov dword [esp + 0xc], 0x17
mov ebx, 0x17
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x98], 0x801
jge 0x67586b
jmp 0x675883
mov dword [esp + 0xc], 0x15
mov eax, 0x15
mov esi, dword [esp + 0x1230]
jmp 0x674c15
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
cmp esi, eax
jbe 0x67585e
test ebx, ebx
jne 0x67585e
add esi, 0xfffffffe
xor eax, eax
mov ecx, 0xffffffff
mov dword [esp + 0x7c], esi
movzx ebx, word [esi]
test ebx, ebx
mov edi, dword [esp + 0x1c]
je 0x675835
movzx edx, word [edi + ebx*2 - 2]
cmp edx, 0x75
mov edx, dword [esp + 0x2c]
jne 0x675835
movzx ebp, word [edi + ebx*2]
cmp ecx, ebp
je 0x675801
sub esp, 4
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.00674800
mov edx, dword [esp + 0x3c]
add esp, 0x10
mov ecx, ebp
test eax, eax
lea ebp, [esp + 0x5c]
je 0x675851
mov edx, eax
mov edi, dword [esp + 0x1c]
sub edx, edi
shr edx, 1
mov word [edi + ebx*2], dx
mov edx, dword [esp + 0x2c]
cmp esi, dword [esp + 0x18]
lea esi, [esi - 2]
ja 0x6757c2
xor ebx, ebx
cmp dword [esp + 0x98], 0x801
jge 0x67586b
jmp 0x675883
mov dword [esp + 0xc], 0xa
mov ebx, 0xa
cmp dword [esp + 0x98], 0x801
jge 0x67586b
jmp 0x675883
mov dword [esp + 0xc], 0x35
mov ebx, 0x35
cmp dword [esp + 0x98], 0x801
jl 0x675883
sub esp, 0xc
push dword [esp + 0x24]
call dword [0x884888]
mov edx, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x6c], 0
test ebx, ebx
jne 0x6758b0
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x20]
xor ebx, ebx
mov ecx, dword [esp + 0x10]
cmp ax, word [ecx + 0x1e]
jbe 0x6758b0
mov dword [esp + 0xc], 0xf
mov ebx, 0xf
and edx, 0x20000
or edx, ebx
mov edi, dword [esp + 0x1238]
jne 0x675af9
mov esi, dword [esp + 0x1c]
movzx ebp, word [esi]
cmp ebp, 0xa1
ja case.0x675a7d.0
lea ebx, [esp + 0x10c]
lea eax, [ebp - 0x21]
movzx eax, ax
cmp eax, 0x40
ja 0x6759b0
movzx ecx, bp
mov ax, 0x55
cmp ecx, 0x54
ja 0x67591b
mov ax, 0x48
cmp ecx, 0x47
ja 0x67591b
mov ax, 0x3b
cmp ecx, 0x3a
ja 0x67591b
cmp ecx, 0x2d
mov ax, 0x21
mov cx, 0x2e
cmova ax, cx
add ebp, 0x21
sub ebp, eax
movzx eax, bp
xor ecx, ecx
cmp eax, 0x28
ja 0x675942
sub esp, 8
mov ecx, esi
mov edx, dword [esp + 0x1c]
push ebx
push dword [esp + 0x6c]
call fcn.0067f020
add esp, 0x10
mov ecx, eax
lea eax, [ebp - 0x21]
movzx edi, ax
xor edx, edx
cmp edi, 6
ja 0x675957
cwde
mov edx, dword [eax*4 + 0x885f90]
mov dword [esp + 0x110], edx
mov dword [esp + 0x4c], 0x3e8
test ecx, ecx
je case.default.0x675a44
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
push ecx
push ebx
lea eax, [esp + 0x68]
push eax
call fcn.0067f580
add esp, 0x10
test eax, eax
je case.default.0x675a44
add ebp, 0xffffffdf
movzx eax, bp
cmp eax, 7
ja case.default.0x675a44
movsx eax, bp
movzx eax, word [eax + eax + str._t_b_b_a_a]
add word [esi], ax
jmp case.default.0x675a44
mov ecx, 0x11
lea eax, [ebp - 0x6e]
movzx eax, ax
cmp eax, 2
jb 0x6759d0
movzx eax, bp
cmp eax, 0x70
jne 0x675a6c
movzx ecx, word [esi + 2]
movzx ebp, word [esi + ecx*2]
lea eax, [ebp - 0x62]
movzx eax, ax
cmp eax, 7
ja case.default.0x675a44
sub esp, 8
mov dword [esp + 0x20], ecx
mov ecx, esi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
mov edx, ebx
push edi
push dword [esp + 0x6c]
call fcn.0067f020
add esp, 0x10
mov ecx, ebp
not ecx
and ecx, 1
mov dword [esp + 0x110], ecx
mov dword [esp + 0x4c], 0x3e8
mov ecx, eax
mov edx, ebx
mov ebx, edi
lea edi, [esp + 0x4c]
push edi
push eax
push ebx
lea eax, [esp + 0x68]
push eax
call fcn.0067f580
mov ecx, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je case.default.0x675a44
add ebp, 0xffffff9e
movzx eax, bp
cmp eax, 7
ja case.default.0x675a44
jmp dword [eax*4 + 0x675df8]
mov word [esi + ecx*2], 0x6a
jmp case.default.0x675a44
mov word [esi + ecx*2], 0x6b
jmp case.default.0x675a44
mov word [esi + ecx*2], 0x6c
jmp case.default.0x675a44
mov word [esi + ecx*2], 0x6d
mov bp, word [esi]
movzx eax, bp
mov edi, dword [esp + 0x1238]
cmp eax, 0x9b
ja case.0x675a7d.1
jmp dword [eax*4 + 0x675e18]
movzx ecx, word [esi + 2]
add ecx, 0xfffffff1
movzx ecx, cx
lea edx, [esi + 4]
cmp ecx, 2
cmovb esi, edx
jmp case.0x675a7d.1
movzx ecx, word [esi + 2]
lea esi, [esi + ecx*2]
jmp case.0x675a7d.1
lea ecx, [esi + 4]
movzx edx, word [esi + 4]
add edx, 0xfffffff1
movzx edx, dx
cmp edx, 2
cmovb esi, ecx
cmp dword [esp + 0x14], 0
movzx ecx, byte [eax + 0x886054]
lea esi, [esi + ecx*2]
je 0x675ae2
add eax, 0xffffffe3
cmp eax, 0x37
ja 0x675ae2
movzx eax, word [esi - 2]
and eax, 0xfc00
lea ecx, [esi + 2]
cmp eax, 0xd800
cmove esi, ecx
movzx ebp, word [esi]
cmp ebp, 0xa2
jb 0x6758df
mov ebx, dword [esp + 0xc]
lea ebp, [esp + 0x5c]
test ebx, ebx
jne 0x675bae
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x675bae
sub esp, 4
push 0xffffffffffffffff
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.00674800
add esp, 0x10
mov esi, eax
test esi, esi
je 0x675bd9
cmp word [esi + 2], 0
jne 0x675b93
movzx edi, word [esi - 2]
mov eax, ebp
movzx ebp, word [esi + edi*2 - 4]
mov word [esi + edi*2 - 4], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
shr edx, 0xb
and edx, 1
sub esp, 4
mov ecx, esi
push 0
push eax
push 1
call fcn.006765d0
add esp, 0x10
mov word [esi + edi*2 - 4], bp
test eax, eax
js 0x675c75
cmp eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x1238]
jle 0x675b8b
mov dword [esp + 0xa4], eax
mov word [esi + 2], ax
lea ebp, [esp + 0x5c]
add esi, 4
sub esp, 4
push 0xffffffffffffffff
push dword [esp + 0x1c]
push esi
call fcn.00674800
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x675b2f
test ebx, ebx
je 0x675bd9
sub esp, 0xc
push dword [esp + 0x1c]
call dword [0x884888]
add esp, 0x10
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x123c]
mov esi, dword [esp + 0x1230]
jmp 0x6752e2
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
test bl, 0x10
jne 0x675d13
sub esp, 8
xor edx, edx
mov ecx, dword [esp + 0x24]
push 0
push ebp
call fcn.00676ae0
add esp, 0x10
test eax, eax
je 0x675c10
or ebx, 0x10
mov eax, dword [esp + 0x10]
mov dword [eax + 8], ebx
jmp 0x675d13
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x675c39
sub esp, 0xc
lea edx, [esp + 0x44]
mov ecx, dword [esp + 0x28]
push 0
call fcn.00676ce0
add esp, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x675cb5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov word [edx + 0x18], cx
test al, 1
je 0x675d0b
movzx eax, cx
cmp dword [esp + 0x34], 0
je 0x675ca0
cmp eax, 0x7f
ja 0x675cd9
mov ecx, dword [esp + 0x60]
movzx ecx, byte [ecx + eax]
cmp eax, ecx
lea ebp, [esp + 0x5c]
jne 0x675d03
jmp 0x675d0b
cmp eax, 0xfffffffc
mov ecx, 0x46
mov edx, 0x19
cmove edx, ecx
cmp eax, 0xfffffffe
mov eax, 0x24
cmovne eax, edx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x1238]
jmp 0x675bb2
cmp eax, 0xff
ja 0x675d0b
mov ecx, dword [esp + 0x60]
movzx ecx, byte [ecx + eax]
cmp eax, ecx
jne 0x675d03
jmp 0x675d0b
sub esp, 4
xor edx, edx
mov ecx, dword [esp + 0x20]
push 0
push 0
push ebp
call fcn.00677060
add esp, 0x10
test eax, eax
je 0x675d13
mov eax, dword [esp + 0x10]
or byte [eax + 0xd], 1
jmp 0x675d13
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x8882d4]
shl ecx, 7
and eax, 0x7f
or eax, ecx
movzx eax, word [eax + eax + 0x88a4d4]
cmp dword [eax*8 + 0x886c58], 0
lea ebp, [esp + 0x5c]
je 0x675d0b
mov eax, dword [esp + 0x10]
or byte [eax + 0xc], 0x20
mov eax, dword [esp + 0x10]
or byte [eax + 0xc], 0x10
mov eax, dword [esp + 0x44]
test eax, eax
mov edi, dword [esp + 0x28]
js 0x675d99
test al, 2
jne 0x675d2f
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
and ecx, 0x10
jne 0x675d99
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov word [edx + 0x1a], cx
test al, 1
je 0x675d91
movzx eax, cx
cmp dword [esp + 0x34], 0
je 0x675d76
cmp eax, 0x7f
jbe 0x675d7d
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x8882d4]
shl ecx, 7
and eax, 0x7f
or eax, ecx
movzx eax, word [eax + eax + 0x88a4d4]
cmp dword [eax*8 + 0x886c58], 0
jne 0x675d89
jmp 0x675d91
cmp eax, 0xff
ja 0x675d91
mov ecx, dword [esp + 0x60]
movzx ecx, byte [ecx + eax]
cmp eax, ecx
je 0x675d91
mov eax, dword [esp + 0x10]
or byte [eax + 0xc], 0x80
mov eax, dword [esp + 0x10]
or byte [eax + 0xc], 0x40
mov ecx, dword [esp + 0x1c]
sub esp, 4
mov esi, ecx
mov edx, edi
push 0
push ebp
push dword [esp + 0x20]
call fcn.006772a0
add esp, 0x10
test eax, eax
jne 0x675dd2
movzx eax, word [esi + 2]
movzx ecx, word [esi + eax*2]
lea eax, [esi + eax*2]
cmp ecx, 0x77
mov ecx, eax
mov eax, dword [esp + 0x10]
je 0x675d9d
jmp 0x6750b6
mov eax, dword [esp + 0x10]
or byte [eax + 0xd], 0x80
jmp 0x6750b6