Function at 0x1194e80
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x4184
call fcn.011972f0
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp dword [esi + 0x2274], eax
push edi
mov ebx, ecx
jg 0x1194eb7
jl 0x1194eab
cmp dword [esi + 0x2270], eax
jae 0x1194eb7
mov dword [esi + 0x2270], eax
mov dword [esi + 0x2274], eax
cmp dword [esi + 0x227c], eax
jg 0x1194ed5
jl 0x1194ec9
cmp dword [esi + 0x2278], eax
jae 0x1194ed5
mov dword [esi + 0x2278], eax
mov dword [esi + 0x227c], eax
mov ecx, dword [ebx + 8]
movzx edi, word [ecx + 0x93ca]
mov dword [ebp - 0xc], edi
cmp dword [ebp + 0xc], eax
jne 0x1194f13
cmp byte [ebx + 0x57], al
je 0x1194f08
push edi
push eax
lea edx, [ebx + 0x10]
push edx
push esi
call fcn.0118da70
test al, al
jne 0x1194f13
push 1
mov ecx, 0x11a3474
call fcn.01173a60
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x1114]
cmp eax, 2
je 0x1194fd1
cmp eax, 0x77
jne 0x1194f65
cmp byte [ebx + 0x10ed], 0
je 0x1194f41
mov ecx, dword [ebx + 8]
lea eax, [ebx + 0x10ee]
push eax
push esi
push ecx
call fcn.01194d80
mov ecx, dword [esi + 0x5c8c]
mov eax, dword [esi]
mov edx, dword [esi + 0x5c88]
mov eax, dword [eax + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 3
jne 0x1194f86
cmp byte [ebx + 0x10ed], 0
je 0x1194f41
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x10ee]
push edx
push esi
push eax
call fcn.01194de0
jmp 0x1194f41
cmp eax, 5
jne 0x1194f41
cmp byte [esi + 0x3544], 0
je 0x1194f08
push edi
push 0
add ebx, 0x10
push ebx
push esi
call fcn.0118da70
test al, al
je 0x1194efc
mov eax, dword [esi + 0x5c84]
mov ecx, dword [esi + 0x5c80]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
push 0
push eax
push ecx
mov ecx, esi
call edx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 8]
mov byte [ebx + 0x10ed], 0
cmp dword [ecx + 0x6160], 0
jne 0x1194fff
mov edx, dword [ebx + 0xe4]
cmp edx, dword [ecx + 0xb400]
jb 0x1194fff
cmp byte [ebx + 0xe9], 0
jne 0x1194f08
push 0x800
lea eax, [ebp - 0x4184]
push eax
push 5
lea edx, [ebp + 0xf]
push edx
lea eax, [esi + 0x1228]
push eax
mov byte [ebp + 0xf], 0
call fcn.0118c170
test eax, eax
mov eax, dword [ebx + 8]
setne byte [ebp - 2]
cmp dword [eax + 0x615c], 2
jne 0x119509a
push 0x7ff
lea ecx, [ebp - 0x4184]
lea edi, [eax + 0x4028]
push ecx
push edi
call dword [sym.imp.msvcrt.dll_wcsncpy]
xor edx, edx
mov word [edi + 0xffe], dx
mov eax, dword [ebx + 8]
add esp, 0xc
add eax, 0x4028
push eax
call fcn.01178bc0
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 8]
add eax, 0x4028
je 0x119509a
push 0x10240c8
push eax
call dword [sym.imp.msvcrt.dll_wcspbrk]
add esp, 8
neg eax
sbb eax, eax
neg eax
test al, al
je 0x119509a
mov edx, dword [ebx + 8]
xor eax, eax
mov word [edx + 0x4028], ax
cmp byte [ebp - 2], 0
je 0x11950ad
cmp byte [ebp + 0xf], 0
jne 0x11950ad
mov byte [ebx + 0xe9], 0
cmp dword [esi + 0x2314], 0
je 0x11950cd
movzx ecx, byte [esi + 0x2309]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff0
add ecx, 0x20
mov dword [esi + 0x1244], ecx
lea edx, [ebp - 0x3184]
push edx
lea eax, [esi + 0x1248]
push eax
call fcn.01178c20
mov edi, dword [ebx + 8]
cmp byte [edi + 0x619f], 0
jne 0x11950f8
lea ecx, [ebp - 0x3184]
push ecx
call fcn.011741d0
cmp byte [esi + 0x230b], 0
je 0x119515b
mov edi, dword [edi + 0x738c]
cmp edi, 1
je 0x1195171
cmp byte [ebp + 0xf], 0
jne 0x1195171
test edi, edi
jne 0x119511a
mov byte [ebp - 2], 0
lea edx, [ebp - 0x3184]
push 0x3b
push edx
xor edi, edi
call dword [sym.imp.msvcrt.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x119513d
add eax, 2
push eax
call fcn.011768b0
mov edi, eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x738c]
dec ecx
cmp ecx, edi
jne 0x119516d
push 1
lea edx, [ebp - 0x3184]
push edx
call fcn.0117fab0
jmp 0x1195171
cmp byte [esi + 0x2309], 0
jne 0x1195171
cmp dword [edi + 0x738c], 1
jbe 0x1195171
mov byte [ebp - 2], 0
mov al, byte [esi + 0x22b1]
mov byte [ebx + 0x57], al
mov byte [ebx + 0x58], 0
mov eax, dword [esi + 0x5c88]
sub eax, dword [esi + 0x2270]
mov ecx, dword [esi + 0x5c8c]
sbb ecx, dword [esi + 0x2274]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
push 0
push ecx
push eax
mov ecx, esi
call edx
cmp byte [ebx + 0xe8], 0
mov al, byte [ebp - 2]
mov byte [ebp + 0xf], 0
mov byte [ebp - 1], 0
je 0x11951f2
test al, al
jne 0x11951c3
cmp byte [esi + 0x5c94], al
je 0x11951f2
cmp byte [esi + 0x22b0], 0
je 0x11951f2
test al, al
je 0x11951ed
mov eax, dword [ebx + 8]
mov dword [eax + 0x93a8], 0xc
inc dword [0x11a3478]
mov dword [0x11a3474], 6
xor al, al
mov byte [ebp - 2], al
mov byte [ebx + 0xe8], 0
test al, al
jne 0x119520e
mov al, byte [esi + 0x5c94]
mov byte [ebp - 1], al
test al, al
je 0x1195b5d
push 0x800
lea edi, [ebx + 0x10ee]
push edi
lea ecx, [ebp - 0x3184]
push ecx
push esi
mov ecx, ebx
mov dword [ebp - 0x10], edi
call fcn.011802d0
cmp byte [ebp - 1], 0
jne 0x1195245
cmp word [edi], 0
je 0x1195245
cmp byte [esi + 0x22b0], 0
mov byte [ebp + 0xf], 1
je 0x1195249
mov byte [ebp + 0xf], 0
mov eax, dword [ebx + 8]
cmp byte [eax + 0x6157], 0
jne 0x119525e
cmp byte [eax + 0x6158], 0
je 0x11952ca
mov eax, dword [ebp - 0xc]
cmp ax, 0x45
je 0x119526d
cmp ax, 0x58
jne 0x11952ca
lea ecx, [ebp - 0x2184]
call fcn.011783e0
push 0
lea edx, [ebp - 0x2184]
push edx
push edi
call fcn.01189350
test al, al
je 0x11952ba
lea eax, [esi + 0x2258]
push eax
lea ecx, [ebp - 0x1174]
call fcn.01171920
test al, al
je 0x11952ca
cmp byte [ebp - 0x1178], 0
je 0x11952c6
push ebx
lea ecx, [ebp - 0x1174]
call fcn.011718f0
test al, al
jmp 0x11952c4
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x6157], 0
je 0x11952ca
mov byte [ebp + 0xf], 0
cmp byte [esi + 0x22b3], 0
je 0x119531d
mov ecx, ebx
call fcn.01180520
test al, al
jne 0x11952f4
mov edx, dword [ebx + 8]
pop edi
pop esi
mov dword [edx + 0x93a8], 0x16
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 8]
cmp byte [eax + 0x5128], 0
jne 0x119531d
push 1
mov ecx, 0x11a3474
call fcn.01173a60
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x93a8], 0x16
mov byte [ebp + 0xf], 0
mov eax, dword [ebx + 8]
add eax, 0x83a4
cmp word [eax], 0
je 0x1195344
push 0x7ff
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
xor edx, edx
mov word [edi + 0xffe], dx
lea eax, [ebp - 0x3184]
push eax
push esi
mov ecx, ebx
call fcn.0117a7d0
test al, al
jne 0x119538b
push 2
mov ecx, 0x11a3474
call fcn.01173a60
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x93a8], 0xe
mov ecx, esi
call fcn.01171b60
xor eax, eax
cmp byte [esi + 0x5c94], al
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebx + 8]
mov eax, dword [ebp + 8]
add esi, 0x5028
mov ecx, 0x40
lea edi, [ebp - 0x118]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x118]
push edx
push eax
mov ecx, ebx
movsw word es:[edi], word [esi]
call fcn.01180660
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x22b3], 0
mov esi, ecx
je 0x1195427
cmp byte [esi + 0x22d9], 0
je 0x1195427
lea eax, [ebp - 0x14]
lea edx, [esi + 0x22da]
mov edi, eax
mov ecx, 8
sub edx, edi
mov edi, edi
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x11953f4
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x11953e0
jmp 0x1195427
cmp byte [esi + 0x5ca4], 0
jne 0x1195427
inc dword [0x11a3478]
mov dword [0x11a3474], 0xb
mov eax, dword [ebx + 8]
cmp dword [eax + 0x93a8], 0xf
mov byte [ebp + 0xf], 0
je 0x1195427
mov dword [eax + 0x93a8], 0x18
lea ecx, [ebp - 0x113c]
call fcn.01173c60
mov eax, dword [esi + 0x2318]
test eax, eax
setne cl
mov byte [ebp - 6], cl
test cl, cl
je 0x11954c2
cmp eax, 5
je 0x11954c2
cmp byte [ebp + 0xf], 0
je 0x119554a
cmp word [ebp - 0xc], 0x50
je 0x1195544
mov edx, dword [ebx + 8]
cmp byte [edx + 0x62c9], 0
jne 0x1195544
mov edi, dword [ebp - 0x10]
push edi
mov byte [ebp - 5], 0
call fcn.01189320
test al, al
je 0x1195544
mov ecx, dword [esi + 0x227c]
mov edx, dword [esi + 0x2278]
push 0
lea eax, [esi + 0x2258]
push eax
push ecx
mov ecx, dword [ebx + 8]
push edx
lea eax, [ebp - 5]
push eax
push 0x800
push edi
push 0
push ecx
call fcn.0118cdd0
cmp byte [ebp - 5], 0
je 0x1195544
mov byte [ebp + 0xf], 0
jmp 0x119554a
cmp byte [esi + 0x2309], 0
je 0x119552c
cmp byte [ebp + 0xf], 0
je 0x119550b
mov eax, dword [ebp - 0xc]
cmp ax, 0x50
je 0x119550b
cmp ax, 0x49
je 0x119550b
cmp ax, 0x45
je 0x119550b
mov edx, dword [ebx + 8]
mov eax, 1
cmp dword [edx + 0x615c], eax
je 0x119550b
add dword [ebx + 0xdc], eax
lea eax, [ebp - 0x3184]
push eax
push esi
mov ecx, ebx
call fcn.0118cf20
lea ecx, [ebp - 0x113c]
call fcn.0118ad30
lea ecx, [ebp - 0x118]
call fcn.011801d0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0xf], 0
je 0x119554a
lea ecx, [ebp - 0x113c]
push ecx
push esi
mov ecx, ebx
call fcn.0118d150
mov byte [ebp + 0xf], al
cmp byte [ebp + 0xf], 0
jne 0x1195567
cmp byte [esi + 0x5c94], 0
je 0x119555d
mov cl, 1
mov byte [ebp - 1], cl
mov byte [ebp + 0xf], cl
jmp 0x119556a
cmp byte [ebp + 0xf], 0
je 0x1195b3b
mov cl, byte [ebp - 1]
mov eax, dword [ebx + 8]
cmp byte [eax + 0x62c9], 0
je 0x1195586
mov byte [ebx + 0x10ed], 1
cmp byte [eax + 0x62c9], 0
jne 0x11955b5
test cl, cl
jne 0x11955b5
cmp word [ebp - 0xc], 0x50
mov byte [ebp - 5], cl
je 0x11955c2
lea ecx, [ebp - 0x113c]
call fcn.01173d40
test al, al
je 0x11955bf
mov edx, dword [ebp - 0x10]
push edx
add esi, 0x1e
push esi
mov ecx, 0x11a3474
call fcn.0117f550
mov byte [ebp - 5], 1
test cl, cl
jne 0x11955c8
jmp 0x11955c2
mov cl, byte [ebp - 1]
inc dword [ebx + 0xdc]
mov eax, dword [ebp - 0xc]
inc dword [ebx + 0xe0]
cmp ax, 0x49
je case.0x1195609.70
test cl, cl
je 0x11955e4
lea eax, [ebp - 0x3184]
push eax
jmp 0x119561d
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x62c9], 0
je 0x11955f7
mov eax, 0x54
jmp 0x11955fa
movzx eax, ax
sub eax, 0x45
cmp eax, 0x13
ja case.0x1195609.70
movzx edx, byte [eax + 0x1195bb0]
jmp dword [edx*4 + 0x1195ba0]
lea ecx, [ebp - 0x3184]
push ecx
jmp 0x119561d
mov edx, dword [ebp - 0x10]
push edx
push 0x101059c
call fcn.01029d60
add esp, 8
mov edi, dword [ebx + 8]
cmp byte [edi + 0x6148], 0
jne 0x1195643
push 0x1029508
call fcn.01029d60
add esp, 4
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov eax, dword [edi + 0x83a0]
mov edx, dword [esi + 0x2288]
push eax
lea ecx, [ebx + 0xc0]
push edx
call fcn.0117f870
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x83a0]
mov edx, dword [esi + 0x2288]
push ecx
push edx
lea ecx, [ebx + 0x98]
call fcn.0117f870
mov eax, dword [esi + 0x2270]
mov dword [ebx + 0x30], eax
mov ecx, dword [esi + 0x2274]
lea edx, [ebp - 0x113c]
push edx
mov dword [ebx + 0x34], ecx
lea ecx, [ebx + 0x10]
push esi
call fcn.01174650
mov al, byte [ebp - 5]
mov cl, byte [ebp - 1]
mov byte [ebx + 0x39], al
mov byte [ebx + 0x3a], cl
test al, al
jne 0x119572f
cmp byte [esi + 0x5ca4], al
jne 0x119572f
mov eax, dword [esi + 0x2270]
mov ecx, dword [esi + 0x2274]
mov edx, dword [esi + 0x227c]
mov edi, dword [esi + 0x2278]
shld ecx, eax, 0xb
shl eax, 0xb
cmp ecx, edx
jl 0x119572f
jg 0x11956ef
cmp eax, edi
jbe 0x119572f
test edx, edx
jl 0x1195716
jg 0x11956fd
cmp edi, 0x5f5e100
jb 0x1195716
mov ecx, esi
call fcn.01173ce0
cmp edx, dword [esi + 0x2274]
jl 0x119572f
jg 0x1195716
cmp eax, dword [esi + 0x2270]
jbe 0x119572f
mov edx, dword [esi + 0x227c]
mov eax, dword [esi + 0x2278]
push edx
push eax
lea ecx, [ebp - 0x113c]
call fcn.01178650
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x619c], 0
sete dl
cmp byte [ebp - 5], 0
mov byte [ebp - 0x1129], dl
jne 0x119575b
cmp byte [ebp - 1], 0
jne 0x119575b
mov edi, dword [ebp - 0xc]
cmp di, 0x50
je 0x119575e
mov al, 1
jmp 0x1195760
mov edi, dword [ebp - 0xc]
xor al, al
cmp byte [ebp - 6], 0
mov byte [ebp - 4], al
mov byte [ebp - 7], 1
mov byte [ebp - 3], 1
je 0x1195863
mov edi, dword [esi + 0x2318]
cmp edi, 4
je 0x11957b6
cmp edi, 5
je 0x11957b6
cmp edi, 1
je 0x119579d
cmp edi, 2
je 0x119579d
cmp edi, 3
je 0x119579d
mov byte [ebp - 3], 0
jmp 0x1195830
test al, al
je 0x1195821
mov eax, dword [ebp - 0x10]
push eax
push esi
lea eax, [ebx + 0x10]
push eax
push ecx
call fcn.0118c7e0
jmp 0x119581a
push 0x800
lea ecx, [ebp - 0x213c]
push ecx
lea edx, [esi + 0x231c]
push edx
push esi
mov ecx, ebx
call fcn.011802d0
cmp byte [ebp - 4], 0
je 0x1195821
cmp word [ebp - 0x213c], 0
je 0x1195821
push 0x800
cmp edi, 4
jne 0x11957fd
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x213c]
push eax
push ecx
call fcn.0118c2e0
jmp 0x119581a
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x213c]
push edx
push eax
lea ecx, [esi + 0x1e]
push ecx
lea edx, [ebp - 0x113c]
push edx
mov ecx, ebx
call fcn.0118b3a0
mov byte [ebp - 3], al
test al, al
je 0x1195830
cmp dword [esi + 0x5c90], 2
jne 0x1195834
cmp byte [ebp - 4], 0
jne 0x119583a
mov byte [ebp - 7], 0
cmp byte [ebp - 4], 0
je 0x1195853
cmp byte [ebp - 3], 0
je 0x1195853
mov edi, dword [ebp - 0xc]
mov eax, 1
mov byte [ebx + 0x10ed], al
jmp 0x1195915
mov edi, dword [ebp - 0xc]
xor eax, eax
mov byte [ebx + 0x10ed], al
jmp 0x1195915
cmp byte [esi + 0x22b0], 0
jne 0x1195915
cmp byte [esi + 0x1242], 0
jne 0x1195895
mov eax, dword [esi + 0x227c]
mov ecx, dword [esi + 0x2278]
push eax
push ecx
lea eax, [ebx + 0x10]
push eax
call fcn.0118e100
jmp 0x1195915
movzx edx, byte [esi + 0x2308]
mov eax, dword [esi + 0x230c]
mov ecx, dword [ebx + 0xd8]
push edx
push eax
call fcn.01180ac0
mov ecx, dword [esi + 0x227c]
mov edx, dword [esi + 0x2278]
push ecx
mov ecx, dword [ebx + 0xd8]
push edx
call fcn.01171aa0
cmp dword [esi + 0x5c90], 3
je 0x11958fa
cmp byte [esi + 0x1241], 0xf
ja 0x11958fa
cmp dword [ebx + 0xe0], 1
jbe 0x11958f3
cmp byte [esi + 0x5c94], 0
je 0x11958f3
mov al, 1
push eax
push 0xf
jmp 0x119590a
xor al, al
push eax
push 0xf
jmp 0x119590a
movzx eax, byte [esi + 0x2308]
movzx ecx, byte [esi + 0x1241]
push eax
push ecx
mov ecx, dword [ebx + 0xd8]
call fcn.01194090
mov ecx, esi
call fcn.01171b60
cmp byte [esi + 0x22b1], 0
jne 0x1195953
cmp byte [esi + 0x22e2], 0
je 0x1195936
lea eax, [esi + 0x22e3]
jmp 0x1195938
xor eax, eax
push eax
lea eax, [esi + 0x2288]
push eax
lea ecx, [ebx + 0xc0]
call fcn.0117f950
test al, al
je 0x1195953
mov al, 1
jmp 0x1195955
xor al, al
cmp byte [esi + 0x2308], 0
jne 0x1195967
mov byte [ebx + 0xeb], 0
jmp 0x119598f
cmp byte [esi + 0x1242], 0
je 0x119598f
cmp dword [esi + 0x227c], 0
jl 0x119598f
jg 0x1195984
cmp dword [esi + 0x2278], 0
jbe 0x119598f
test al, al
je 0x119598f
mov byte [ebx + 0xeb], 1
cmp byte [ebp - 1], 0
mov byte [ebp - 4], 0
jne 0x1195a20
cmp byte [ebp - 7], 0
je 0x1195a20
test al, al
je 0x11959f1
cmp di, 0x50
je 0x1195a2d
cmp di, 0x49
je 0x1195a2d
cmp dword [esi + 0x2288], 0
mov ecx, 0x1029558
je 0x11959ca
mov ecx, 0x101059c
mov edx, dword [ebx + 8]
cmp byte [edx + 0x6148], 0
mov eax, 0x10105c4
jne 0x11959e0
mov eax, 0x1029548
push ecx
push eax
push 0x102953c
call fcn.01029d60
add esp, 0xc
jmp 0x1195a2d
push 3
mov ecx, 0x11a3474
mov byte [ebp - 4], 1
call fcn.01173a60
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x93a8]
cmp eax, 0xf
je 0x1195a2d
cmp eax, 0x18
je 0x1195a2d
mov dword [ecx + 0x93a8], 0xc
jmp 0x1195a2d
push 0x1029524
call fcn.01029d60
add esp, 4
cmp byte [ebp - 5], 0
jne 0x1195b3b
cmp di, 0x58
je 0x1195a47
cmp di, 0x45
jne 0x1195b3b
cmp byte [ebp - 6], 0
je 0x1195a64
cmp dword [esi + 0x2318], 5
jne 0x1195b3b
cmp byte [ebp - 3], 0
je 0x1195b3b
cmp byte [ebp - 4], 0
je 0x1195a87
mov eax, dword [ebx + 8]
cmp byte [eax + 0x619c], 0
je 0x1195b3b
mov ecx, dword [ebp - 0x1138]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
mov edx, dword [ebx + 8]
cmp byte [edx + 0x6154], 0
je 0x1195a9a
and dword [esi + 0x1244], 0xffffffdf
mov eax, dword [ebx + 8]
cmp dword [eax + 0x739c], 0
jne 0x1195aaa
xor edx, edx
jmp 0x1195ab0
lea edx, [esi + 0x2268]
cmp dword [eax + 0x7398], 0
jne 0x1195abd
xor ecx, ecx
jmp 0x1195ac3
lea ecx, [esi + 0x2260]
cmp dword [eax + 0x7394], 0
jne 0x1195ad0
xor eax, eax
jmp 0x1195ad6
lea eax, [esi + 0x2258]
push edx
push ecx
push eax
lea ecx, [ebp - 0x113c]
call fcn.011786c0
lea ecx, [ebp - 0x113c]
call fcn.0117f580
mov eax, dword [ebx + 8]
cmp byte [eax + 0x62a5], 0
je 0x1195b15
test dword [esi + 0x1244], 0x800
je 0x1195b15
push 1
lea ecx, [ebp - 0x111e]
push ecx
call fcn.01186040
mov edx, dword [ebx + 8]
cmp byte [edx + 0x62a6], 0
jne 0x1195b34
mov eax, dword [esi + 0x1244]
push eax
lea ecx, [ebp - 0x111e]
push ecx
call fcn.01185f60
mov byte [ebx + 0x10ed], 1
lea ecx, [ebp - 0x113c]
call fcn.0118ad30
lea ecx, [ebp - 0x118]
call fcn.011801d0
cmp byte [ebp - 2], 0
je 0x1195b5d
inc dword [ebx + 0xe4]
cmp byte [ebx + 0x58], 0
jne 0x1194f08
cmp byte [ebp + 0xf], 0
jne 0x1195b93
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x5c94], 0
jne 0x1195b89
call fcn.01171b60
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp - 1], 0
je 0x1194f08
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc