Function at 0x10038b80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
shr eax, 9
and eax, 1
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xfc], eax
xor eax, 1
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xf8], eax
mov eax, 0xfffffffe
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi]
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x108], edx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x7c], ecx
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0xf4], edx
mov edx, dword [ebp + 0x28]
and eax, 1
mov dword [ebp - 0xf0], edi
mov edi, dword [edi]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0x7c], ecx
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov dword [ebp - 0x5c], eax
je 0x10037244
mov edx, dword [edx + 0x10]
lea eax, [edx + ecx*2 - 0xc8]
cmp ebx, eax
ja 0x1003a07c
mov eax, dword [ebp - 0xd8]
cmp ebx, eax
jae 0x100371c2
mov dword [ebp - 0x4c], eax
mov ebx, eax
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
mov eax, ebx
sub eax, dword [ebp - 0xd8]
mov edx, 0x7fffffeb
sar eax, 1
sub edx, ecx
cmp edx, eax
jl 0x1003a08a
add ecx, eax
mov eax, dword [ebp - 0x7c]
mov dword [eax], ecx
test esi, esi
je 0x1003722e
cmp esi, dword [ebp - 0xe8]
jbe 0x10037239
mov edi, dword [ebp - 0xe8]
mov ecx, ebx
sub ecx, esi
and ecx, 0xfffffffe
push ecx
push esi
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
sub esi, edi
sar esi, 1
add esp, 0xc
neg esi
lea edx, [ebx + esi*2]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x58]
mov ebx, edx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xd8], ebx
jmp 0x10037257
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x4c], eax
mov ebx, eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xd8], ebx
jmp 0x10037257
mov eax, dword [edx + 0x10]
lea ecx, [eax + ecx*2 - 0xc8]
cmp dword [edx + 0x24], ecx
ja 0x1003a098
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
cmp dword [ebp - 0xac], ecx
je 0x10037372
cmp eax, ecx
je 0x10037372
cmp eax, 0x5c
jne 0x10037290
cmp word [edi + 2], 0x45
jne 0x10037290
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [ebp - 0xac], ecx
add edi, 2
jmp 0x1003718c
mov eax, dword [ebp - 0xbc]
cmp eax, ecx
je 0x100372b5
cmp dword [ebp - 0x7c], ecx
jne 0x100372af
sub edi, dword [edx + 0x18]
sar edi, 1
sub di, word [eax + 4]
mov word [eax + 6], di
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0xbc], ecx
test dword [ebp - 0x74], 0x4000
je case.0x100374cf.1
mov dword [ebx], 0xff0070
sub edi, dword [edx + 0x18]
xor edx, edx
sar edi, 1
mov dword [ebp - 0xbc], ebx
mov word [ebx + 4], di
mov word [ebx + 6], dx
add ebx, 8
mov dword [ebp - 0x4c], ebx
mov si, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
test byte [ebp - 0x74], 1
mov eax, dword [ebp - 0x4c]
mov edx, 0
setne dl
mov dword [ebp - 0x58], eax
add eax, 4
mov dword [ebp - 0x4c], eax
add edx, 0x1d
mov word [eax - 4], dx
mov word [eax - 2], si
cmp si, 0xd
je 0x10037315
cmp si, 0xa
jne 0x1003731c
or dword [ecx + 0x54], 0x800
mov edx, dword [ebp - 0x78]
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
cmp edx, 0xfffffffe
jne 0x1003a016
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x8c]
movzx edx, si
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0x78], eax
xor ecx, ecx
jmp 0x1003718c
cmp eax, 0x2a
je 0x100374d6
cmp eax, 0x2b
je 0x100374d6
cmp eax, 0x3f
je 0x100374d6
cmp eax, 0x7b
jne 0x100373a2
lea eax, [edi + 2]
call fcn.100347d0
test eax, eax
jne 0x100374d6
cmp dword [ebp - 0xbc], 0
mov dword [ebp - 0x68], 0
je 0x100373eb
mov eax, dword [ebp - 0xe0]
mov ecx, eax
dec eax
mov dword [ebp - 0xe0], eax
test ecx, ecx
jg 0x100373eb
cmp dword [ebp - 0x7c], 0
jne 0x100373e1
sub edi, dword [edx + 0x18]
mov eax, dword [ebp - 0xbc]
sar edi, 1
sub di, word [eax + 4]
mov word [eax + 6], di
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0xbc], 0
xor ecx, ecx
test byte [ebp - 0x74], 8
je 0x1003747f
mov eax, 0xff
cmp word [edi], ax
ja 0x10037411
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x5c]
test byte [eax + ecx], 1
jne 0x10037e47
cmp dword [ebp - 0x5c], 0x23
jne 0x1003747d
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
test ax, ax
je 0x10037473
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x100374e2
mov eax, dword [eax + 0x1c]
cmp edi, eax
jae 0x1003751d
mov esi, dword [ebp - 0x50]
push ecx
add esi, 0x6c
mov edx, eax
mov ecx, edi
call fcn.10041630
mov esi, dword [ebp - 0x58]
add esp, 4
test eax, eax
je 0x1003751d
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x6c]
lea edi, [edi + eax*2 - 2]
mov dword [ebp - 0x48], edi
cmp word [edi], 0
jne 0x10037e47
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], 0
xor ecx, ecx
test dword [ebp - 0x74], 0x4000
je 0x100374bc
cmp dword [ebp - 0x68], ecx
jne 0x100374bc
mov eax, 0x70
mov word [ebx], ax
mov eax, 0xff
mov word [ebx + 2], ax
sub edi, dword [edx + 0x18]
xor eax, eax
sar edi, 1
mov word [ebx + 4], di
mov word [ebx + 6], ax
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0xbc], ebx
add ebx, 8
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x5c]
cmp eax, 0x7c
ja case.0x100374cf.1
movzx eax, byte [eax + 0x1003a3a0]
jmp dword [eax*4 + 0x1003a36c]
mov dword [ebp - 0x68], 1
jmp 0x100373eb
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0xa0], ecx
add ecx, ecx
sub edx, ecx
cmp edi, edx
ja 0x1003751d
movzx ecx, word [edi]
cmp cx, word [eax + 0x70]
jne 0x1003751d
cmp dword [ebp - 0xa0], 1
je 0x1003745c
mov ax, word [edi + 2]
mov ecx, dword [ebp - 0x50]
cmp ax, word [ecx + 0x72]
je 0x1003745c
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
test ax, ax
jne 0x10037425
jmp 0x10037473
test byte [ebp - 0x74], 2
mov dword [ebp - 0x58], ecx
je 0x1003756b
cmp dword [ebp - 0x78], 0xfffffffe
jne 0x1003754a
mov dword [ebp - 0x78], 0xffffffff
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov ecx, 0x1a
mov word [ebx], cx
mov edi, dword [ebp - 0x48]
add ebx, 2
add edi, 2
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
mov esi, dword [ebp - 0x58]
mov edx, 0x19
mov word [ebx], dx
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
add ebx, 2
add edi, 2
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
test byte [ebp - 0x74], 2
mov edx, dword [ebp - 0x50]
mov eax, 0
setne al
mov dword [ebp - 0x58], ecx
mov esi, ecx
add eax, 0x1b
mov word [ebx], ax
mov edi, dword [ebp - 0x48]
add ebx, 2
add edi, 2
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
cmp dword [ebp - 0x78], 0xfffffffe
jne 0x100375c6
mov dword [ebp - 0x78], 0xffffffff
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp - 0x74]
shr edx, 2
and edx, 1
or edx, 0xc
mov word [ebx], dx
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x58], ebx
mov esi, dword [ebp - 0x58]
add ebx, 2
mov dword [ebp - 0xa8], ecx
add edi, 2
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
test dword [edx + 0x50], 0x2000000
je case.0x100374cf.1
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x40
jmp 0x1003a34e
movzx eax, word [edi + 2]
mov dword [ebp - 0x58], ebx
cmp eax, 0x3a
je 0x1003764f
cmp eax, 0x2e
je 0x1003764f
cmp eax, 0x3d
jne 0x1003766a
lea eax, [ebp - 0xc4]
push eax
push edi
call fcn.10036360
mov edi, dword [ebp - 0x48]
add esp, 8
test eax, eax
jne 0x1003a122
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
add edi, 2
mov dword [ebp - 0x48], edi
movzx esi, word [edi]
mov dword [ebp - 0x5c], esi
cmp esi, 0x5c
jne 0x100376d6
cmp word [edi + 2], 0x45
lea ecx, [edi + 2]
jne 0x1003768f
mov edi, ecx
jmp 0x10037670
mov eax, 3
mov esi, 0x100571dc
lea esp, [esp]
movzx edx, byte [esi]
dec eax
mov dword [ebp - 0xa0], eax
movzx eax, word [ecx]
add ecx, 2
inc esi
cmp dx, ax
jne 0x100376c5
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x100376a0
add edi, 6
jmp 0x1003766d
sbb eax, eax
neg eax
lea eax, [eax + eax - 1]
test eax, eax
jne 0x10037746
add edi, 6
jmp 0x1003766d
test eax, eax
jne 0x100376e9
cmp esi, 0x5e
jne 0x100376e9
mov eax, 1
mov dword [ebp - 0x6c], eax
jmp 0x10037670
cmp esi, 0x5d
jne 0x10037749
mov ecx, dword [ebp - 0x50]
test dword [ecx + 0x50], 0x2000000
je 0x10037749
neg eax
sbb eax, eax
and eax, 0xffffff76
add eax, 0x97
mov word [ebx], ax
add ebx, 2
cmp dword [ebp - 0x78], 0xfffffffe
mov dword [ebp - 0x4c], ebx
jne 0x1003771e
mov dword [ebp - 0x78], 0xffffffff
mov edx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0xb8], edx
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [ebp - 0xb0], eax
xor ecx, ecx
jmp 0x1003718c
mov esi, dword [ebp - 0x5c]
xor eax, eax
lea ecx, [ebx + 6]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], ecx
cmp esi, eax
je 0x1003a181
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x100377a7
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
cmp edx, eax
jbe 0x100377a7
sub edx, eax
sar edx, 1
add dword [ecx], edx
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0x60], eax
xor ecx, ecx
cmp dword [ebp - 0xac], ecx
je 0x100377d3
cmp esi, 0x5c
jne 0x10037b47
cmp word [edi + 2], 0x45
jne 0x10037b47
mov dword [ebp - 0xac], ecx
add edi, 2
jmp 0x10037ce5
cmp esi, 0x5b
jne 0x1003791f
movzx eax, word [edi + 2]
cmp eax, 0x3a
je 0x100377f3
cmp eax, 0x2e
je 0x100377f3
cmp eax, 0x3d
jne 0x10037b47
lea edx, [ebp - 0xc4]
push edx
push edi
call fcn.10036360
mov edi, dword [ebp - 0x48]
add esp, 8
test eax, eax
je 0x10037b47
cmp word [edi + 2], 0x3a
mov dword [ebp - 0x94], ecx
jne 0x1003a13d
add edi, 4
mov dword [ebp - 0x48], edi
cmp word [edi], 0x5e
jne 0x1003783f
mov eax, 1
add edi, 2
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0xc4]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.100363f0
add esp, 8
test eax, eax
js 0x1003a14b
test byte [ebp - 0x74], 1
je 0x10037868
cmp eax, 2
jg 0x10037868
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 8]
lea eax, [eax + eax*2]
mov esi, dword [eax*4 + 0x10053290]
add esi, edx
mov ecx, 8
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax*4 + 0x10053294]
mov edi, dword [eax*4 + 0x10053298]
test ecx, ecx
js 0x100378bf
xor eax, eax
lea esi, [ecx + edx]
test edi, edi
js 0x100378b0
nop
mov dl, byte [esi + eax]
or byte [ebp + eax - 0x44], dl
inc eax
cmp eax, 0x20
jb 0x100378a0
jmp 0x100378bf
mov cl, byte [esi + eax]
not cl
and byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 0x20
jb 0x100378b0
test edi, edi
jns 0x100378c5
neg edi
cmp edi, 1
jne 0x100378d0
and byte [ebp - 0x43], 0xc3
jmp 0x100378d9
cmp edi, 2
jne 0x100378d9
and byte [ebp - 0x39], 0x7f
xor eax, eax
cmp dword [ebp - 0x94], eax
je 0x100378f5
mov dl, byte [ebp + eax - 0x44]
not dl
or byte [ebp + eax - 0x24], dl
inc eax
cmp eax, 0x20
jb 0x100378e3
jmp 0x10037903
mov cl, byte [ebp + eax - 0x44]
or byte [ebp + eax - 0x24], cl
inc eax
cmp eax, 0x20
jb 0x100378f5
mov edi, dword [ebp - 0xc4]
add edi, 2
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x64], 2
jmp 0x10037ce5
cmp esi, 0x5c
jne 0x10037b47
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x38]
mov esi, dword [ebp - 0x54]
push 1
push edx
push ecx
push esi
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.10034860
add esp, 0x18
cmp dword [esi], 0
jne 0x1003a34b
test eax, eax
jne 0x10037967
mov esi, dword [ebp - 0xe4]
mov edi, dword [ebp - 0x48]
jmp 0x10037b47
cmp eax, 5
jne 0x10037977
mov edi, dword [ebp - 0x48]
lea esi, [eax + 3]
jmp 0x10037b47
cmp eax, 0xc
je 0x1003a159
cmp eax, 0x1a
jne 0x100379ad
mov edi, dword [ebp - 0x48]
cmp word [edi + 2], 0x5c
jne 0x1003799e
cmp word [edi + 4], 0x45
jne 0x1003799e
add edi, 4
jmp 0x10037ce2
mov dword [ebp - 0xac], 1
jmp 0x10037ce2
cmp eax, 0x19
je 0x10037cdf
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 8]
mov edi, 1
add dword [ebp - 0x5c], edi
mov edx, 2
add dword [ebp - 0x64], edx
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x100379d8.12
jmp dword [eax*4 + 0x1003a420]
xor eax, eax
mov dl, byte [ecx + eax + 0x40]
or byte [ebp + eax - 0x24], dl
add eax, edi
cmp eax, 0x20
jb 0x100379e1
jmp 0x10037cdf
mov dword [ebp - 0x70], edi
xor eax, eax
lea ebx, [ebx]
mov dl, byte [ecx + eax + 0x40]
not dl
or byte [ebp + eax - 0x24], dl
add eax, edi
cmp eax, 0x20
jb 0x10037a00
jmp 0x10037cdf
xor eax, eax
jmp 0x10037a20
mov dl, byte [ecx + eax + 0xa0]
or byte [ebp + eax - 0x24], dl
add eax, edi
cmp eax, 0x20
jb 0x10037a20
jmp 0x10037cdf
mov dword [ebp - 0x70], edi
xor eax, eax
lea esp, [esp]
mov dl, byte [ecx + eax + 0xa0]
not dl
or byte [ebp + eax - 0x24], dl
add eax, edi
cmp eax, 0x20
jb 0x10037a40
jmp 0x10037cdf
movzx eax, byte [ecx]
or byte [ebp - 0x24], al
movzx eax, byte [ecx + 1]
and al, 0xf7
or byte [ebp - 0x23], al
mov eax, edx
lea ebx, [ebx]
mov dl, byte [ecx + eax]
or byte [ebp + eax - 0x24], dl
add eax, edi
cmp eax, 0x20
jb 0x10037a70
jmp 0x10037cdf
mov esi, ecx
lea eax, [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x70], edi
sub esi, eax
nop
lea eax, [ebp + edx - 0x24]
mov cl, byte [esi + eax]
not cl
or byte [eax], cl
add edx, edi
cmp edx, 0x20
jb 0x10037a90
or byte [ebp - 0x23], 8
jmp 0x10037cdf
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x74]
push 0x100530a0
push edx
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.10036df0
add esp, 0x14
jmp 0x10037cdf
mov eax, dword [ebp - 0x50]
push 0x100530a0
push eax
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.10036f20
add esp, 0x10
jmp 0x10037cdf
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x74]
push 0x100530f0
push eax
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.10036df0
add esp, 0x14
jmp 0x10037cdf
mov ecx, dword [ebp - 0x50]
push 0x100530f0
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x74]
call fcn.10036f20
add esp, 0x10
jmp 0x10037cdf
test byte [ebp - 0x74], 0x40
jne 0x1003a166
sub dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x48]
sub dword [ebp - 0x64], edx
movzx esi, word [edi]
cmp word [edi + 2], 0x5c
jne 0x10037b70
xor ecx, ecx
lea eax, [ecx + 0x5c]
mov edx, 0x45
cmp word [edi + 4], dx
jne 0x10037b70
add edi, 4
mov dword [ebp - 0x48], edi
mov dword [ebp - 0xac], ecx
cmp word [edi + 2], ax
je 0x10037b58
mov ebx, edi
cmp esi, 0xd
je 0x10037b7c
cmp esi, 0xa
jne 0x10037b88
mov ecx, dword [ebp - 0x50]
or dword [ecx + 0x54], 0x800
jmp 0x10037b8b
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xac]
test edx, edx
jne 0x10037ca7
cmp word [edi + 2], 0x2d
jne 0x10037ca7
add edi, 4
mov dword [ebp - 0x48], edi
cmp word [edi], 0x5c
jne 0x10037c07
mov eax, 0x45
cmp word [edi + 2], ax
jne 0x10037bc9
add edi, 4
mov dword [ebp - 0x48], edi
cmp word [edi], 0x5c
je 0x10037bb5
jmp 0x10037c07
cmp word [edi], 0x5c
jne 0x10037c07
nop
cmp word [edi + 2], 0x51
jne 0x10037c07
add edi, 4
mov dword [ebp - 0x48], edi
cmp word [edi], 0x5c
jne 0x10037bf7
cmp word [edi + 2], ax
jne 0x10037bf7
add edi, 4
mov dword [ebp - 0x48], edi
cmp word [edi], 0x5c
je 0x10037bd0
jmp 0x10037c07
mov dword [ebp - 0xac], 1
mov edx, dword [ebp - 0xac]
movzx eax, word [edi]
test ax, ax
je 0x10037ca2
test edx, edx
jne 0x10037c20
cmp eax, 0x5d
je 0x10037ca2
mov dword [ebp - 0x94], eax
test edx, edx
jne 0x10037c75
cmp eax, 0x5c
jne 0x10037c75
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x38]
mov edi, dword [ebp - 0x54]
push 1
push edx
push eax
push edi
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.10034860
add esp, 0x18
cmp dword [edi], 0
jne 0x1003a34b
mov ecx, dword [ebp - 0x50]
test eax, eax
je 0x10037c6c
cmp eax, 5
jne 0x10037ca2
mov eax, 8
jmp 0x10037c72
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0x48]
cmp eax, esi
jb 0x1003a173
je 0x10037ca7
mov dword [ebp - 0x64], 2
cmp eax, 0xd
je 0x10037c90
cmp eax, 0xa
jne 0x10037c97
or dword [ecx + 0x54], 0x800
push ecx
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x60]
push edx
jmp 0x10037cce
mov edi, ebx
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x64]
cmp eax, 2
jge 0x10037cb3
inc eax
mov dword [ebp - 0x64], eax
cmp eax, 1
jne 0x10037cc3
cmp word [edi + 2], 0x5d
je 0x10037dd5
mov edx, dword [ebp - 0x74]
push ecx
lea eax, [ebp - 0x60]
push edx
push eax
mov eax, esi
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.10036d10
add esp, 0x10
add dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
add edi, 2
mov dword [ebp - 0x48], edi
movzx esi, word [edi]
test esi, esi
je 0x1003a181
cmp esi, 0x5d
jne 0x10037783
cmp dword [ebp - 0xac], 0
jne 0x10037783
mov ecx, dword [ebp - 0x60]
lea eax, [esi - 0x5c]
cmp ecx, dword [ebp - 0x68]
ja 0x10037d1d
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x78], 0xfffffffe
jne 0x10037d2a
mov dword [ebp - 0x78], 0xffffffff
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xb4], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], edx
test eax, eax
je 0x10037e64
cmp dword [ebp - 0x70], 0
jne 0x10037e64
xor eax, eax
mov word [ecx], ax
add ecx, 2
cmp dword [ebp - 0x6c], eax
mov edx, 0x6c
setne al
cmp dword [ebp - 0x5c], 0
mov word [ebx], dx
mov dword [ebp - 0x60], ecx
movzx eax, ax
mov word [ebx + 4], ax
jle 0x10037e54
or eax, 2
mov word [ebx + 4], ax
add ebx, 6
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
lea edx, [ebx + 0x20]
push ebx
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 0x60]
add eax, 0x20
mov ecx, 8
lea esi, [ebp - 0x24]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x58]
sub ecx, eax
add esp, 0xc
sar ecx, 1
mov word [eax + 2], cx
jmp 0x10037e3e
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x8c]
add edi, 2
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xa8], eax
je 0x100372e6
cmp dword [ebp - 0x78], 0xfffffffe
jne 0x10037e0a
mov dword [ebp - 0x78], 0xffffffff
mov ecx, dword [ebp - 0xa4]
test byte [ebp - 0x74], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xb8], ecx
mov ecx, 0
setne cl
mov dword [ebp - 0xb0], edx
add ecx, 0x1f
mov word [eax], cx
mov word [eax + 2], si
add eax, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
add edi, 2
xor ecx, ecx
jmp 0x1003718c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ecx
sub ecx, eax
sar ecx, 1
mov word [eax + 2], cx
jmp 0x10037e3e
mov eax, dword [ebp - 0x6c]
xor edx, edx
cmp eax, dword [ebp - 0x70]
setne dl
add edx, 0x6a
cmp dword [ebp - 0x7c], 0
mov word [ebx], dx
jne 0x10037e9e
test eax, eax
je 0x10037e91
xor eax, eax
mov cl, byte [ebp + eax - 0x24]
not cl
mov byte [ebp + eax - 0x24], cl
inc eax
cmp eax, 0x20
jb 0x10037e81
mov ecx, 8
lea esi, [ebp - 0x24]
lea edi, [ebx + 2]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
add ebx, 0x22
add edi, 2
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
cmp dword [ebp - 0x68], ecx
je case.0x100374cf.1
mov ebx, dword [ebp - 0x54]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x90]
push eax
lea eax, [edi + 2]
mov edi, ebx
call fcn.10034ee0
add esp, 8
cmp dword [ebx], 0
mov edi, eax
mov dword [ebp - 0x48], edi
jne 0x1003a34e
mov ebx, dword [ebp - 0x4c]
jmp 0x10037f23
mov dword [ebp - 0x84], 0xffffffff
jmp 0x10037f1d
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x84], 0xffffffff
jmp 0x10037f23
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x90], ecx
test esi, esi
je 0x1003a18f
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x10037f62
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x8c], edx
sub eax, dword [ebp - 0x84]
mov ecx, esi
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x80], ecx
movzx eax, word [edi + 2]
mov dword [ebp - 0x70], 0
cmp eax, 0x2b
jne 0x10037f9b
xor edx, edx
add edi, 2
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x48], edi
jmp 0x10037fb4
cmp eax, 0x3f
jne 0x10037fae
mov edx, dword [ebp - 0xf8]
add edi, 2
mov dword [ebp - 0x48], edi
jmp 0x10037fb4
mov edx, dword [ebp - 0xfc]
cmp word [esi], 0x6f
mov dword [ebp - 0x60], edx
jne 0x10038022
push 4
lea eax, [esi + 4]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add ebx, 8
add esp, 0xc
cmp dword [ebp - 0x7c], 0
mov dword [esi], 0x4007b
mov dword [esi + 8], 0x40072
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xc0], 6
jne 0x10038019
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x24]
add ecx, 2
cmp eax, ecx
jb 0x10038019
movzx ecx, word [eax - 2]
mov edi, esi
sub edi, dword [edx + 0x14]
add edi, 2
sar edi, 1
cmp ecx, edi
jne 0x10038019
add ecx, 2
mov word [eax - 2], cx
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x48]
movzx eax, word [esi]
cmp eax, 0x1d
je 0x1003878f
cmp eax, 0x1e
je 0x1003878f
cmp eax, 0x1f
je 0x1003878f
cmp eax, 0x20
je 0x1003878f
cmp eax, 0x17
jae 0x1003807a
cmp dword [ebp - 0x70], 0
mov edx, eax
mov dword [ebp - 0x6c], 0x34
mov dword [ebp - 0x5c], edx
jne 0x10038823
cmp dword [ebp - 0x84], 0
jge 0x10038823
mov eax, dword [ebp - 0x74]
push eax
jmp 0x100387fe
cmp eax, 0x6a
je 0x10038706
cmp eax, 0x6b
je 0x10038706
cmp eax, 0x6c
je 0x10038706
cmp eax, 0x6d
je 0x10038706
cmp eax, 0x6e
je 0x10038706
cmp eax, 0x77
jb 0x100386ea
mov edx, 0x81
cmp ax, dx
ja 0x100386ea
mov edx, ebx
sub edx, esi
sar edx, 1
mov dword [ebp - 0x64], edx
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x94], edx
mov edx, 0x81
cmp ax, dx
jne 0x100380eb
mov edx, 0x8b
cmp word [esi + 4], dx
je 0x10038b5a
mov edx, dword [ebp - 0x90]
cmp eax, 0x7b
jae 0x1003811a
test edx, edx
jg 0x10038b5a
mov eax, dword [ebp - 0x84]
test eax, eax
js 0x1003810d
cmp eax, 1
jle 0x10038120
mov eax, 1
mov dword [ebp - 0x84], eax
jmp 0x10038120
mov eax, dword [ebp - 0x84]
test edx, edx
jne 0x10038211
cmp eax, 1
jg 0x100381a1
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x50]
push ecx
push edx
xor eax, eax
push 1
push esi
mov word [ebx], ax
call fcn.10036470
mov eax, dword [ebp - 0x64]
lea ecx, [eax + eax]
push ecx
lea edi, [esi + 2]
push esi
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add ebx, 2
add esp, 0x1c
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0x4c], ebx
jne 0x10038176
mov edx, 0x9b
mov word [esi], dx
jmp 0x10038b57
mov eax, dword [ebp - 0x60]
add eax, 0x8c
dec dword [ebp - 0x84]
mov edx, dword [ebp - 0x84]
mov word [esi], ax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x94], esi
jmp 0x100383a5
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x50]
push edx
push eax
xor ecx, ecx
push 3
push esi
mov word [ebx], cx
call fcn.10036470
mov ecx, dword [ebp - 0x64]
lea edx, [ecx + ecx]
push edx
lea eax, [esi + 6]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
mov ecx, dword [ebp - 0x60]
add ecx, 0x8c
mov word [esi], cx
mov edx, 0x7d
mov word [esi + 2], dx
add esi, 4
xor eax, eax
mov word [esi], ax
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x80]
add ebx, 6
mov dword [ebp - 0x68], esi
add esi, 2
add esp, 0x1c
dec dword [ebp - 0x84]
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], esi
jmp 0x100383a5
cmp edx, 1
jle 0x1003838f
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x1003826e
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0xa0], eax
imul eax, dword [ebp - 0xc0]
fild dword [ebp - 0xa0]
fimul dword [ebp - 0xc0]
mov edx, eax
fcomp qword [0x10057638]
fnstsw ax
test ah, 0x41
je 0x1003a19d
mov eax, dword [esi]
mov ebx, 0x7fffffeb
sub ebx, eax
cmp ebx, edx
jl 0x1003a19d
add edx, eax
mov dword [esi], edx
jmp 0x1003838f
cmp dword [ebp - 0xd4], 0
je 0x10038295
cmp dword [ebp - 0x8c], 0
jge 0x10038295
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x8c], eax
mov eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x90], eax
jle 0x1003838f
mov ecx, dword [ebp - 0x64]
lea edx, [ecx + ecx]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov esi, dword [edi + 0x24]
push eax
push ecx
push edx
call sub.MSVCR100.dll_memcpy
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x10]
mov ecx, esi
sub ecx, dword [ebp - 0x88]
add esp, 0xc
sar ecx, 1
sub edx, ecx
lea ecx, [eax + edx*2 - 0xc8]
cmp dword [edi + 0x24], ecx
jbe 0x1003833f
mov ecx, edi
lea esp, [esp]
mov edx, dword [ebp - 0x88]
sub esi, eax
sub edx, eax
sar esi, 1
sar edx, 1
mov ebx, esi
mov esi, ecx
mov edi, edx
call fcn.10034740
mov edx, dword [ebp - 0x54]
mov dword [edx], eax
test eax, eax
jne 0x1003a34b
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x10]
lea edx, [eax + edi*2]
lea esi, [eax + ebx*2]
mov edi, esi
sub edi, edx
mov dword [ebp - 0x88], edx
mov edx, dword [ecx + 0x34]
sar edi, 1
sub edx, edi
lea edx, [eax + edx*2 - 0xc8]
cmp dword [ecx + 0x24], edx
ja 0x100382f0
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x64]
cmp eax, esi
jae 0x10038367
mov ecx, dword [ebp - 0x50]
nop
mov di, word [eax]
mov ebx, dword [ecx + 0x24]
add di, dx
mov word [ebx], di
add dword [ecx + 0x24], 2
add eax, 2
cmp eax, esi
jb 0x10038350
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + edx*2]
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x6c], eax
cmp eax, dword [ebp - 0x90]
jl 0x100382b2
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
test edx, edx
jle 0x100383a7
sub edx, dword [ebp - 0x90]
mov dword [ebp - 0x84], edx
test edx, edx
js 0x100385ae
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x10038404
test edx, edx
jle 0x10038404
mov eax, dword [ebp - 0xc0]
add eax, 5
mov dword [ebp - 0xa0], eax
imul edx, eax
fild dword [ebp - 0xa0]
fimul dword [ebp - 0x84]
add edx, 0xfffffffc
fcomp qword [0x10057638]
fnstsw ax
test ah, 0x41
je 0x1003a08a
mov eax, dword [esi]
mov ebx, 0x7fffffeb
sub ebx, eax
cmp ebx, edx
jl 0x1003a08a
add edx, eax
mov dword [esi], edx
jmp 0x1003855c
dec edx
mov dword [ebp - 0x6c], edx
js 0x1003855c
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
add edx, 0x8c
lea ecx, [eax + eax]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x5c], ecx
jmp 0x10038430
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov dx, word [ebp - 0xa0]
mov esi, dword [edi + 0x24]
mov word [eax], dx
add eax, 2
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 0x4c], eax
je 0x10038477
mov edx, dword [ebp - 0x68]
mov ecx, 0x7d
mov word [eax], cx
add eax, 2
test edx, edx
jne 0x10038465
xor ecx, ecx
jmp 0x1003846b
mov ecx, eax
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x68], eax
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
push edx
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x10]
mov edx, esi
sub edx, dword [ebp - 0x88]
add esp, 0xc
sar edx, 1
sub ecx, edx
lea edx, [eax + ecx*2 - 0xc8]
cmp dword [edi + 0x24], edx
jbe 0x100384ff
mov ecx, edi
jmp 0x100384b0
mov edx, dword [ebp - 0x88]
sub esi, eax
sub edx, eax
sar esi, 1
sar edx, 1
mov ebx, esi
mov esi, ecx
mov edi, edx
call fcn.10034740
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
test eax, eax
jne 0x1003a34b
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x10]
lea edx, [eax + edi*2]
lea esi, [eax + ebx*2]
mov edi, esi
sub edi, edx
mov dword [ebp - 0x88], edx
mov edx, dword [ecx + 0x34]
sar edi, 1
sub edx, edi
lea edx, [eax + edx*2 - 0xc8]
cmp dword [ecx + 0x24], edx
ja 0x100384b0
mov eax, dword [ebp - 0x88]
cmp eax, esi
jae 0x1003853b
xor ecx, ecx
cmp dword [ebp - 0x6c], ecx
setne cl
lea ecx, [ecx + ecx + 1]
movzx edx, cx
mov ecx, dword [ebp - 0x50]
jmp 0x10038520
mov di, word [eax]
mov ebx, dword [ecx + 0x24]
add di, dx
add di, word [ebp - 0x64]
add eax, 2
mov word [ebx], di
add dword [ecx + 0x24], 2
cmp eax, esi
jb 0x10038520
dec dword [ebp - 0x6c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x64]
lea ecx, [edx + eax*2]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x4c], ecx
jns 0x10038430
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x100388f0
mov ecx, dword [ebp - 0x4c]
lea ebx, [ebx]
mov eax, ecx
sub eax, ebx
sar eax, 1
inc eax
lea esi, [eax + eax]
mov edx, ecx
sub edx, esi
movzx esi, word [edx + 2]
test esi, esi
jne 0x1003858a
xor ebx, ebx
jmp 0x1003858f
neg esi
lea ebx, [ebx + esi*2]
mov esi, 0x72
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 4
mov word [edx + 2], ax
test ebx, ebx
jne 0x10038570
mov dword [ebp - 0x4c], ecx
jmp 0x100388ea
mov ebx, dword [ebp - 0x4c]
movzx ecx, word [ebx - 2]
lea eax, [ebx - 4]
add ecx, ecx
mov esi, eax
sub esi, ecx
movzx ecx, word [esi]
mov dword [ebp - 0x68], eax
cmp ecx, 0x7b
je 0x100385ce
cmp ecx, 0x7c
jne 0x100385de
cmp dword [ebp - 0x70], 0
je 0x100385de
mov edx, 0x7d
mov word [esi], dx
jmp 0x100385f0
cmp ecx, 0x7b
je 0x100386dc
cmp ecx, 0x7c
je 0x100386dc
cmp dword [ebp - 0x7c], 0
jne 0x10038623
mov edi, esi
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x68]
push eax
push 0
push ecx
push edi
call fcn.10035860
add esp, 0x10
test eax, eax
jne 0x1003861f
movzx edx, word [edi + 2]
cmp word [edi + edx*2], 0x71
lea edi, [edi + edx*2]
je 0x100385f8
jmp 0x10038623
add word [esi], 5
cmp dword [ebp - 0x70], 0
je 0x100386cb
movzx eax, word [esi]
mov ecx, 0x81
cmp ax, cx
je 0x10038655
mov edx, 0x86
cmp ax, dx
je 0x10038655
mov ecx, dword [ebp - 0x68]
inc eax
mov word [esi], ax
mov eax, 0x75
mov word [ecx], ax
jmp 0x100386a7
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x50]
push eax
push ecx
mov edi, ebx
xor edx, edx
push 2
sub edi, esi
push esi
sar edi, 1
mov word [ebx], dx
call fcn.10036470
lea edx, [edi + edi]
push edx
lea eax, [esi + 4]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add edi, 2
mov ecx, 0x7e
mov word [esi], cx
mov edx, 0x75
mov word [ebx + 4], dx
mov word [ebx + 6], di
add esp, 0x1c
add ebx, 8
mov dword [ebp - 0x4c], ebx
mov word [esi + 2], di
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x100386b9
mov ecx, 0x8e
mov word [eax], cx
cmp dword [ebp - 0x90], 2
jl 0x10038b57
jmp 0x100388ea
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
add edx, 0x73
mov word [eax], dx
jmp 0x10038b57
mov ecx, dword [ebp - 0x60]
add ecx, 0x73
mov word [eax], cx
jmp 0x100388ea
mov edx, 0x97
cmp ax, dx
je 0x10038b5a
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0xb
jmp 0x1003a34e
mov eax, dword [ebp - 0x84]
test eax, eax
jne 0x10038718
mov dword [ebp - 0x4c], esi
jmp 0x10038b5a
mov ecx, dword [ebp - 0x90]
test ecx, ecx
jne 0x10038738
cmp eax, 0xffffffff
jne 0x10038753
add edx, 0x62
mov word [ebx], dx
add ebx, 2
mov dword [ebp - 0x4c], ebx
jmp 0x100388ea
cmp ecx, 1
jne 0x10038769
cmp eax, 0xffffffff
jne 0x10038769
add edx, 0x64
mov word [ebx], dx
add ebx, 2
mov dword [ebp - 0x4c], ebx
jmp 0x100388ea
cmp eax, 1
jne 0x10038769
add edx, 0x66
mov word [ebx], dx
add ebx, 2
mov dword [ebp - 0x4c], ebx
jmp 0x100388ea
add edx, 0x68
mov word [ebx], dx
mov word [ebx + 2], cx
cmp eax, 0xffffffff
jne 0x10038780
xor eax, eax
mov dword [ebp - 0x84], eax
mov word [ebx + 4], ax
add ebx, 6
mov dword [ebp - 0x4c], ebx
jmp 0x100388ea
mov ecx, eax
sub ecx, 0x1e
je 0x100387b7
dec ecx
je 0x100387ae
dec ecx
je 0x100387a5
mov dword [ebp - 0x6c], 0
jmp 0x100387be
mov dword [ebp - 0x6c], 0x27
jmp 0x100387be
mov dword [ebp - 0x6c], 0x1a
jmp 0x100387be
mov dword [ebp - 0x6c], 0xd
movzx ecx, word [ebx - 2]
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1e
ja 0x100387eb
cmp dword [ebp - 0x90], 1
jle 0x100387eb
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x58]
or eax, dword [ebp - 0xcc]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x70], 0
jne 0x10038823
cmp dword [ebp - 0x84], 0
jge 0x10038823
mov ecx, dword [ebp - 0x74]
push ecx
add edi, 2
push edi
mov edi, dword [ebp - 0x50]
push esi
call fcn.100365a0
add esp, 0xc
test eax, eax
je 0x10038820
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x60], 0
mov edi, dword [ebp - 0x48]
movzx eax, word [esi]
cmp eax, 0x10
je 0x10038838
cmp eax, 0xf
je 0x10038838
or eax, 0xffffffff
mov dword [ebp - 0x68], eax
jmp 0x10038843
movzx edx, word [esi + 2]
movzx eax, word [esi + 4]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x64], eax
mov eax, ebx
mov dword [ebp - 0x4c], esi
test ecx, ecx
je 0x10038b5a
mov ebx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x90]
add ebx, dword [ebp - 0x6c]
test edx, edx
jne 0x100388a1
cmp ecx, 0xffffffff
jne 0x1003887c
add ebx, 0x21
mov word [esi], bx
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x100388da
cmp ecx, 1
jne 0x1003888f
add ebx, 0x25
mov word [esi], bx
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x100388da
add ebx, 0x27
mov word [esi], bx
mov word [esi + 2], cx
add esi, 4
mov dword [ebp - 0x4c], esi
jmp 0x100388da
cmp edx, 1
jne 0x10038927
cmp ecx, 0xffffffff
jne 0x100388bd
add ebx, 0x23
mov word [esi], bx
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x100388da
mov dword [ebp - 0x4c], eax
cmp ecx, 1
je 0x10038b5a
dec ecx
add ebx, 0x27
mov word [eax], bx
mov word [eax + 2], cx
add eax, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov cx, word [ebp - 0x5c]
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x48]
cmp dword [ebp - 0x70], 0
je 0x10038b5a
movzx eax, word [ecx]
cmp eax, 0x5d
jne 0x100389c1
movzx eax, word [ecx + 4]
cmp eax, 0x10
je 0x100389b6
cmp eax, 0xf
je 0x100389b6
xor eax, eax
lea ecx, [ecx + eax*2 + 6]
jmp 0x100389d5
mov eax, dword [ebp - 0x6c]
add eax, 0x29
mov word [esi], ax
lea eax, [esi + 2]
mov word [eax], dx
add eax, 2
mov dword [ebp - 0x4c], eax
test ecx, ecx
jns 0x1003896d
mov cx, word [ebp - 0x5c]
mov word [eax], cx
mov ecx, dword [ebp - 0x68]
add eax, 2
test ecx, ecx
js 0x1003895f
mov dx, word [ebp - 0x64]
mov word [eax], cx
mov word [eax + 2], dx
add eax, 4
add ebx, 0x21
mov word [eax], bx
add eax, 2
jmp 0x100388d7
cmp ecx, edx
je 0x100388da
mov eax, dword [ebp - 0x4c]
mov si, word [ebp - 0x5c]
mov word [eax], si
mov esi, dword [ebp - 0x68]
add eax, 2
test esi, esi
js 0x10038997
mov word [eax], si
mov si, word [ebp - 0x64]
mov word [eax + 2], si
add eax, 4
sub ecx, edx
mov dword [ebp - 0x84], ecx
cmp ecx, 1
jne 0x100388ca
add ebx, 0x25
mov word [eax], bx
add eax, 2
jmp 0x100388d7
mov eax, 2
lea ecx, [ecx + eax*2 + 6]
jmp 0x100389d5
cmp eax, 0x29
je 0x100389cb
cmp eax, 0x43
jne 0x100389d8
movzx eax, byte [eax + 0x10052fd8]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x80], ecx
mov esi, dword [ebp - 0x4c]
sub esi, ecx
sar esi, 1
test esi, esi
jle 0x10038b5a
movzx eax, word [ecx]
add eax, 0xffffffdf
cmp eax, 0x3a
ja case.0x100389fd.34
movzx edx, byte [eax + 0x1003a4b4]
jmp dword [edx*4 + 0x1003a460]
mov eax, 0x2a
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x2b
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x2c
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x2d
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x37
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x38
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x39
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x3a
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x44
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x45
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x46
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x47
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x51
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x52
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x53
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x54
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x5e
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x5f
mov word [ecx], dx
jmp 0x10038b57
mov eax, 0x60
mov word [ecx], ax
jmp 0x10038b57
mov edx, 0x61
mov word [ecx], dx
jmp 0x10038b57
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
push ecx
xor eax, eax
push edx
mov word [edi], ax
mov eax, dword [ebp - 0x80]
push 2
push eax
call fcn.10036470
mov eax, dword [ebp - 0x80]
lea ecx, [esi + esi]
push ecx
push eax
add eax, 4
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 0x80]
mov edx, 0x7b
mov word [eax], dx
add esi, 2
mov ecx, 0x72
mov word [edi + 4], cx
mov word [edi + 6], si
mov edx, dword [ebp - 0x80]
add esp, 0x1c
add edi, 8
mov dword [ebp - 0x4c], edi
mov word [edx + 2], si
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x9c]
or dword [eax + 0x58], ecx
mov dword [ebp - 0x58], 0
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
add edi, 2
xor ecx, ecx
jmp 0x1003718c
mov eax, dword [ebp - 0x74]
add edi, 2
mov dword [ebp - 0xa0], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x48], edi
cmp word [edi], 0x2a
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x60], 0x7f
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x94], ecx
jne 0x10038de6
movzx eax, word [edi + 2]
lea ecx, [edi + 2]
mov dword [ebp - 0x64], ecx
cmp eax, 0x3a
je 0x10038bdf
mov ecx, 0xff
cmp ax, cx
ja 0x10038de6
mov ecx, dword [edx + 0xc]
test byte [eax + ecx], 2
je 0x10038de6
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov esi, 0xff
mov dword [ebp - 0x6c], 0x10053074
cmp ax, si
ja 0x10038c22
mov edx, dword [edx + 0xc]
movzx eax, ax
test byte [eax + edx], 2
je 0x10038c22
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov esi, 0xff
cmp ax, si
jbe 0x10038c06
mov edx, edi
sub edx, ecx
sar edx, 1
cmp word [edi], 0x3a
mov dword [ebp - 0x94], edx
jne 0x10038c6f
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov ecx, edi
mov dword [ebp - 0x60], ecx
test ax, ax
je 0x10038c5b
cmp ax, 0x29
je 0x10038c5b
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
test ax, ax
jne 0x10038c47
mov eax, edi
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x70], eax
cmp eax, 0xffff
ja 0x1003a1ab
cmp word [edi], 0x29
jne 0x1003a1b9
mov dword [ebp - 0x68], 0
mov esi, 0x100531b8
cmp edx, dword [esi]
jne 0x10038ca4
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
call fcn.100415d0
test eax, eax
je 0x10038ccc
mov edx, dword [ebp - 0x94]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x6c]
inc dword [ebp - 0x68]
add esi, 0xc
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x6c], eax
cmp esi, 0x10053224
jl 0x10038c85
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x3c
jmp 0x1003a34e
mov edx, dword [ebp - 0x68]
lea eax, [edx + edx*2]
add eax, eax
mov ecx, dword [eax + eax + 0x100531bc]
add eax, eax
cmp ecx, 0x98
jne 0x10038d44
cmp dword [ebp - 0x70], 0
jne 0x1003a1c7
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x5c], 1
test eax, eax
je 0x10038d19
mov esi, 0x9a
mov word [ebx], si
mov si, word [eax + 4]
mov word [ebx + 2], si
mov eax, dword [eax]
add ebx, 4
test eax, eax
jne 0x10038d00
xor eax, eax
cmp dword [ecx + 0x4c], eax
setg al
add ebx, 2
mov dword [ebp - 0x4c], ebx
add eax, 0x98
cmp dword [ebp - 0x78], 0xfffffffe
movzx eax, ax
mov word [ebx - 2], ax
mov edi, eax
jne 0x10038da8
mov dword [ebp - 0x78], 0xffffffff
jmp 0x10038da8
mov esi, dword [ebp - 0x70]
test esi, esi
jne 0x10038d63
test ecx, ecx
js 0x1003a1d5
movzx eax, cx
mov word [ebx], ax
add ebx, 2
mov edi, eax
mov dword [ebp - 0x4c], ebx
jmp 0x10038da5
cmp dword [eax + 0x100531c0], 0
jl 0x1003a1e3
movzx eax, word [eax + 0x100531c0]
mov edx, dword [ebp - 0x60]
lea ecx, [esi + esi]
mov word [ebx], ax
push ecx
mov word [ebx + 2], si
push edx
add ebx, 4
push ebx
mov edi, eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x68]
lea ebx, [ebx + esi*2]
xor eax, eax
add esp, 0xc
mov word [ebx], ax
add ebx, 2
mov dword [ebp - 0x4c], ebx
mov ecx, dword [ebp - 0x50]
lea eax, [edi - 0x90]
cmp eax, 5
ja case.default.0x10038db3
jmp dword [eax*4 + 0x1003a4f0]
or dword [ecx + 0x54], 0x1000
jmp case.default.0x10038db3
mov dword [ecx + 0x60], 1
mov edi, dword [ebp - 0x48]
cmp edx, 9
jge 0x10038cbe
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
add edi, 2
xor ecx, ecx
jmp 0x1003718c
cmp word [edi], 0x3f
jne 0x1003961c
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
lea ecx, [eax - 0x21]
cmp ecx, 0x5b
ja case.0x10038e0c.34
movzx ecx, byte [ecx + 0x1003a544]
jmp dword [ecx*4 + 0x1003a508]
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
test ax, ax
je 0x10038e35
cmp ax, 0x29
je 0x10038e43
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
test ax, ax
jne 0x10038e21
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x12
jmp 0x1003a34e
cmp word [edi], 0
je 0x10038e35
mov edx, dword [ebp - 0x50]
add edi, 2
xor ecx, ecx
jmp 0x1003718c
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x60], 0x7d
add edi, 2
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x60]
mov word [ebx], ax
mov ecx, dword [edx + 0x58]
mov edi, dword [edx + 0x38]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xc0], 0
cmp eax, 0x79
je 0x100399eb
cmp eax, 0x7a
je 0x100399eb
xor eax, eax
jmp 0x100399f0
mov dword [ebp - 0xc4], edi
cmp word [edi + 2], 0x3f
mov dword [ebp - 0x60], 0x81
jne 0x10038f19
cmp word [edi + 4], 0x43
jne 0x10038ef3
movzx ecx, word [edi + 6]
mov eax, 3
cmp ecx, 0x30
jb 0x10038ee2
cmp cx, 0x39
ja 0x10038ee2
movzx ecx, word [edi + eax*2 + 2]
inc eax
cmp ecx, 0x30
jae 0x10038ed1
cmp word [edi + eax*2], 0x29
jne 0x10038ef3
lea edi, [edi + eax*2 + 2]
mov dword [ebp - 0xc4], edi
cmp word [edi + 2], 0x3f
jne 0x10038f19
movzx eax, word [edi + 4]
cmp eax, 0x3d
je 0x10038e6d
cmp eax, 0x21
je 0x10038e6d
cmp eax, 0x3c
je 0x10038e6d
mov eax, 0x87
mov word [ebx + 4], ax
mov edi, dword [ebp - 0x48]
movzx eax, word [edi + 2]
or esi, 0xffffffff
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x68], esi
cmp eax, 0x52
jne 0x10038f59
cmp word [edi + 4], 0x26
lea ecx, [edi + 4]
jne 0x10038f59
mov dword [ebp - 0x48], ecx
mov ecx, 0x89
mov word [ebx + 4], cx
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x5c], esi
jmp 0x10038f9a
cmp eax, 0x3c
jne 0x10038f6d
add edi, 2
mov dword [ebp - 0x5c], 0x3e
mov dword [ebp - 0x48], edi
jmp 0x10038f9a
cmp eax, 0x27
jne 0x10038f7d
add edi, 2
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x48], edi
jmp 0x10038f9a
mov dword [ebp - 0x5c], 0
cmp eax, 0x2d
je 0x10038f8e
cmp eax, 0x2b
jne 0x10038f9a
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov dword [ebp - 0x68], eax
movzx eax, word [edi + 2]
mov ecx, 0xff
cmp ax, cx
ja 0x1003a24e
mov ecx, dword [edx + 0xc]
test byte [eax + ecx], 0x10
je 0x1003a24e
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
xor ecx, ecx
mov esi, 0xff
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], edi
cmp ax, si
ja 0x1003901c
mov ecx, dword [edx + 0xc]
movzx esi, ax
test byte [ecx + esi], 0x10
mov ecx, dword [ebp - 0x64]
je 0x1003901c
test ecx, ecx
js 0x10039009
cmp ax, 0x30
jb 0x10038fff
cmp ax, 0x39
ja 0x10038fff
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*2 - 0x30]
mov dword [ebp - 0x64], eax
jmp 0x10039006
mov dword [ebp - 0x64], 0xffffffff
mov ecx, dword [ebp - 0x64]
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov esi, 0xff
cmp ax, si
jbe 0x10038fd4
mov eax, edi
sub eax, dword [ebp - 0x58]
sar eax, 1
cmp dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], eax
jle 0x1003903f
mov ax, word [edi]
add edi, 2
mov dword [ebp - 0x48], edi
cmp ax, word [ebp - 0x5c]
jne 0x1003a1f1
mov ax, word [edi]
add edi, 2
mov dword [ebp - 0x48], edi
cmp ax, 0x29
jne 0x1003a1f1
cmp dword [ebp - 0x7c], 0
jne 0x10038e6d
mov eax, dword [ebp - 0x68]
test eax, eax
jle 0x1003909a
test ecx, ecx
jle 0x1003a202
cmp eax, 0x2d
jne 0x1003907d
mov eax, dword [edx + 0x38]
sub eax, ecx
inc eax
mov dword [ebp - 0x64], eax
mov ecx, eax
jmp 0x10039080
add ecx, dword [edx + 0x38]
test ecx, ecx
jle 0x1003a210
cmp ecx, dword [edx + 0x3c]
jg 0x1003a210
mov word [ebx + 6], cx
jmp 0x10038e6d
mov edi, dword [edx + 0x28]
mov edx, dword [edx + 0x2c]
xor esi, esi
mov dword [ebp - 0x68], edx
test edx, edx
jle 0x100390d1
lea esp, [esp]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x58]
lea eax, [edi + 2]
call fcn.10041590
test eax, eax
je 0x100390d1
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x30]
inc esi
lea edi, [edi + ecx*2]
cmp esi, dword [eax + 0x2c]
jl 0x100390b0
cmp esi, dword [ebp - 0x68]
jge 0x100390e9
mov dx, word [edi]
inc word [ebx + 4]
mov word [ebx + 6], dx
mov edx, dword [ebp - 0x50]
jmp 0x10038e6d
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x50]
shr edi, 3
and edi, 1
push eax
call fcn.100353d0
add esp, 4
test eax, eax
jle 0x1003911c
mov ecx, dword [ebp - 0x4c]
inc word [ecx + 4]
mov word [ecx + 6], ax
mov ebx, ecx
mov edx, esi
jmp 0x10038e6d
cmp dword [ebp - 0x5c], 0
jne 0x1003a21e
mov ebx, dword [ebp - 0x58]
cmp word [ebx], 0x52
jne 0x10039185
mov esi, dword [ebp - 0x6c]
xor ecx, ecx
lea eax, [ecx + 1]
cmp esi, eax
jle 0x10039166
jmp 0x10039140
movzx edx, word [ebx + eax*2]
cmp edx, 0x30
jb 0x1003a22c
cmp edx, 0x39
ja 0x1003a22c
inc eax
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2 - 0x30]
cmp eax, esi
jl 0x10039140
test ecx, ecx
jne 0x1003916b
mov ecx, 0xffff
mov eax, dword [ebp - 0x4c]
mov edx, 0x89
mov word [eax + 4], dx
mov edx, dword [ebp - 0x50]
mov word [eax + 6], cx
mov ebx, eax
jmp 0x10038e6d
mov edi, 6
cmp dword [ebp - 0x6c], edi
jne 0x100391d5
mov ecx, ebx
mov esi, str.DEFINE
movzx eax, word [ecx]
movzx edx, byte [esi]
dec edi
add ecx, 2
inc esi
cmp dx, ax
jne 0x100391ac
test edi, edi
jne 0x10039196
jmp 0x100391b8
sbb eax, eax
neg eax
lea eax, [eax + eax - 1]
test eax, eax
jne 0x100391d5
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, 0x8b
mov word [ecx + 4], ax
mov dword [ebp - 0x70], 1
mov ebx, ecx
jmp 0x10038e6d
mov eax, dword [ebp - 0x64]
test eax, eax
jle 0x1003a23a
mov edx, dword [ebp - 0x50]
cmp eax, dword [edx + 0x3c]
jg 0x1003a23a
mov ecx, dword [ebp - 0x4c]
mov word [ecx + 6], ax
mov ebx, ecx
jmp 0x10038e6d
inc dword [edx + 0x4c]
mov dword [ebp - 0x60], 0x77
jmp 0x10038e67
add edi, 2
mov dword [ebp - 0x48], edi
cmp word [edi], 0x29
jne 0x1003923d
mov edx, 0x97
mov word [ebx], dx
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
add ebx, 2
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x58]
add edi, 2
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
inc dword [edx + 0x4c]
mov dword [ebp - 0x60], 0x78
jmp 0x10038e6d
movzx ecx, word [edi + 2]
mov esi, ecx
mov dword [ebp - 0x9c], esi
cmp esi, 0x21
je 0x1003933a
cmp esi, 0x3d
je 0x10039328
mov esi, 0xff
cmp cx, si
ja 0x1003a25f
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x9c]
test byte [esi + ecx], 0x10
je 0x1003a25f
xor ecx, ecx
cmp ax, 0x3c
setne cl
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov esi, 0xff
dec ecx
and ecx, 0x17
add ecx, 0x27
mov dword [ebp - 0x5c], ecx
mov ecx, edi
mov dword [ebp - 0x58], ecx
cmp ax, si
ja 0x100392d5
movzx esi, ax
mov eax, dword [edx + 0xc]
test byte [esi + eax], 0x10
je 0x100392d5
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov esi, 0xff
cmp ax, si
jbe 0x100392b6
mov eax, edi
sub eax, ecx
sar eax, 1
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], eax
je 0x1003942a
mov cx, word [ebp - 0x5c]
cmp word [edi], cx
jne 0x1003a28c
cmp dword [edx + 0x2c], 0x2710
jge 0x1003a29a
lea ecx, [eax + 2]
cmp ecx, dword [edx + 0x30]
jle 0x100395d6
mov dword [edx + 0x30], ecx
cmp eax, 0x20
jle 0x100395d6
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x30
jmp 0x1003a34e
inc dword [edx + 0x4c]
mov dword [ebp - 0x60], 0x79
add edi, 4
jmp 0x10038e6a
inc dword [edx + 0x4c]
mov dword [ebp - 0x60], 0x7a
add edi, 4
jmp 0x10038e6a
mov dword [ebp - 0x60], 0x7b
jmp 0x10038e67
mov eax, 0x70
mov word [ebx], ax
mov edi, dword [ebp - 0x48]
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
xor ecx, ecx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xe0], 1
cmp eax, 0x30
jb 0x100393a1
cmp ax, 0x39
ja 0x100393a1
movzx eax, ax
add edi, 2
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2 - 0x30]
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
cmp eax, 0x30
jae 0x10039383
cmp word [edi], 0x29
jne 0x1003a270
cmp ecx, 0xff
jg 0x1003a27e
mov word [ebx + 2], cx
mov ecx, dword [ebp - 0x48]
sub ecx, dword [edx + 0x18]
xor edx, edx
sar ecx, 1
inc ecx
mov word [ebx + 4], cx
mov word [ebx + 6], dx
mov edi, dword [ebp - 0x48]
add ebx, 8
mov dword [ebp - 0x58], edx
mov esi, edx
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
cmp eax, 0x3d
je 0x10039413
cmp eax, 0x3e
je 0x10039413
cmp eax, 0x3c
je case.0x10038e0c.39
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x29
jmp 0x1003a34e
xor ecx, ecx
cmp eax, 0x3e
sete cl
mov dword [ebp - 0x5c], 0x29
mov dword [ebp - 0x6c], ecx
jmp 0x10039d11
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x2c]
mov esi, dword [eax + 0x28]
xor edx, edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], ecx
cmp ecx, edx
jle 0x10039558
lea esp, [esp]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
add ecx, ecx
lea edx, [esi + 2]
mov dword [ebp - 0x64], eax
cmp ecx, 4
jb 0x1003947b
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x1003947f
add dword [ebp - 0x64], 4
sub ecx, 4
add edx, 4
cmp ecx, 4
jae 0x10039463
test ecx, ecx
je 0x100394d4
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
movzx esi, byte [edx]
sub eax, esi
jne 0x100394c6
cmp ecx, 1
jbe 0x100394d1
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 1]
movzx esi, byte [edx + 1]
sub eax, esi
jne 0x100394c6
cmp ecx, 2
jbe 0x100394d1
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 2]
movzx esi, byte [edx + 2]
sub eax, esi
jne 0x100394c6
cmp ecx, 3
jbe 0x100394d1
mov ecx, dword [ebp - 0x64]
movzx eax, byte [ecx + 3]
movzx edx, byte [edx + 3]
sub eax, edx
mov esi, dword [ebp - 0x5c]
sar eax, 0x1f
or eax, 1
jmp 0x100394d6
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [ebp - 0x50]
test eax, eax
jne 0x1003950c
mov eax, dword [ebp - 0x6c]
cmp word [esi + eax*2 + 2], 0
jne 0x10039529
mov edx, dword [ecx + 0x38]
movzx eax, word [esi]
inc edx
cmp eax, edx
je 0x10039500
test dword [ebp - 0x74], 0x80000
je 0x1003a2a8
mov dword [ebp - 0x9c], 1
jmp 0x1003950e
js 0x10039529
mov eax, dword [ebp - 0x70]
mov edx, dword [ecx + 0x30]
inc eax
lea esi, [esi + edx*2]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x70], eax
cmp eax, dword [ecx + 0x2c]
jl 0x10039450
jmp 0x1003954c
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
imul eax, ecx
add eax, eax
push eax
lea ecx, [esi + ecx*2]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
mov edi, dword [ebp - 0x48]
add esp, 0xc
cmp dword [ebp - 0x9c], 0
jne 0x100395a6
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x2c], 0
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x70], 0
jle 0x100395a6
mov edi, edi
cmp ecx, esi
je 0x1003958b
mov edx, dword [eax + 0x38]
movzx ecx, word [ecx]
inc edx
cmp ecx, edx
je 0x1003a2b6
mov ecx, dword [ebp - 0x9c]
jmp 0x1003958e
dec dword [ebp - 0x70]
mov edx, dword [eax + 0x30]
lea ecx, [ecx + edx*2]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x70], edx
cmp edx, dword [eax + 0x2c]
jl 0x10039570
mov eax, dword [ebp - 0x50]
mov cx, word [eax + 0x38]
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
inc cx
lea edx, [edi + edi]
push edx
mov word [esi], cx
push eax
lea ecx, [esi + 2]
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor edx, edx
mov word [esi + edi*2 + 2], dx
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
inc dword [edx + 0x2c]
add edi, 2
mov dword [ebp - 0x48], edi
mov eax, 1
add dword [edx + 0x38], eax
mov cx, word [edx + 0x38]
mov word [ebx + 4], cx
mov dword [ebp - 0x70], eax
jmp 0x10038e6d
mov dword [ebp - 0x5c], 0x29
mov dword [ebp - 0x6c], 1
jmp 0x10039d11
add edi, 2
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x5c], 0x29
jmp 0x10039820
test dword [ebp - 0x74], 0x1000
je 0x100395df
mov dword [ebp - 0x60], 0x7d
jmp 0x10038e6d
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x38]
push 0
push edx
push ecx
mov dword [ebp - 0xc4], edi
mov edi, dword [ebp - 0x54]
push edi
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.10034860
add esp, 0x18
cmp dword [edi], 0
jne 0x1003a34b
xor edx, edx
cmp eax, edx
jne 0x10039676
mov si, word [ebp - 0xe4]
jmp 0x100372e3
cmp eax, 0x1a
jne 0x100396b9
mov edi, dword [ebp - 0x48]
cmp word [edi + 2], 0x5c
jne 0x1003969f
cmp word [edi + 4], 0x45
jne 0x1003969f
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add edi, 4
add edi, 2
xor ecx, ecx
jmp 0x1003718c
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [ebp - 0xac], 1
xor ecx, ecx
jmp 0x1003718c
cmp eax, 0x19
je 0x1003a069
cmp dword [ebp - 0x78], 0xfffffffe
jne 0x100396d7
lea ecx, [eax - 6]
cmp ecx, 0x10
ja 0x100396d7
mov dword [ebp - 0x78], 0xffffffff
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], ecx
cmp eax, 0x1b
jne 0x10039caa
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x24]
mov edi, dword [ebp - 0x48]
add edi, 2
mov dword [ebp - 0x88], ecx
xor ecx, ecx
mov dword [ebp - 0x48], edi
cmp word [edi], 0x3c
movzx eax, word [edi + 2]
setne cl
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x94], edx
dec ecx
and ecx, 0x17
add ecx, 0x27
mov dword [ebp - 0x5c], ecx
cmp eax, 0x2b
je 0x100397db
cmp eax, 0x2d
je 0x100397db
movzx eax, word [edi + 2]
lea edx, [edi + 2]
mov dword [ebp - 0x68], 1
test ax, ax
je 0x100397a7
cmp ax, word [ebp - 0x5c]
je 0x100397c9
mov ecx, 0xff
cmp ax, cx
ja 0x100397a0
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0xc]
movzx eax, ax
mov al, byte [eax + ecx]
test al, 4
jne 0x1003978e
mov dword [ebp - 0x68], 0
test al, 0x10
je 0x100397a7
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x10039767
jmp 0x100397a7
mov dword [ebp - 0x68], 0
mov dx, word [edx]
cmp dx, word [ebp - 0x5c]
je 0x100397c9
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [eax], 0x39
xor ecx, ecx
jmp 0x1003718c
cmp dword [ebp - 0x68], 0
jne 0x10039817
mov dword [ebp - 0x6c], 1
jmp 0x10039d0e
movzx eax, word [edi + 4]
lea edx, [edi + 4]
cmp eax, 0x30
jb 0x100397f9
cmp ax, 0x39
ja 0x100397f9
movzx eax, word [edx + 2]
add edx, 2
cmp eax, 0x30
jae 0x100397e7
cmp word [edx], cx
je 0x10039817
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov dword [ecx], 0x39
add edi, 2
xor ecx, ecx
jmp 0x1003718c
mov ebx, dword [ebp - 0x4c]
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov ecx, eax
cmp ecx, 0x2b
jne 0x100398b0
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
cmp eax, 0x30
jb 0x1003a2c4
cmp eax, 0x39
ja 0x1003a2c4
movzx eax, word [edi]
xor ebx, ebx
cmp eax, 0x30
jb 0x10039871
cmp ax, 0x39
ja 0x10039871
movzx eax, ax
add edi, 2
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2 - 0x30]
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
cmp eax, 0x30
jae 0x10039853
mov dx, word [ebp - 0x5c]
cmp word [edi], dx
jne 0x1003a301
cmp ecx, 0x2d
jne 0x10039c8e
test ebx, ebx
je 0x1003a30c
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x38]
sub ecx, ebx
lea ebx, [ecx + 1]
test ebx, ebx
jg 0x10039e1e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0xf
jmp 0x1003a34e
cmp ecx, 0x2d
jne 0x10039849
movzx edx, word [edi + 2]
cmp edx, 0x30
jb case.0x10038e0c.34
cmp edx, 0x39
ja case.0x10038e0c.34
add edi, 2
mov dword [ebp - 0x48], edi
jmp 0x10039849
mov edx, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x9c], esi
lea ecx, [ebp - 0x9c]
cmp ax, 0x29
je 0x10039952
cmp ax, 0x3a
je 0x1003994c
movzx eax, ax
add edi, 2
sub eax, 0x2d
mov dword [ebp - 0x48], edi
cmp eax, 0x4b
ja case.0x1003990a.46
movzx eax, byte [eax + 0x1003a5c4]
jmp dword [eax*4 + 0x1003a5a0]
lea ecx, [ebp - 0x68]
jmp 0x10039944
or dword [ecx], 0x80000
or dword [edx + 0x54], 0x400
jmp 0x10039944
or dword [ecx], 1
jmp 0x10039944
or dword [ecx], 2
jmp 0x10039944
or dword [ecx], 4
jmp 0x10039944
or dword [ecx], 8
jmp 0x10039944
or dword [ecx], 0x200
jmp 0x10039944
or dword [ecx], 0x40
movzx eax, word [edi]
cmp eax, 0x29
jne 0x100398e8
mov esi, dword [ebp - 0x9c]
or esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
not ecx
and ecx, esi
cmp word [edi], 0x29
mov dword [ebp - 0xa0], ecx
jne case.0x10038e0c.58
mov eax, dword [edx + 0x14]
add eax, 4
cmp ebx, eax
jne 0x100399a7
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x10039982
cmp dword [eax], 4
jne 0x100399a7
mov dword [edx + 0x50], ecx
mov edx, dword [ebp - 0x114]
mov dword [edx], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x74], ecx
add edi, 2
xor ecx, ecx
jmp 0x1003718c
mov edx, dword [ebp - 0x114]
mov eax, ecx
shr eax, 9
and eax, 1
mov dword [ebp - 0xfc], eax
xor eax, 1
mov dword [ebp - 0xf8], eax
mov eax, ecx
and eax, 1
mov dword [edx], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x74], ecx
add edi, 2
mov dword [ebp - 0xcc], eax
xor ecx, ecx
jmp 0x1003718c
mov eax, 1
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x60]
neg edx
sbb edx, edx
lea ecx, [ebp - 0xc0]
and edx, ecx
mov ecx, dword [ebp - 0xf4]
push edx
mov edx, dword [ebp - 0x50]
push edx
push ecx
lea edx, [ebp - 0xc8]
push edx
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xd0]
push edx
xor edx, edx
cmp esi, 0x81
sete dl
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0x70]
add edx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp - 0x94]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x80]
push edx
push eax
call fcn.1003a610
add esp, 0x3c
test eax, eax
je 0x1003a34b
cmp esi, 0x7b
jne 0x10039af5
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
cmp dword [ecx + 0x38], edi
ja 0x10039a84
mov edx, 0x7c
mov word [ebx], dx
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x48]
cmp word [edi], 0x29
jne 0x1003a2f6
cmp dword [ebp - 0x7c], 0
je 0x10039b76
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0xc0]
mov edx, 0x7fffffeb
sub edx, eax
lea esi, [ecx - 4]
cmp edx, esi
jl 0x1003a08a
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
lea eax, [eax + ecx - 4]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov ecx, 2
mov dword [ebx + 2], 0x720002
mov word [ebx + 6], cx
mov edi, dword [ebp - 0x48]
add ebx, 8
add edi, ecx
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
cmp esi, 0x77
jl 0x10039b05
cmp esi, 0x7a
jg 0x10039b05
mov eax, dword [ebp - 0x50]
dec dword [eax + 0x4c]
mov ebx, dword [ebp - 0x4c]
cmp esi, 0x81
jne 0x10039a84
cmp dword [ebp - 0x7c], 0
jne 0x10039a84
mov eax, ebx
xor ecx, ecx
movzx edx, word [eax + 2]
lea eax, [eax + edx*2]
inc ecx
cmp word [eax], 0x72
jne 0x10039b22
mov eax, 0x8b
cmp word [ebx + 4], ax
jne 0x10039b4e
cmp ecx, 1
jg 0x1003a2e0
mov dword [ebp - 0x60], eax
mov esi, eax
jmp 0x10039a84
cmp ecx, 2
jg 0x1003a2eb
cmp ecx, 1
jne 0x10039a84
or edx, 0xffffffff
or eax, edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xd0], eax
jmp 0x10039a90
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x4c], ecx
cmp esi, 0x8b
je 0x10038b6d
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xd4], 0
cmp esi, 0x7b
jl 0x10039c58
cmp ecx, 0xfffffffe
jne 0x10039c09
test eax, eax
js 0x10039bf6
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0xb0], 0xffffffff
jmp 0x10039c2b
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0xb0], 0xffffffff
jmp 0x10039c2b
test eax, eax
js 0x10039c2b
test edx, edx
jns 0x10039c33
mov edx, dword [ebp - 0xec]
or eax, dword [ebp - 0x9c]
mov dword [ebp - 0xdc], edx
mov edx, eax
mov dword [ebp - 0xc8], edx
test edx, edx
js 0x10038b6d
mov eax, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [ebp - 0x98], eax
xor ecx, ecx
jmp 0x1003718c
cmp esi, 0x77
jne 0x10038b6d
test edx, edx
js 0x10038b6d
mov ecx, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x50]
add edi, 2
xor ecx, ecx
jmp 0x1003718c
cmp ecx, 0x2b
jne 0x10039e1e
test ebx, ebx
je 0x1003a202
mov edx, dword [ebp - 0x50]
add ebx, dword [edx + 0x38]
jmp 0x10039e1e
cmp eax, 0x1c
jne 0x10039f18
mov edi, dword [ebp - 0x48]
movzx eax, word [edi + 2]
cmp eax, 0x3c
je 0x10039ce2
cmp eax, 0x27
je 0x10039ce2
cmp eax, 0x7b
je 0x10039ce2
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [eax], 0x45
xor ecx, ecx
jmp 0x1003718c
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov dword [ebp - 0x6c], edx
cmp eax, 0x3c
jne 0x10039cfc
mov dword [ebp - 0x5c], 0x3e
jmp 0x10039d0e
xor ecx, ecx
cmp eax, 0x27
setne cl
dec ecx
and ecx, 0xffffffaa
add ecx, 0x7d
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x50]
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov esi, 0xff
mov ecx, edi
mov dword [ebp - 0x58], ecx
cmp ax, si
ja 0x10039d4c
mov esi, dword [edx + 0xc]
lea esp, [esp]
movzx eax, ax
test byte [eax + esi], 0x10
je 0x10039d4c
add edi, 2
mov dword [ebp - 0x48], edi
movzx eax, word [edi]
mov ebx, 0xff
cmp ax, bx
jbe 0x10039d30
mov ebx, edi
sub ebx, ecx
sar ebx, 1
cmp dword [ebp - 0x7c], 0
je 0x10039db2
test ebx, ebx
je 0x1003a317
mov cx, word [ebp - 0x5c]
cmp word [edi], cx
jne 0x1003a322
cmp ebx, 0x20
jg 0x1003931a
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x1c]
mov esi, dword [ebp - 0x50]
mov dword [eax + 0x1c], edi
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x58]
shr edi, 3
and edi, 1
push eax
mov dword [ebp - 0xa0], edx
call fcn.100353d0
mov ecx, dword [ebp - 0xa0]
mov ebx, eax
add esp, 4
mov edx, esi
mov dword [edx + 0x1c], ecx
test ebx, ebx
jns 0x10039e14
xor ebx, ebx
jmp 0x10039e14
mov edi, dword [edx + 0x28]
mov edx, dword [edx + 0x2c]
xor esi, esi
mov dword [ebp - 0x68], edx
test edx, edx
jle 0x10039de8
mov edx, dword [ebp - 0x58]
lea eax, [edi + 2]
mov ecx, ebx
call fcn.10041590
test eax, eax
jne 0x10039dd9
cmp word [edi + ebx*2 + 2], ax
je 0x10039de8
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x30]
inc esi
lea edi, [edi + ecx*2]
cmp esi, dword [eax + 0x2c]
jl 0x10039dc1
cmp esi, dword [ebp - 0x68]
jge 0x10039df2
movzx ebx, word [edi]
jmp 0x10039e14
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x50]
shr edi, 3
and edi, 1
push edx
call fcn.100353d0
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x1003a32d
cmp dword [ebp - 0x6c], 0
je 0x10039f24
cmp dword [ebp - 0x7c], 0
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x58], esi
jne 0x10039ede
xor ecx, ecx
mov word [esi], cx
test ebx, ebx
je 0x10039e4e
mov edx, eax
mov eax, dword [edx + 0x14]
mov esi, ebx
call fcn.10035740
mov esi, dword [ebp - 0x4c]
mov edi, eax
test edi, edi
jne 0x10039eb4
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x50]
shr edi, 3
and edi, 1
push 0
call fcn.100353d0
add esp, 4
test eax, eax
js 0x1003a21e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x10]
lea edi, [eax + ebx*2]
lea eax, [edx + ecx*2 - 0xc8]
cmp dword [esi + 0x24], eax
jb 0x10039e9a
call fcn.10034740
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
test eax, eax
jne 0x1003a34b
mov edx, dword [ebp - 0x4c]
sub edx, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
add edx, 2
sar edx, 1
mov word [eax], dx
add dword [esi + 0x24], 2
mov esi, dword [ebp - 0x4c]
jmp 0x10039ede
cmp word [edi + 2], 0
jne 0x10039ede
cmp dword [ebp + 0x24], 0
jg 0x10039ede
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xf4]
push ecx
push edx
push esi
push edi
call fcn.10035dd0
add esp, 0x10
test eax, eax
jne 0x1003a338
mov ecx, dword [ebp - 0x50]
mov eax, 0x6f
mov word [esi], ax
sub edi, dword [ecx + 0x14]
add esi, 4
sar edi, 1
cmp dword [ebp - 0x78], 0xfffffffe
mov word [esi - 2], di
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0xd4], 0
jne 0x10037e3e
mov dword [ebp - 0x78], 0xffffffff
jmp 0x10037e3e
cmp eax, edx
jge 0x10039fa1
neg eax
mov ebx, eax
cmp dword [ebp - 0x78], 0xfffffffe
jne 0x10039f31
mov dword [ebp - 0x78], 0xffffffff
test byte [ebp - 0x74], 1
mov eax, dword [ebp - 0x4c]
mov edx, 0
setne dl
mov dword [ebp - 0x58], eax
add eax, 4
mov dword [ebp - 0x4c], eax
add edx, 0x6d
mov word [eax - 4], dx
mov word [eax - 2], bx
mov eax, 1
cmp ebx, 0x20
jge 0x10039f62
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x50]
or dword [ecx + 0x48], eax
cmp ebx, dword [ecx + 0x44]
jle 0x10039f70
mov dword [ecx + 0x44], ebx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x10037e3e
jmp 0x10039f80
movzx ecx, word [eax + 4]
cmp ecx, ebx
je 0x10039f93
mov eax, dword [eax]
test eax, eax
jne 0x10039f80
jmp 0x10037e3e
mov edx, 1
mov word [eax + 6], dx
jmp 0x10037e3e
cmp eax, 0x16
je 0x1003a343
cmp eax, 0xf
je 0x1003a343
cmp eax, 0x10
je 0x1003a343
cmp eax, 5
je 0x10039fcb
cmp eax, 4
je 0x10039fcb
cmp eax, 1
jne 0x10039fda
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x40], edx
jne 0x10039fda
mov dword [ecx + 0x40], 1
mov ebx, dword [ebp - 0x4c]
lea ecx, [eax - 6]
mov edx, 0x10
cmp edx, ecx
sbb ecx, ecx
not ecx
and ecx, ebx
mov dword [ebp - 0x58], ecx
cmp eax, 0xe
jne 0x10039ffa
mov eax, 0xd
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov word [ebx], ax
mov edi, dword [ebp - 0x48]
add ebx, 2
add edi, 2
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
jmp 0x1003718c
mov ecx, dword [ecx + 0x58]
or ecx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xa4]
movzx eax, word [eax - 2]
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xb4], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], esi
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x8c], ecx
add edi, 2
mov dword [ebp - 0x98], eax
xor ecx, ecx
jmp 0x1003718c
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add edi, 2
xor ecx, ecx
jmp 0x1003718c
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x34
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x14
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x34
jmp 0x1003a34e
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xa4]
mov dword [edx], eax
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x78]
mov dword [edx], eax
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x98]
mov dword [edx], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x8c]
mov dword [edx], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xf0]
mov dword [edx], ebx
mov dword [eax], edi
cmp dword [ebp - 0x7c], ecx
je 0x1003a10c
sub ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx]
mov edx, 0x7fffffeb
sar ebx, 1
sub edx, eax
cmp edx, ebx
jl 0x1003a08a
add eax, ebx
mov dword [ecx], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045a28
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x54]
xor edx, edx
cmp word [edi + 2], 0x3a
setne dl
dec edx
and edx, 0xffffffee
add edx, 0x1f
mov dword [eax], edx
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x1f
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x1e
jmp 0x1003a34e
mov eax, esi
mov dword [eax], 0x47
jmp 0x1003a34b
mov ecx, esi
mov dword [ecx], 7
jmp 0x1003a34b
mov edx, dword [ebp - 0x54]
mov dword [edx], 8
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 6
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 9
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x14
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x4b
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x3c
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x3b
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x42
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x3b
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
sub edi, 2
mov dword [eax], 0x1a
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x3a
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0xf
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0xf
jmp 0x1003a34b
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0xf
jmp 0x1003a34b
mov edx, dword [ebp - 0x54]
neg eax
sbb eax, eax
and eax, 0xffffffec
add eax, 0x23
mov dword [edx], eax
jmp 0x1003a34b
mov eax, dword [ebp - 0x54]
add edi, 2
mov dword [eax], 0x1c
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
add edi, 2
mov dword [ecx], 0x18
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x27
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x26
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x2a
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x31
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x2b
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x41
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x3f
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0xc
sub edi, 2
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x36
jmp 0x1003a34b
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x1b
jmp 0x1003a34b
mov edx, dword [ebp - 0x54]
mov dword [edx], 0xe
jmp 0x1003a34e
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x1d
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x3a
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0x3e
jmp 0x1003a34e
mov eax, dword [ebp - 0x54]
mov dword [eax], 0x2a
jmp 0x1003a34e
mov edx, dword [ebp - 0x54]
mov dword [edx], 0xf
jmp 0x1003a34b
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0x28
jmp 0x1003a34b
mov edx, edi
mov dword [edx], 0x2d
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10045a28
mov esp, ebp
pop ebp
ret