Function at 0x100b3e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aa83e
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x140], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x144]
call fcn.10001490
push 0
lea ecx, [ebp - 0x34]
push ecx
call fcn.100e14d0
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10005d40
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x28], 0x48
mov byte [ebp - 0x1b], 0
mov dword [ebp - 0x20], 0xfffffffe
mov eax, dword [ebp - 0x144]
cmp dword [eax + 0x34], 0
jle 0x100b3fa0
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x54]
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x54]
mov edx, dword [edx]
mov eax, dword [edx + 0x3c]
call eax
movzx ecx, al
test ecx, ecx
je 0x100b3fa0
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx + 0x54]
add ecx, 4
call fcn.100bd650
test eax, eax
je 0x100b3f53
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x38]
sub eax, 1
test eax, eax
jle 0x100b3f53
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x38]
sub edx, 1
mov dword [ebp - 0x20], edx
jmp 0x100b3f62
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x34]
sub ecx, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x20], 0xfffffffe
mov dword [ebp - 0x5c], 0
xor edx, edx
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx + 0x54]
add ecx, 0x198
call fcn.100c08c0
movzx edx, word [ebp - 0x5c]
movzx eax, word [ebp - 0x1a]
add eax, edx
mov word [ebp - 0x1a], ax
jmp 0x100b468a
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0xfffffffe
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.10004400
movzx edx, al
test edx, edx
je 0x100b3fd8
mov eax, dword [ebp - 0x144]
cmp dword [eax + 0xa4], 0
je 0x100b468a
lea ecx, [ebp - 0x74]
call fcn.100c08f0
lea ecx, [ebp - 0x6c]
call fcn.100c08f0
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.10004400
movzx ecx, al
test ecx, ecx
jne 0x100b4126
push 0
mov edx, dword [ebp - 0x144]
add edx, 0xad
push edx
mov eax, dword [ebp - 0x144]
add eax, 0x58
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push eax
call fcn.10005d60
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0x144]
mov ecx, dword [edx + 0x54]
call fcn.101324c0
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.10003ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.10005e00
push 0
lea ecx, [ebp - 0x34]
call fcn.10004390
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.10004220
cmp eax, 0xffffffff
jne 0x100b40f2
mov edx, dword [ebp - 0x144]
add edx, 0x58
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x158], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.10003ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.10005e00
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.10004390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b4126
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xb0]
or edx, 1
mov eax, dword [ebp - 0x144]
mov dword [eax + 0xb0], edx
mov ecx, dword [ebp - 0x144]
add ecx, 0x5c
call fcn.10004400
movzx ecx, al
test ecx, ecx
jne 0x100b4264
push 0
mov edx, dword [ebp - 0x144]
add edx, 0xad
push edx
mov eax, dword [ebp - 0x144]
add eax, 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
push eax
call fcn.10005d60
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0x144]
mov ecx, dword [edx + 0x54]
call fcn.101324c0
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x5c
call fcn.10003ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.10005e00
push 0
lea ecx, [ebp - 0x34]
call fcn.10004390
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x5c
call fcn.10004220
cmp eax, 0xffffffff
jne 0x100b4230
mov edx, dword [ebp - 0x144]
add edx, 0x5c
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x5c
call fcn.10003ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.10005e00
mov ecx, dword [ebp - 0x144]
add ecx, 0x5c
call fcn.10004390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b4264
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xb0]
or edx, 2
mov eax, dword [ebp - 0x144]
mov dword [eax + 0xb0], edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x7c], 0x20
push 0x101c99fc
mov ecx, dword [ebp - 0x144]
add ecx, 0x50
push ecx
call fcn.1000c4e0
add esp, 8
movzx edx, al
test edx, edx
je 0x100b42db
mov eax, dword [ebp - 0x7c]
or eax, 0x10
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.100043a0
mov ecx, dword [ebp - 0x144]
mov dword [ecx + 0xa4], eax
mov dword [ebp - 0x60], 0x20
mov ecx, dword [ebp - 0x144]
add ecx, 0x5c
call fcn.100043a0
mov edx, dword [ebp - 0x144]
mov dword [edx + 0xa8], eax
mov eax, dword [ebp - 0x60]
or eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x61], 0
mov ecx, dword [ebp - 0x144]
cmp dword [ecx + 0xa8], 0
je 0x100b4319
push 0x101c9a10
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0xa8]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x100b4319
mov byte [ebp - 0x61], 1
mov byte [ebp - 0x75], 1
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp - 0x144]
cmp dword [ecx + 0xa4], 0
je 0x100b4444
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0xa4]
shr eax, 0x10
test eax, eax
jne 0x100b438a
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xa4]
push edx
mov ecx, 0x1022ee50
call fcn.10098ab0
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x74
call fcn.10008190
mov byte [ebp - 0x75], al
mov ecx, dword [ebp - 0x144]
add ecx, 0x74
call fcn.10008570
jmp 0x100b4444
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0xa4]
push ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x74
call fcn.10007f50
mov byte [ebp - 0x75], al
push 0x101c9a14
mov edx, dword [ebp - 0x144]
add edx, 0x58
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
push edx
call fcn.10005d60
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0xf0]
push eax
call fcn.100a90b0
add esp, 8
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
push edx
call fcn.10004370
add esp, 8
mov byte [ebp - 0xe5], al
lea ecx, [ebp - 0xf0]
call fcn.10005e00
movzx eax, byte [ebp - 0xe5]
test eax, eax
je 0x100b4425
mov ecx, dword [ebp - 0x144]
add ecx, 0x74
call fcn.10008570
mov ecx, dword [ebp - 0x144]
movzx edx, byte [ecx + 0xae]
test edx, edx
jne 0x100b4444
mov ecx, dword [ebp - 0x144]
add ecx, 0x74
call fcn.10008620
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x100b4542
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xa8]
shr edx, 0x10
test edx, edx
jne 0x100b44a2
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0xa4]
push ecx
mov ecx, 0x1022ee50
call fcn.10098ab0
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x84
call fcn.10008190
mov ecx, dword [ebp - 0x144]
add ecx, 0x84
call fcn.10008570
jmp 0x100b4542
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0xa8]
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x84
call fcn.10007f50
push 0x101c9a1c
mov ecx, dword [ebp - 0x144]
add ecx, 0x5c
push ecx
mov edx, esp
mov dword [ebp - 0xf8], esp
push ecx
mov ecx, edx
call fcn.10005d60
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.100a90b0
add esp, 8
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x184]
push edx
call fcn.10004370
add esp, 8
mov byte [ebp - 0xf1], al
lea ecx, [ebp - 0xfc]
call fcn.10005e00
movzx eax, byte [ebp - 0xf1]
test eax, eax
je 0x100b4542
mov ecx, dword [ebp - 0x144]
add ecx, 0x84
call fcn.10008570
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
movzx ecx, byte [ebp - 0x75]
test ecx, ecx
je 0x100b468a
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp - 0x144]
add ecx, 0x74
call fcn.10008510
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x104]
call fcn.1009a5e0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x70], ecx
movzx edx, byte [ebp - 0x61]
test edx, edx
je 0x100b45d8
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x84
call fcn.10008510
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x114]
call fcn.1009a5e0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x68], ecx
jmp 0x100b45e4
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x144]
mov byte [ecx + 0x9c], 1
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x6c]
jl 0x100b4609
movzx eax, word [ebp - 0x74]
movzx ecx, word [ebp - 0x1a]
add ecx, eax
mov word [ebp - 0x1a], cx
jmp 0x100b4617
movzx edx, word [ebp - 0x6c]
movzx eax, word [ebp - 0x1a]
add eax, edx
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x68]
jl 0x100b4630
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x70]
mov dword [edx + 0xa0], eax
jmp 0x100b463f
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x68]
mov dword [ecx + 0xa0], edx
mov ecx, dword [ebp - 0x144]
add ecx, 0x94
call fcn.1009a300
mov ecx, dword [ebp - 0x144]
add ecx, 0x98
call fcn.1009a300
mov eax, dword [ebp - 0x7c]
xor eax, 0x20
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x60]
xor ecx, 0x20
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x7c]
or edx, 0x2000
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x60]
or eax, 0x2000
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x14
call fcn.10004400
movzx ecx, al
test ecx, ecx
jne 0x100b4769
push 0x101c9a24
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
push 0x101c9a28
call fcn.10005d80
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x101c9a2c
call fcn.10005d80
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
push 0x101c9a30
call fcn.10005d80
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x130]
push ecx
mov byte [ebp - 4], 1
call fcn.100e0810
add esp, 0x10
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x140]
or eax, 1
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.10004370
add esp, 8
movzx edx, al
test edx, edx
je 0x100b4769
mov dword [ebp - 0x1a4], 1
jmp 0x100b4773
mov dword [ebp - 0x1a4], 0
mov al, byte [ebp - 0x1a4]
mov byte [ebp - 0x11d], al
mov ecx, dword [ebp - 0x140]
and ecx, 1
je 0x100b479c
and dword [ebp - 0x140], 0xfffffffe
lea ecx, [ebp - 0x130]
call fcn.10005e00
movzx edx, byte [ebp - 0x11d]
test edx, edx
je 0x100b49cc
mov dword [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xc4], 0
push 0x38
push 0
lea ecx, [ebp - 0xc0]
push ecx
call fcn.1016f6c0
add esp, 0xc
mov edx, dword [ebp - 0x144]
mov ecx, dword [edx + 0x54]
add ecx, 4
call fcn.100bf300
push eax
lea ecx, [ebp - 0x80]
call fcn.10005f90
mov byte [ebp - 4], 8
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x80]
call fcn.100c0d30
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0xc8]
call fcn.10005d40
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x54]
add ecx, 4
call fcn.100bd650
test eax, eax
je 0x100b486b
mov ecx, dword [ebp - 0x144]
add ecx, 0x18
call fcn.10004400
movzx ecx, al
test ecx, ecx
jne 0x100b486b
mov edx, dword [ebp - 0x144]
add edx, 0x18
push edx
lea ecx, [ebp - 0xc8]
call fcn.10003ea0
jmp 0x100b4880
mov eax, dword [ebp - 0x144]
add eax, 0x14
push eax
lea ecx, [ebp - 0xc8]
call fcn.10003ea0
push 0xfde9
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0xc8]
push edx
call fcn.10005d60
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx + 0x54]
call fcn.1011d720
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0xc8]
call fcn.10003ea0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x138]
call fcn.10005e00
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x54]
cmp dword [edx + 0xc8], 0
je 0x100b4925
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx + 0xc8]
push edx
lea ecx, [ebp - 0x80]
call fcn.100c0d20
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xc8]
call fcn.10005e60
push eax
lea ecx, [ebp - 0xc8]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x80]
call fcn.100c0d20
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
movzx ecx, word [ebp - 0x88]
movzx edx, word [ebp - 0x1a]
lea eax, [edx + ecx + 2]
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp - 0x144]
cmp dword [ecx + 0x34], 0
jg 0x100b4987
mov ecx, dword [ebp - 0x144]
add ecx, 0x58
call fcn.10004400
movzx edx, al
test edx, edx
jne 0x100b4992
movzx eax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
cmp dword [ebp - 0xcc], 0
je 0x100b49b1
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x80]
call fcn.100c0d20
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc8]
call fcn.10005e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.10005fb0
mov edx, dword [ebp - 0x144]
cmp dword [edx + 0x6c], 0
jne 0x100b49e8
mov eax, dword [ebp - 0x144]
cmp dword [eax + 0x70], 0
je 0x100b4ada
mov ecx, dword [ebp - 0x144]
cmp dword [ecx + 0x6c], 0
je 0x100b4a17
push 0x101c9a50
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x6c]
add eax, 0x9c
push eax
call fcn.10004370
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x100b4a44
mov edx, dword [ebp - 0x144]
cmp dword [edx + 0x70], 0
je 0x100b4a54
push 0x101c9a60
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x70]
add ecx, 0x10
push ecx
call fcn.10004370
add esp, 8
movzx edx, al
test edx, edx
je 0x100b4a54
movzx eax, word [ebp - 0x1a]
add eax, 0x12
mov word [ebp - 0x1a], ax
jmp 0x100b4ad8
mov ecx, dword [ebp - 0x144]
cmp dword [ecx + 0x6c], 0
je 0x100b4a83
push 0x101c9a70
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x6c]
add eax, 0x9c
push eax
call fcn.10004370
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x100b4ab0
mov edx, dword [ebp - 0x144]
cmp dword [edx + 0x70], 0
je 0x100b4acd
push 0x101c9a7c
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x70]
add ecx, 0x10
push ecx
call fcn.10004370
add esp, 8
movzx edx, al
test edx, edx
je 0x100b4acd
movzx eax, word [ebp - 0x1a]
add eax, 0x14
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x54]
mov byte [edx + 0x1f8], 1
jmp 0x100b4ad8
movzx eax, word [ebp - 0x1a]
add eax, 7
mov word [ebp - 0x1a], ax
jmp 0x100b4b10
push 0x101c9a88
mov ecx, dword [ebp - 0x144]
add ecx, 0x50
push ecx
call fcn.10004370
add esp, 8
movzx edx, al
test edx, edx
je 0x100b4b05
movzx eax, word [ebp - 0x1a]
add eax, 4
mov word [ebp - 0x1a], ax
jmp 0x100b4b10
movzx ecx, word [ebp - 0x1a]
add ecx, 7
mov word [ebp - 0x1a], cx
mov edx, dword [ebp - 0x144]
cmp dword [edx + 0x6c], 0
je 0x100b4b40
push 0x101c9a9c
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x6c]
add ecx, 0x9c
push ecx
call fcn.10004370
add esp, 8
movzx edx, al
test edx, edx
jne 0x100b4b6d
mov eax, dword [ebp - 0x144]
cmp dword [eax + 0x70], 0
je 0x100b4b7c
push 0x101c9aac
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x70]
add edx, 0x10
push edx
call fcn.10004370
add esp, 8
movzx eax, al
test eax, eax
je 0x100b4b7c
movzx ecx, byte [ebp - 0x1b]
or ecx, 0x80
mov byte [ebp - 0x1b], cl
jmp 0x100b4bf3
mov edx, dword [ebp - 0x144]
cmp dword [edx + 0x6c], 0
je 0x100b4bac
push 0x101c9abc
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x6c]
add ecx, 0x9c
push ecx
call fcn.10004370
add esp, 8
movzx edx, al
test edx, edx
jne 0x100b4bd9
mov eax, dword [ebp - 0x144]
cmp dword [eax + 0x70], 0
je 0x100b4bf3
push 0x101c9ac8
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x70]
add edx, 0x10
push edx
call fcn.10004370
add esp, 8
movzx eax, al
test eax, eax
je 0x100b4bf3
movzx ecx, byte [ebp - 0x1b]
or ecx, 8
mov byte [ebp - 0x1b], cl
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x54]
mov byte [eax + 0x1f8], 1
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx + 0x54]
add ecx, 4
call fcn.10007100
mov dword [ebp - 0x54], 0
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x54], 0x20
mov dword [ebp - 0x50], 4
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x54]
add ecx, 4
call fcn.100c0d50
mov ecx, dword [ebp - 0x144]
movzx edx, byte [ecx + 0xae]
test edx, edx
jne 0x100b4c7a
movzx eax, byte [ebp - 0x44]
and eax, 0
mov byte [ebp - 0x44], al
jmp 0x100b4c84
movzx ecx, byte [ebp - 0x44]
or ecx, 4
mov byte [ebp - 0x44], cl
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x144]
mov ecx, dword [edx + 0x54]
add ecx, 4
call fcn.10007100
mov dword [ebp - 0x13c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10005e00
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4