Function at 0x100dd400
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xda8
mov eax, dword [0x101a8cb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
je 0x100dd429
mov eax, dword [ebp + 8]
push eax
call fcn.1002d6f0
add esp, 4
test eax, eax
jne 0x100dd433
mov eax, 1
jmp 0x100def57
cmp dword [ebp + 0xc], 0
je 0x100dd449
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1002d6f0
add esp, 4
test eax, eax
jne 0x100dd453
mov eax, 1
jmp 0x100def57
mov edx, 0xf0
mov word [ebp - 0x8e4], dx
push 0x54
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.1002a420
add esp, 0xc
push 0x3ea
push 0
lea ecx, [ebp - 0xcf0]
push ecx
call fcn.1002a420
add esp, 0xc
push 0x40a
push 0
lea edx, [ebp - 0x488]
push edx
call fcn.1002a420
add esp, 0xc
lea eax, [ebp - 0xcf8]
push eax
call fcn.10009b30
add esp, 4
mov word [ebp - 0x74], ax
movzx ecx, word [ebp - 0x74]
test ecx, ecx
je 0x100dd4bf
mov ax, word [ebp - 0x74]
jmp 0x100def57
mov dword [ebp - 0x8ac], 0x100
mov edx, dword [ebp - 0x8ac]
shl edx, 2
push edx
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov dword [ebp - 0x8dc], eax
cmp dword [ebp - 0x8dc], 0
jne 0x100dd50a
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009d90
add esp, 4
mov eax, 0x66
jmp 0x100def57
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0xcf8]
push eax
lea ecx, [ebp - 0x8e4]
push ecx
lea edx, [ebp - 0xcf0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100dd2c0
add esp, 0x14
mov word [ebp - 0x74], ax
movzx ecx, word [ebp - 0x74]
test ecx, ecx
je 0x100dd553
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
mov ax, word [ebp - 0x74]
jmp 0x100def57
mov dword [ebp - 0x8b0], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 2
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd04], ecx
mov dword [ebp - 0xd00], edx
mov eax, dword [ebp - 0xd04]
or eax, dword [ebp - 0xd00]
je 0x100dd63a
lea ecx, [ebp - 0xc9c]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x54
push edx
call fcn.10004e50
add esp, 8
test eax, eax
je 0x100dd63a
push 0x44
lea eax, [ebp - 0xc9c]
push eax
lea ecx, [ebp - 0x3bc]
push ecx
call fcn.10003d40
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x10
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc264
push 0x20
mov eax, dword [ebp + 0x10]
add eax, 0x54
push eax
push 0x10
push 0x10
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 4
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd0c], eax
mov dword [ebp - 0xd08], ecx
mov edx, dword [ebp - 0xd0c]
or edx, dword [ebp - 0xd08]
je 0x100dd71d
lea eax, [ebp - 0xc58]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x98
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100dd71d
push 0x44
lea edx, [ebp - 0xc58]
push edx
lea eax, [ebp - 0x378]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x20
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc268
push 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 0x98
push ecx
push 0x20
push 0x10
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 8
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd14], ecx
mov dword [ebp - 0xd10], edx
mov eax, dword [ebp - 0xd14]
or eax, dword [ebp - 0xd10]
je 0x100dd7ff
lea ecx, [ebp - 0xc14]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0xdc
push edx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100dd7ff
push 0xe
lea eax, [ebp - 0xc14]
push eax
lea ecx, [ebp - 0x334]
push ecx
call fcn.10003d40
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x40
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc26c
push 0x20
mov eax, dword [ebp + 0x10]
add eax, 0xdc
push eax
push 0x30
push 0x10
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x10
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd1c], eax
mov dword [ebp - 0xd18], ecx
mov edx, dword [ebp - 0xd1c]
or edx, dword [ebp - 0xd18]
je 0x100dd8e5
lea eax, [ebp - 0xc06]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0xea
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100dd8e5
push 0x14
lea edx, [ebp - 0xc06]
push edx
lea eax, [ebp - 0x326]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x80
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc270
push 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 0xea
push ecx
push 0x40
push 0x10
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x20
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd24], ecx
mov dword [ebp - 0xd20], edx
mov eax, dword [ebp - 0xd24]
or eax, dword [ebp - 0xd20]
je 0x100dda01
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xfe]
add edx, 1
and edx, 0xfffffffe
mov eax, dword [ebp - 0xbf2]
add eax, 1
and eax, 0xfffffffe
cmp edx, eax
jne 0x100dd95b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xfe]
push edx
mov eax, dword [ebp - 0xbee]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x102]
push edx
call fcn.100344b0
add esp, 0xc
test eax, eax
je 0x100dda01
push 0xc
lea eax, [ebp - 0xbf2]
push eax
lea ecx, [ebp - 0x312]
push ecx
call fcn.10031ea0
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x100
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc274
push 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xfe]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x102]
push eax
push 0x1000
push 0x10
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.10079660
add esp, 0x20
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x40
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd2c], eax
mov dword [ebp - 0xd28], ecx
mov edx, dword [ebp - 0xd2c]
or edx, dword [ebp - 0xd28]
je 0x100ddae7
lea eax, [ebp - 0xbe6]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x10a
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100ddae7
push 0x14
lea edx, [ebp - 0xbe6]
push edx
lea eax, [ebp - 0x306]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x200
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc278
push 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 0x10a
push ecx
push 0x50
push 8
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x10000
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd34], ecx
mov dword [ebp - 0xd30], edx
mov eax, dword [ebp - 0xd34]
or eax, dword [ebp - 0xd30]
je 0x100ddbd2
lea ecx, [ebp - 0x9c2]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x32e
push edx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100ddbd2
push 0x44
lea eax, [ebp - 0x9c2]
push eax
lea ecx, [ebp - 0x25e]
push ecx
call fcn.10003d40
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x1000
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc27c
push 0x20
mov eax, dword [ebp + 0x10]
add eax, 0x32e
push eax
push 0x1030
push 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x20000
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd3c], eax
mov dword [ebp - 0xd38], ecx
mov edx, dword [ebp - 0xd3c]
or edx, dword [ebp - 0xd38]
je 0x100ddcba
lea eax, [ebp - 0x97e]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x372
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100ddcba
push 0xe
lea edx, [ebp - 0x97e]
push edx
lea eax, [ebp - 0x21a]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x2000
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc280
push 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 0x372
push ecx
push 0x20
push 8
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x40000
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd44], ecx
mov dword [ebp - 0xd40], edx
mov eax, dword [ebp - 0xd44]
or eax, dword [ebp - 0xd40]
je 0x100ddda2
lea ecx, [ebp - 0x970]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x380
push edx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100ddda2
push 0x14
lea eax, [ebp - 0x970]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10003d40
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x4000
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc284
push 0x20
mov eax, dword [ebp + 0x10]
add eax, 0x380
push eax
push 0x30
push 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x1000
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd4c], eax
mov dword [ebp - 0xd48], ecx
mov edx, dword [ebp - 0xd4c]
or edx, dword [ebp - 0xd48]
je 0x100dde8a
lea eax, [ebp - 0xad2]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x21e
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100dde8a
push 0x44
lea edx, [ebp - 0xad2]
push edx
lea eax, [ebp - 0x1f8]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x20000
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc288
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x21e
push ecx
push 0xd
push 0x20
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x1000000
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd54], ecx
mov dword [ebp - 0xd50], edx
mov eax, dword [ebp - 0xd54]
or eax, dword [ebp - 0xd50]
je 0x100ddf75
lea ecx, [ebp - 0xb16]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x1da
push edx
call fcn.10004e50
add esp, 8
test eax, eax
je 0x100ddf75
push 0x44
lea eax, [ebp - 0xb16]
push eax
lea ecx, [ebp - 0x2a2]
push ecx
call fcn.10003d40
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x2000000
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc28c
push 0x20
mov eax, dword [ebp + 0x10]
add eax, 0x1da
push eax
push 0x90
push 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x2000
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd5c], eax
mov dword [ebp - 0xd58], ecx
mov edx, dword [ebp - 0xd5c]
or edx, dword [ebp - 0xd58]
je 0x100de05d
lea eax, [ebp - 0xa8e]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x262
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100de05d
push 0x44
lea edx, [ebp - 0xa8e]
push edx
lea eax, [ebp - 0x1b4]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x40000
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc290
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x262
push ecx
push 0xe
push 0x20
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x4000
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd64], ecx
mov dword [ebp - 0xd60], edx
mov eax, dword [ebp - 0xd64]
or eax, dword [ebp - 0xd60]
je 0x100de145
lea ecx, [ebp - 0xa4a]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x2a6
push edx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100de145
push 0x44
lea eax, [ebp - 0xa4a]
push eax
lea ecx, [ebp - 0x170]
push ecx
call fcn.10003d40
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x80000
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc294
push 0
mov eax, dword [ebp + 0x10]
add eax, 0x2a6
push eax
push 0x16
push 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x8000
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd6c], eax
mov dword [ebp - 0xd68], ecx
mov edx, dword [ebp - 0xd6c]
or edx, dword [ebp - 0xd68]
je 0x100de22d
lea eax, [ebp - 0xa06]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x2ea
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100de22d
push 0x44
lea edx, [ebp - 0xa06]
push edx
lea eax, [ebp - 0x12c]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x100000
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc298
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x2ea
push ecx
push 0x18
push 8
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x80000
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd74], ecx
mov dword [ebp - 0xd70], edx
mov eax, dword [ebp - 0xd74]
or eax, dword [ebp - 0xd70]
je 0x100de315
lea ecx, [ebp - 0x95c]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x394
push edx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100de315
push 0x14
lea eax, [ebp - 0x95c]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.10003d40
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x8000
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc29c
push 0x20
mov eax, dword [ebp + 0x10]
add eax, 0x394
push eax
push 0x15
push 0x18
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x80
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd7c], eax
mov dword [ebp - 0xd78], ecx
mov edx, dword [ebp - 0xd7c]
or edx, dword [ebp - 0xd78]
je 0x100de3fd
lea eax, [ebp - 0xbd2]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x11e
push ecx
call fcn.10004dd0
add esp, 8
test eax, eax
je 0x100de3fd
push 0x14
lea edx, [ebp - 0xbd2]
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x10000
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc2a0
push 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 0x11e
push ecx
push 0x60
push 8
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x200
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd84], ecx
mov dword [ebp - 0xd80], edx
mov eax, dword [ebp - 0xd84]
or eax, dword [ebp - 0xd80]
je 0x100de51c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x176]
add edx, 1
and edx, 0xfffffffe
mov eax, dword [ebp - 0xb7a]
add eax, 1
and eax, 0xfffffffe
cmp edx, eax
jne 0x100de476
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x176]
push edx
mov eax, dword [ebp - 0xb76]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x17a]
push edx
call fcn.100344b0
add esp, 0xc
test eax, eax
je 0x100de51c
push 0xc
lea eax, [ebp - 0xb7a]
push eax
lea ecx, [ebp - 0x2f2]
push ecx
call fcn.10031ea0
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 0x400
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc2a4
push 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x176]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x17a]
push eax
push 0x1070
push 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.10079660
add esp, 0x20
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x200
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xd8c], eax
mov dword [ebp - 0xd88], ecx
mov edx, dword [ebp - 0xd8c]
or edx, dword [ebp - 0xd88]
je 0x100de57b
push 0xc
mov eax, dword [ebp + 0x10]
add eax, 0x176
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.10031ea0
add esp, 0xc
mov edx, dword [ebp - 0x488]
or edx, 4
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
and edx, 0x400
mov eax, dword [ecx + 4]
and eax, 0
mov dword [ebp - 0xd94], edx
mov dword [ebp - 0xd90], eax
mov ecx, dword [ebp - 0xd94]
or ecx, dword [ebp - 0xd90]
je 0x100de60f
push 0x18
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc2a8
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x182
push ecx
push 0x140
push 0x88
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0x800
mov edx, dword [eax + 4]
and edx, 0
mov dword [ebp - 0xd9c], ecx
mov dword [ebp - 0xd98], edx
mov eax, dword [ebp - 0xd9c]
or eax, dword [ebp - 0xd98]
je 0x100de6a2
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc2ac
push 0x20
mov eax, dword [ebp + 0x10]
add eax, 0x1c6
push eax
push 0x130
push 0x88
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0x100
mov ecx, dword [edx + 4]
and ecx, 0
mov dword [ebp - 0xda4], eax
mov dword [ebp - 0xda0], ecx
mov edx, dword [ebp - 0xda4]
or edx, dword [ebp - 0xda0]
je 0x100de732
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xcf8]
push eax
push 0x101bc2b0
push 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 0x132
push ecx
push 0x80
push 8
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax + edx*4]
push ecx
call fcn.100795a0
add esp, 0x1c
mov edx, dword [ebp - 0x8b0]
add edx, 1
mov dword [ebp - 0x8b0], edx
cmp dword [ebp + 0x1c], 0
jne 0x100dea58
cmp dword [ebp - 0xca4], 0
jne 0x100de757
mov eax, dword [ebp - 0x488]
or eax, dword [ebp - 0x484]
je 0x100dea58
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc2b4
push 0x20
push 0x101bc2b8
movzx eax, word [ebp - 0x8e4]
push eax
push 0x21
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
lea eax, [edx + ecx*4]
push eax
call fcn.100795a0
add esp, 0x1c
mov ecx, dword [ebp - 0x8b0]
add ecx, 1
mov dword [ebp - 0x8b0], ecx
push 0x3ea
push 0
lea edx, [ebp - 0x888]
push edx
call fcn.1002a420
add esp, 0xc
mov eax, dword [ebp - 0x488]
or eax, dword [ebp - 0x484]
je 0x100de929
lea ecx, [ebp - 0x8d0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0x488]
or edx, 1
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
movzx ecx, word [ebp - 0x8c4]
push ecx
movzx edx, word [ebp - 0x8c6]
push edx
movzx eax, word [ebp - 0x8c8]
push eax
movzx ecx, word [ebp - 0x8ca]
push ecx
movzx edx, word [ebp - 0x8ce]
push edx
movzx eax, word [ebp - 0x8d0]
push eax
push 0x101bc2d4
lea ecx, [ebp - 0x478]
push ecx
call fcn.10003cf0
add esp, 0x20
cmp dword [ebp + 0x14], 0
je 0x100de885
mov edx, dword [ebp - 0x488]
or edx, 8
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 0x44
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x400]
push edx
call fcn.10003d40
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x100de8bb
mov eax, dword [ebp - 0x488]
or eax, 2
mov ecx, dword [ebp - 0x484]
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], ecx
push 0x44
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x454]
push eax
call fcn.10003d40
add esp, 0xc
mov ecx, dword [ebp - 0x488]
or ecx, 0x800
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 0x101bc2f0
lea eax, [ebp - 0x2e6]
push eax
call fcn.10003cb0
add esp, 8
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x83c], ecx
mov dword [ebp - 0x480], 0
mov edx, dword [ebp - 0xca4]
mov dword [ebp - 0x47c], edx
cmp dword [ebp - 0xca4], 0
je 0x100de927
mov eax, dword [ebp - 0xca4]
lea ecx, [ebp - 0x488]
mov dword [eax + 8], ecx
jmp 0x100de935
mov edx, dword [ebp - 0xca4]
mov dword [ebp - 0x83c], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
lea edx, [ebp - 0xcf4]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x888]
push ecx
call fcn.100dce40
add esp, 0x14
mov word [ebp - 0x74], ax
movzx edx, word [ebp - 0x74]
test edx, edx
je 0x100de97e
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009d90
add esp, 4
mov ax, word [ebp - 0x74]
jmp 0x100def57
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x21
jne 0x100de998
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 2]
cmp ecx, 0xf001
je 0x100de9b0
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
mov ax, word [ebp - 0x74]
jmp 0x100def57
cmp dword [ebp - 0x70], 1
jne 0x100de9d0
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xcf4]
sub ecx, 8
mov dword [ebp - 0xcf4], ecx
jmp 0x100de9e8
mov edx, dword [ebp - 0x10]
add edx, 0xc
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xcf4]
sub eax, 0xc
mov dword [ebp - 0xcf4], eax
push 0x18
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 0xcf8]
push edx
push 0x101bc30c
push 0
mov eax, dword [ebp - 0xcf4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
movzx edx, word [ebp - 0x8e4]
shl edx, 8
or edx, 1
push edx
push 0x21
mov eax, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8dc]
lea edx, [ecx + eax*4]
push edx
call fcn.10079660
add esp, 0x20
mov eax, dword [ebp - 0x8b0]
add eax, 1
mov dword [ebp - 0x8b0], eax
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8dc]
mov dword [edx + ecx*4], 0
push 0x28
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov dword [ebp - 0x900], eax
mov ecx, dword [ebp - 0x900]
mov dword [ecx], 0
push 0x28
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009ed0
add esp, 8
mov dword [ebp - 0x8c0], eax
push 0x18
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009ed0
add esp, 8
mov ecx, dword [ebp - 0x8c0]
mov dword [ecx], eax
mov edx, dword [ebp - 0x8c0]
mov eax, dword [edx]
mov ecx, 0x7fe0
mov word [eax], cx
mov edx, dword [ebp - 0x8c0]
mov eax, dword [edx]
mov ecx, 0x10
mov word [eax + 2], cx
mov edx, dword [ebp - 0x8c0]
mov eax, dword [edx]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x8c0]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8fc], eax
mov dword [ebp - 0x8f8], 0
mov dword [ebp - 0x8b8], 0
mov dword [ebp - 0x8b4], 0
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x900]
push edx
mov eax, dword [ebp - 0x8c0]
push eax
mov ecx, dword [ebp - 0x8dc]
push ecx
lea edx, [ebp - 0x8b8]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10080290
add esp, 0x1c
mov word [ebp - 0x74], ax
movzx edx, word [ebp - 0x74]
test edx, edx
je 0x100deb83
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009d90
add esp, 4
mov ax, word [ebp - 0x74]
jmp 0x100def57
mov ecx, dword [ebp - 0xcf8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100dd340
add esp, 8
test eax, eax
je 0x100debb0
mov eax, dword [ebp - 0xcf8]
push eax
call fcn.10009d90
add esp, 4
xor eax, eax
jmp 0x100def57
mov ecx, 0x7fe0
mov word [ebp - 0x8a4], cx
mov edx, 0x10
mov word [ebp - 0x8a2], dx
mov eax, dword [ebp - 0xcf8]
push eax
lea ecx, [ebp - 0x8a8]
push ecx
lea edx, [ebp - 0x8e0]
push edx
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x8d8]
push ecx
lea edx, [ebp - 0x8a4]
push edx
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.1007c3c0
add esp, 0x20
mov word [ebp - 0x74], ax
movzx ecx, word [ebp - 0x74]
test ecx, ecx
je 0x100dec24
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
mov ax, word [ebp - 0x74]
jmp 0x100def57
mov eax, dword [ebp - 0x8d8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x88c], ecx
lea edx, [ebp - 0x60]
push edx
call fcn.1009f1d0
add esp, 4
test eax, eax
je 0x100dec4d
mov dword [ebp - 0x88c], 0xffffffff
mov eax, dword [ebp - 0xcf8]
push eax
lea ecx, [ebp - 0x8a8]
push ecx
lea edx, [ebp - 0x8f0]
push edx
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x8d8]
push ecx
lea edx, [ebp - 0x8a4]
push edx
push 0
lea eax, [ebp - 0x8fc]
push eax
call fcn.1007c3c0
add esp, 0x20
mov word [ebp - 0x74], ax
movzx ecx, word [ebp - 0x74]
test ecx, ecx
je 0x100decac
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
mov ax, word [ebp - 0x74]
jmp 0x100def57
mov dword [ebp - 0x8bc], 0xfa000
mov eax, dword [ebp - 0x8bc]
push eax
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009ed0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100decee
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
mov eax, 0x66
jmp 0x100def57
push 0x101bc310
mov eax, dword [ebp + 8]
push eax
call fcn.10003c90
add esp, 8
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0
jne 0x100ded27
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009d90
add esp, 4
mov eax, 0xc9
jmp 0x100def57
push 2
push 0
mov edx, dword [ebp - 0x48c]
push edx
call fcn.10033a60
add esp, 0xc
mov eax, dword [ebp - 0x48c]
push eax
call fcn.10034f20
add esp, 4
sub eax, dword [ebp - 0x8e0]
mov dword [ebp - 0x8d4], eax
push 0
mov ecx, dword [ebp - 0x8e0]
push ecx
mov edx, dword [ebp - 0x48c]
push edx
call fcn.10033a60
add esp, 0xc
push 0x101bc314
mov eax, dword [ebp + 0xc]
push eax
call fcn.10003c90
add esp, 8
mov dword [ebp - 0x8e8], eax
cmp dword [ebp - 0x8e8], 0
jne 0x100dedb5
mov ecx, dword [ebp - 0x48c]
push ecx
call fcn.1002ac50
add esp, 4
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
mov eax, 0xc9
jmp 0x100def57
push 0
mov eax, dword [ebp - 0x8f0]
sub eax, 4
push eax
mov ecx, dword [ebp - 0x8e8]
push ecx
call fcn.10033a60
add esp, 0xc
mov edx, dword [ebp - 0x8e8]
push edx
push 1
push 4
lea eax, [ebp - 0x88c]
push eax
call fcn.10032210
add esp, 0x10
mov dword [ebp - 0xcfc], 0
mov ecx, dword [ebp - 0x8d4]
cmp ecx, dword [ebp - 0xcfc]
jbe 0x100def28
mov edx, dword [ebp - 0x8d4]
sub edx, dword [ebp - 0xcfc]
cmp edx, dword [ebp - 0x8bc]
jae 0x100dee2e
mov eax, dword [ebp - 0x8d4]
sub eax, dword [ebp - 0xcfc]
mov dword [ebp - 0xda8], eax
jmp 0x100dee3a
mov ecx, dword [ebp - 0x8bc]
mov dword [ebp - 0xda8], ecx
mov edx, dword [ebp - 0xda8]
mov dword [ebp - 0x490], edx
mov eax, dword [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x490]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.10032e00
add esp, 0x10
mov dword [ebp - 0x8ec], eax
mov eax, dword [ebp - 0x8ec]
cmp eax, dword [ebp - 0x490]
je 0x100deead
mov ecx, dword [ebp - 0xcf8]
push ecx
call fcn.10009d90
add esp, 4
mov edx, dword [ebp - 0x48c]
push edx
call fcn.1002ac50
add esp, 4
mov eax, dword [ebp - 0x8e8]
push eax
call fcn.1002ac50
add esp, 4
mov eax, 0xca
jmp 0x100def57
mov ecx, dword [ebp - 0x8e8]
push ecx
mov edx, dword [ebp - 0x490]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.10032210
add esp, 0x10
mov dword [ebp - 0x8ec], eax
mov ecx, dword [ebp - 0x8ec]
cmp ecx, dword [ebp - 0x490]
je 0x100def11
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
mov eax, dword [ebp - 0x48c]
push eax
call fcn.1002ac50
add esp, 4
mov ecx, dword [ebp - 0x8e8]
push ecx
call fcn.1002ac50
add esp, 4
mov eax, 0xcb
jmp 0x100def57
mov edx, dword [ebp - 0xcfc]
add edx, dword [ebp - 0x8ec]
mov dword [ebp - 0xcfc], edx
jmp 0x100dedf4
mov eax, dword [ebp - 0x8e8]
push eax
call fcn.1002ac50
add esp, 4
mov ecx, dword [ebp - 0x48c]
push ecx
call fcn.1002ac50
add esp, 4
mov edx, dword [ebp - 0xcf8]
push edx
call fcn.10009d90
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002aab0
mov esp, ebp
pop ebp
ret