Function at 0x1004a19a
Capabilities:
Create pipe

Disassembly:
mov eax, 0x1006de02
call fcn.1006c680
sub esp, 0x204
push ebx
xor ebx, ebx
mov byte [ebp - 0x44], dl
mov dword [ebp - 0x14], ebx
mov eax, ecx
mov dword [ebp - 0x38], 0x722abac8
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x48], 0x6a191a83
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x34], 0x38b36ced
mov dword [ebp - 0x34], 0xcde30eca
mov dword [ebp - 0x34], 0x91260e2e
push esi
mov dword [ebp - 0x34], 8
push edi
mov dword [ebp - 0x34], 0x3d385e13
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], eax
mov eax, 0x100738bc
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x34], 0xa7054f86
push 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
call fcn.10020d20
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x190]
push dword [ebp + 8]
movdqa xmm0, xmmword [0x100091f0]
lea ecx, [ebp - 0x90]
push eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x34], 0xb407
push eax
push ebx
movdqu xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.10026396
push 3
mov dword [ebp - 0x34], 0x6473
mov dword [ebp - 0x14], ebx
pop esi
jmp 0x1004a287
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1004a27d
push 2
xor edi, edi
mov dword [ebp - 0x14], ebx
pop edx
inc edi
cmp dword [ebp - 0x14], edx
jge 0x1004a2ab
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x134]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x14]
jmp 0x1004a295
mov dword [ebp - 0x14], ebx
jmp 0x1004a3b7
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x30], 0xfff8
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], ebx
jl 0x1004a355
mov dword [ebp - 0x30], 0xc7747bb7
mov dword [ebp - 0x24], 0x7c28cae2
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004a2f6
push ebx
push ebx
push 0x17a5
push 0x20a9
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x70]
cmp eax, edx
setne cl
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x70]
cmp dword [ebp - 0x30], eax
jg 0x1004a321
mov edx, edi
cmp dword [ebp - 0x68], ebx
jne 0x1004a323
mov edx, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x70]
cmp edx, eax
mov eax, dword [ebp - 0x68]
setg cl
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, eax
sete dl
sub edx, 5
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x24], edx
dec dword [ebp - 0x18]
jns 0x1004a2cd
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
push 2
mov ecx, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x48]
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x70]
cmp edx, eax
setg cl
imul ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
xor ecx, ecx
cmp dword [ebp - 0x24], eax
setl cl
imul eax, dword [ebp - 0x30], 0x72c
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setge dl
mov eax, dword [ebp + eax*4 - 0x70]
sub eax, edx
mov dword [ebp - 0x48], eax
inc dword [ebp - 0x14]
pop edx
cmp dword [ebp - 0x14], edx
jle 0x1004a2b3
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x90]
dec dword [eax + 4]
call fcn.10020da4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.10020da4
mov dword [ebp - 0x48], 0x2794
cmp dword [ebp - 0x48], 0x2a10
mov dword [ebp - 0x54], 4
jle 0x1004a449
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x30], ebx
xor eax, esi
lea ecx, [ebp - 0x1fc]
cdq
push edx
push eax
call fcn.1000a883
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1004a41b
mov eax, dword [eax]
push eax
call fcn.10055aff
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x1fc]
call fcn.10021453
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 0x287d
jl 0x1004a401
inc esi
cmp esi, 0x73e5
jl 0x1004a3fc
push 3
pop esi
push 2
lea ecx, [ebp - 0x104]
call fcn.10020d20
cmp dword [ebp - 0x48], 0x26a4
jge 0x1004a46a
push 0x10008f08
call fcn.10055aff
pop ecx
mov dword [ebp - 0x34], 0xe3f2f34e
mov dword [ebp - 0x1c], ebx
jmp 0x1004a485
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x104]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1004a476
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x104]
or dword [ebp - 4], 0xffffffff
mov dword [eax], 0x18
call fcn.10020da4
cmp byte [ebp - 0x44], 0
mov eax, dword [ebp + 8]
mov ecx, dword [0x100738bc]
mov dword [ebp - 0x48], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
je 0x1004a611
cmp ecx, edi
jne 0x1004a611
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], 0x377d6446
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x34], 0x36cedda5
mov dword [eax + 8], 4
mov dword [ebp - 0x14], 0xffffffe4
jmp 0x1004a5fc
mov dword [ebp - 0x28], 0x6de713a4
mov dword [ebp - 0x30], 0x3acdd711
mov dword [ebp - 0x28], 0xffffffed
jmp 0x1004a5ef
mov dword [ebp - 0x18], 0x738ab659
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004a52e
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x18], 0xfffffffb
jmp 0x1004a5e2
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], ebx
jmp 0x1004a553
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xb8], 0xfffffffd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1004a542
mov eax, dword [ebp - 0x38]
xor edx, edx
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
setl dl
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, dword [ebp - 0x38]
imul ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x1004a591
mov eax, ebx
cmp dword [ebp - 0x1c], ebx
je 0x1004a593
mov eax, edi
add eax, 0x89d73ae4
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 5
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 0xb8], eax
setle dl
xor ecx, ecx
imul edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, 0x513c
setl cl
cmp ecx, edx
je 0x1004a5da
mov eax, edi
cmp dword [ebp - 0x18], ebx
jne 0x1004a5dc
mov eax, ebx
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffffc
jl 0x1004a53a
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xfffffffc
jne 0x1004a514
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jge 0x1004a4fa
mov edx, dword [ebp + 8]
mov eax, 0x100738bc
mov dword [edx + 0xc], eax
mov dword [ebp - 0x28], 0xb0b0
lea ecx, [ebp - 0xe0]
push 2
call fcn.10020d20
push 4
pop eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x34], 0x19f23e52
mov dword [ebp - 0x34], eax
push esi
call fcn.10020d20
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], 0xcee05243
mov dword [ebp - 0x30], 0x7d59
mov dword [ebp - 0x14], ebx
jmp 0x1004a667
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe0]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1004a658
mov dword [ebp - 0x14], ebx
jmp 0x1004a685
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x158]
mov dword [eax + ecx*4], 0xfffffff8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1004a672
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x28], edi
jg 0x1004a8d5
mov dword [ebp - 0x18], 0xfffffff6
lea ecx, [ebp - 0x180]
push esi
call fcn.10020d20
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], ebx
jmp 0x1004a6c8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x180]
mov dword [eax + ecx*4], 0xb35d5697
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1004a6b5
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], edi
jg 0x1004a8be
mov dword [ebp - 0x24], 0xe8d
cmp dword [ebp - 0x24], 0x103d
jle 0x1004a761
mov eax, ebx
mov dword [ebp - 0x38], ebx
mov esi, ebx
mov edx, eax
mov ecx, esi
sar edx, cl
mov edi, ebx
mov dword [ebp - 0x14], edx
mov eax, ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [eax + edi]
mov eax, edx
sar eax, cl
mov ecx, 0x10614bf8
cdq
push edx
push eax
call fcn.10020ad3
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x341a
jl 0x1004a700
inc edi
cmp edi, 0x7a72
jl 0x1004a6fb
mov eax, dword [ebp - 0x38]
inc esi
cmp esi, 0x3c92
jl 0x1004a6f0
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 0x811
jl 0x1004a6ee
push 0x16dd
push ebx
push 0xe50
push 0x40f
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
xor edi, edi
push 3
inc edi
pop esi
push 2
lea ecx, [ebp - 0x11c]
call fcn.10020d20
mov byte [ebp - 4], 8
cmp dword [ebp - 0x24], 0xe34
jge 0x1004a7ba
mov edx, 0x10008f40
mov ecx, 0x10614bf8
call fcn.1002537e
jmp 0x1004a7ba
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], 0x953e80c6
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
push esi
call fcn.10020d20
mov dword [ebp - 0x34], 0x8f492357
mov dword [ebp - 0x24], 0xd47cdd53
mov dword [ebp - 0x14], ebx
jmp 0x1004a809
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x11c]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1004a7f9
mov dword [ebp - 0x14], ebx
jmp 0x1004a824
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x128]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1004a814
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004a839
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov eax, dword [ebp - 0x18]
mov edx, edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
dec dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
cmp ecx, 0x65420764
mov eax, dword [ebp - 0x128]
cmovge edx, ebx
xor ecx, ecx
sub edx, dword [eax]
mov eax, dword [ebp - 0x18]
cmp edx, eax
mov eax, dword [ebp - 0x11c]
setge cl
xor edx, edx
add ecx, dword [eax]
mov eax, dword [ebp - 0xe0]
cmp dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x38]
sete dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
call fcn.10020da4
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 6
call fcn.10020da4
inc dword [ebp - 0x18]
push 3
pop esi
jmp 0x1004a6d0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.10020da4
inc dword [ebp - 0x28]
jmp 0x1004a690
lea ecx, [ebp - 0x158]
call fcn.10020da4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.10020da4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x2c], eax
jge 0x1004b518
mov dword [ebp - 0x30], 0xfffffffd
mov ecx, 0x3d21462c
mov dword [ebp - 0x18], edi
xor edx, edx
mov dword [ebp - 0x24], 0xb9c279a2
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x30]
cmp eax, ecx
mov byte [ebp - 0x1d], bl
setge dl
neg edx
je 0x1004a96a
cmp byte [ebp - 0x1d], 0
je 0x1004a959
push 0xe52
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004a97b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1004a97b
cmp byte [ebp - 0x1d], 0
je 0x1004a97b
push 0x1004
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0xc8]
add dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 0x7dcda720
push edi
call fcn.10020d20
mov dword [ebp - 0x24], 0x7d900d29
mov dword [ebp - 0x38], 0x890f6dae
mov dword [ebp - 0x24], 0xfffffffd
mov dword [ebp - 0x1c], ebx
jmp 0x1004a9c4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc8]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1004a9b1
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc8]
cmp dword [eax], ebx
je 0x1004a9f7
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004aae1
call dword [sym.imp.USER32.dll_GetMessageTime]
jmp 0x1004aae1
mov dword [ebp - 0x28], 0xfd17ba7d
mov dword [ebp - 0x24], 0x5ab95dfe
mov dword [ebp - 0x1c], ebx
jmp 0x1004aa17
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xd4], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1004aa0a
mov eax, dword [ebp - 0xd4]
xor edx, edx
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd4]
cmp ecx, eax
setg dl
sub edx, 0xfffc
neg edx
sbb edx, edx
add edx, 0xb
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], edi
jle 0x1004aa65
mov ecx, edi
cmp dword [ebp - 0x38], ebx
jne 0x1004aa67
mov ecx, ebx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x28], ebx
sub ecx, dword [eax]
mov eax, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004aa9d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [ebp - 0x28], 0x10
jmp 0x1004aadb
mov dword [ebp - 0x1c], ebx
jmp 0x1004aab8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1d4], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1004aaab
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004aad0
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
cmp dword [ebp - 0x1c8], ebx
jne 0x1004aae1
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xb
jle 0x1004aaa6
lea ecx, [ebp - 0xc8]
call fcn.10020da4
cmp dword [ebp - 0x2c], 0
jle 0x1004b006
push dword [ebp + 8]
movdqa xmm0, xmmword [0x10009200]
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x14], 0xdf75dcec
push eax
mov dword [ebp - 0x34], 0xfffffff8
lea ecx, [ebp - 0xa4]
push ebx
movdqu xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
call fcn.10026396
push 2
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0xa
call fcn.10020d20
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x24], 0x3337
mov dword [ebp - 0x1c], ebx
jmp 0x1004ab77
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14c]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1004ab67
mov dword [ebp - 0x14], ebx
jmp 0x1004ac2f
mov dword [ebp - 0x18], 0xa35f394
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], 0xc590f023
push 4
call fcn.10020d20
mov dword [ebp - 0x34], 0xa912e755
mov dword [ebp - 0x1c], ebx
jmp 0x1004abc2
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x164]
mov dword [eax + ecx*4], 0x6dc660f7
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1004abaf
mov dword [ebp - 0x18], ebx
jmp 0x1004abfc
mov dword [ebp - 0x34], 0xfffffff9
mov dword [ebp - 0x1c], ebx
jmp 0x1004abea
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x174], 0xa7b09f59
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1004abd9
mov dword [ebp - 0x28], 0x1c157478
inc dword [ebp - 0x24]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffe4
jl 0x1004abcd
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x28], ebx
jl 0x1004ac21
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [ebp - 0x28]
jns 0x1004ac0a
lea ecx, [ebp - 0x164]
call fcn.10020da4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 7
jge 0x1004ab85
lea ecx, [ebp - 0x14c]
call fcn.10020da4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10020da4
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x18], 0x6318
mov dword [ebp - 0x30], 0x23ed15de
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x14], ebx
jmp 0x1004ac7c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x58], 0x585b7f3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1004ac6e
mov dword [ebp - 0x14], ebx
jmp 0x1004ac97
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1c4], 0xfffffffe
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1004ac86
cmp dword [ebp - 0x18], ebx
je 0x1004aca4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], edi
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setg dl
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x1004acf9
mov dword [ebp - 0x24], 0xa2215256
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x30], eax
dec dword [ebp - 0x18]
jns 0x1004acbf
mov eax, dword [ebp - 0x54]
add dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0x57e71f09
mov dword [ebp - 0x24], 0x34f1d4b0
mov dword [ebp - 0x4c], 0xfffffffd
mov dword [ebp - 0x18], ebx
jmp 0x1004ad2a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xbc], 0x25004286
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1004ad19
mov dword [ebp - 0x18], ebx
jmp 0x1004ad45
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1e4], 0xfffffffa
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1004ad34
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
dec edx
cmp edx, eax
setge cl
cmp ecx, 0xbb35
je 0x1004ad6b
mov ecx, ebx
cmp dword [ebp - 0x14], ebx
je 0x1004ad6d
mov ecx, edi
mov eax, dword [ebp - 0x14]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
add edx, 0x7af9ca3
cmp eax, edx
setle cl
sub ecx, dword [ebp - 0x14]
dec ecx
cmp ecx, dword [ebp - 0x14]
jge 0x1004ad9c
mov eax, ebx
cmp dword [ebp - 0x14], ebx
je 0x1004ad9e
mov eax, edi
mov ecx, dword [ebp - 0x14]
xor edx, edx
imul ecx, eax
mov eax, dword [ebp - 0x14]
push esi
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 0x4c]
setns cl
xor edx, edx
cmp ecx, 0x1404fc4b
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x3c]
setg cl
mov dword [ebp - 0x1d8], ecx
lea ecx, [ebp - 0x140]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
call fcn.10020d20
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x1c], ebx
jmp 0x1004ae2a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x140]
mov dword [eax + ecx*4], 0xff0ea75c
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1004ae17
mov dword [ebp - 0x7c], 2
cmp dword [ebp - 0x7c], ebx
jl 0x1004ae5b
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004ae56
push ebx
push 0x1f92
push ebx
push 0x26de
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
dec dword [ebp - 0x7c]
jns 0x1004ae3b
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x78], eax
call fcn.10020da4
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0xb4]
add dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0xfffffff7
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x28], 0x42628217
push edi
call fcn.10020d20
mov dword [ebp - 0x38], 0x372585fa
mov dword [ebp - 0x1c], 0x16e289aa
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x4c], 0x12fd89d6
mov dword [ebp - 0x1c], ebx
jmp 0x1004aec7
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xb4]
mov dword [eax + ecx*4], 0x61718bc6
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1004aeb4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jne 0x1004aee3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 6
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb4]
sub ecx, dword [eax]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0xb187
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jne 0x1004af2d
mov eax, edi
cmp dword [ebp - 0x1c], ebx
jne 0x1004af2f
mov eax, ebx
xor ecx, ecx
cmp eax, edi
mov eax, dword [ebp - 0x38]
setg cl
sub eax, ecx
mov dword [ebp - 0x4c], eax
je 0x1004af47
mov edx, edi
cmp dword [ebp - 0x18], ebx
jne 0x1004af49
mov edx, ebx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0xb4]
setg cl
xor edx, edx
cmp ecx, 0x2c67
setne dl
sub edx, dword [eax]
mov eax, dword [ebp - 0x28]
sub edx, 0x10bf8d6d
add eax, edx
je 0x1004af7a
mov ecx, edi
cmp dword [ebp - 0x28], ebx
jne 0x1004af7c
mov ecx, ebx
mov eax, dword [ebp - 0xb4]
cmp dword [eax], ecx
jne 0x1004af8f
mov dword [ebp - 0x1c], 0x1af53c8c
jmp 0x1004afdd
mov dword [ebp - 0x1c], ebx
jmp 0x1004afd7
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], 0x10
jmp 0x1004afcb
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004afc8
push 0x2377
push ebx
push 0xd03
push 0x1d2
push 0x1f1b
call dword [sym.imp.GDI32.dll_ExtFloodFill]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffed
jle 0x1004afa4
dec dword [ebp - 0x24]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x17
jl 0x1004af94
lea ecx, [ebp - 0xb4]
call fcn.10020da4
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
jne 0x1004aff7
mov ecx, dword [ebp - 0x54]
lea eax, [eax + ecx*2]
add eax, dword [ebp - 0x50]
dec dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
jne 0x1004aaf6
mov dword [ebp - 0x1c], 0xd3df75dc
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x34], 0xee85
mov dword [ebp - 0x40], 0x26ed4bca
mov dword [ebp - 0x2c], ebx
jmp 0x1004b035
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x74], 0x8c007c7b
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], edi
jl 0x1004b027
mov dword [ebp - 0x1c], 0xffffffee
jmp 0x1004b149
mov dword [ebp - 0x18], 0xfffffff9
lea ecx, [ebp - 0xec]
push esi
call fcn.10020d20
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
jmp 0x1004b07b
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xec]
mov dword [eax + ecx*4], 0xc097bc8b
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], esi
jl 0x1004b068
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
mov eax, dword [ebp - 0x18]
sets dl
xor ecx, ecx
cmp eax, edx
setg cl
xor eax, eax
cmp eax, ecx
mov eax, dword [ebp - 0x24]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x1c]
setg cl
mov dword [ebp - 0x50], ecx
xor ecx, ecx
cmp dword [ebp - 0x50], eax
setle cl
cmp ecx, dword [ebp - 0x24]
je 0x1004b0cf
mov ecx, edi
cmp dword [ebp - 0x74], ebx
jne 0x1004b0d1
mov ecx, ebx
mov eax, dword [ebp - 0xec]
mov dword [eax + 4], ecx
mov dword [ebp - 0x18], ebx
jmp 0x1004b131
mov dword [ebp - 0x34], 0xfffffffb
lea ecx, [ebp - 0x170]
push esi
call fcn.10020d20
mov dword [ebp - 0x2c], ebx
jmp 0x1004b10a
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x170]
mov dword [eax + ecx*4], 0x939e63a5
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], esi
jl 0x1004b0f7
inc dword [ebp - 0x40]
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1004b123
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [ebp - 0x170]
call fcn.10020da4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jle 0x1004b0df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.10020da4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x11
jge 0x1004b046
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], 0x4fc2
mov dword [ebp - 0x28], 0xcd24
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], 0xe1734826
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], ebx
jmp 0x1004b1a2
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xa8], 0xa2955e31
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1004b191
mov dword [ebp - 0x2c], 0x4bed
cmp dword [ebp - 0x2c], 0x4f25
jle 0x1004b20e
mov dword [ebp - 0x30], ebx
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x24], 0x7d58
mov ebx, dword [ebp - 0x30]
mov eax, ebx
mov ecx, 0x10614bf8
and eax, edi
cdq
push edx
push eax
call fcn.10020ad3
add edi, esi
dec dword [ebp - 0x24]
jne 0x1004b1c8
inc esi
push 0
pop ebx
cmp esi, 0x771f
jl 0x1004b1bc
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 0x69d1
jl 0x1004b1ba
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esi, dword [ebp - 0x38]
xor edi, edi
inc edi
mov dword [ebp - 0x18], ebx
jmp 0x1004b224
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xf8], 7
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1004b213
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x2c], 0x4a76
jge 0x1004b249
mov edx, 0x10008fd0
mov ecx, 0x10614bf8
call fcn.1002537e
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
jne 0x1004b255
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp eax, edi
setge cl
sub ecx, 0xfffa
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setne dl
cmp edx, 7
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
setle dl
xor eax, eax
cmp edx, 0xbf5f40e1
setne al
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x28], eax
jge 0x1004b324
push 3
mov dword [ebp - 0x2c], ebx
pop ecx
jmp 0x1004b303
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1ac], 0x9da97273
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], ecx
jl 0x1004b2f2
mov dword [ebp - 0x1c], ebx
jmp 0x1004b31a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1ac], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ecx
jl 0x1004b30d
jmp 0x1004b43f
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], 0xe0c0a103
mov dword [ebp - 0x34], 0xdb40437e
mov dword [ebp - 0x24], 0xba2c160e
mov dword [ebp - 0x34], 0x5ab883eb
mov dword [ebp - 0x34], 0xfffffff8
mov dword [ebp - 0x34], 0xd89c1c50
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x1c], 0xdbc0ba88
mov dword [ebp - 0x50], 0x7326dc75
mov dword [ebp - 0x38], 0xfffffffe
mov dword [ebp - 0x50], 0xfffffffd
mov dword [ebp - 0x50], 0x7ece519c
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x2c], ebx
jmp 0x1004b398
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1b8], 0xfffffff7
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 3
jl 0x1004b387
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x50]
sub ecx, 0xfffffffc
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0xf4]
mov ecx, edi
setle dl
imul edx, eax
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0xf4]
cmp eax, edx
mov eax, dword [ebp - 0x14]
cmovge ecx, ebx
xor edx, edx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x94]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
cmp eax, 0xade0
mov eax, dword [ebp - 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
neg ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
dec dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
test ecx, ecx
setle al
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx]
add ecx, edx
test eax, eax
jne 0x1004b518
cmp byte [ebp - 0x44], al
je 0x1004b467
cmp dword [ebp - 0x48], edi
jne 0x1004b467
lea eax, [esi + edx*4]
mov edx, dword [ebp + 8]
add dword [edx + 8], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx]
add ecx, edx
mov dword [ebp - 0x24], eax
push esi
mov eax, dword [ecx]
add ecx, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
call fcn.10050f7a
pop ecx
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
push eax
push esi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.1004f0c8
mov ecx, dword [ebp - 0x64]
mov edx, ebx
mov dword [ebp - 0x40], edx
test esi, esi
jle 0x1004b4f7
mov eax, edx
and eax, 0x80000001
jns 0x1004b4bb
dec eax
or eax, 0xfffffffe
inc eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x24]
add eax, edx
add eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x34]
jmp 0x1004b4d0
lea eax, [edx + 1]
cdq
idiv esi
cmp word [ecx + edx*2], bx
jne 0x1004b4cd
mov eax, dword [ebp - 0x3c]
mov word [ecx + edx*2], di
mov ecx, dword [ebp - 0x30]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x40]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x40], edx
cmp edx, esi
jl 0x1004b4ad
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edi], esi
mov dword [edi + 4], eax
test ecx, ecx
je 0x1004b51b
push ecx
call fcn.10055c67
pop ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
jmp 0x1004b51b
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0x824a8c6a
mov dword [ebp + 8], 0xd21dfe4
mov dword [ebp - 0x24], 0x3187110e
mov dword [ebp + 8], ebx
jmp 0x1004b546
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x20c], 6
inc dword [ebp + 8]
cmp dword [ebp + 8], 4
jl 0x1004b535
mov dword [ebp - 0x2c], 0xffffffe9
jmp 0x1004b596
push 2
lea ecx, [ebp - 0x110]
call fcn.10020d20
mov dword [ebp + 8], ebx
jmp 0x1004b57a
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x110]
mov dword [eax + ecx*4], 0x8a137b18
inc dword [ebp + 8]
cmp dword [ebp + 8], 2
jl 0x1004b567
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
dec dword [eax]
call fcn.10020da4
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xfffffff3
jl 0x1004b555
inc dword [ebp - 0x24]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret