Function at 0x1004c2bc
Capabilities:
Enumerate gui resources
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100800a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
push esi
push edi
push 2
lea ecx, [ebp - 0x160]
call fcn.10012956
and dword [ebp - 4], 0
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1f0], 0xe280
mov dword [ebp - 0x1ec], 0xe280
mov dword [ebp - 0x1e8], 0xe280
mov dword [ebp - 0x1e4], 0xe280
mov dword [ebp - 0x5c], 0
jmp 0x1004c333
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1004c34c
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x160]
call fcn.100129c3
and dword [eax], 0
jmp 0x1004c32c
push 0
lea ecx, [ebp - 0x160]
call fcn.100129c3
and dword [eax], 0
jmp 0x1004c382
push 0
lea ecx, [ebp - 0x160]
call fcn.100129c3
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xbc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x160]
call fcn.100129c3
cmp dword [eax], 0xfffffffa
jl 0x1004c597
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x24], 0xfffffff9
mov dword [ebp - 0x1d4], 0xa6e4
mov dword [ebp - 0x1d0], 0xa6e4
mov dword [ebp - 0x1cc], 0xa6e4
mov dword [ebp - 0x1c8], 0xa6e4
lea ecx, [ebp - 0x71]
call fcn.100129d2
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x27c]
call fcn.100129d5
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1a0]
call fcn.10012998
mov byte [ebp - 4], 1
mov dword [ebp - 0x200], 0x214d2fc5
mov dword [ebp - 0x1fc], 0x214d2fc5
mov dword [ebp - 0x1f8], 0x214d2fc5
mov dword [ebp - 0x1f4], 0x214d2fc5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x1004c444
mov dword [ebp - 0xe4], 1
jmp 0x1004c44b
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xe4], eax
jl 0x1004c462
mov dword [ebp - 0x88], 1
jmp 0x1004c469
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x88], eax
jge 0x1004c480
mov dword [ebp - 0xe0], 1
jmp 0x1004c487
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
shl eax, 3
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffff6
je 0x1004c4a5
mov dword [ebp - 0x90], 1
jmp 0x1004c4ac
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 1
jg 0x1004c4c1
mov dword [ebp - 0x124], 1
jmp 0x1004c4c8
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x6c]
push 2
lea ecx, [ebp - 0x1a0]
call fcn.100129c3
push 4
pop ecx
shl ecx, 0
mov eax, dword [eax]
sub eax, dword [ebp + ecx - 0x1f0]
cmp esi, eax
jge 0x1004c506
mov dword [ebp - 0x188], 1
jmp 0x1004c50d
and dword [ebp - 0x188], 0
push 1
lea ecx, [ebp - 0x1a0]
call fcn.100129c3
push 1
lea ecx, [ebp - 0x1a0]
call fcn.100129c3
mov ecx, dword [ebp - 0x30]
cmp dword [eax], ecx
je 0x1004c53d
cmp dword [ebp - 0x30], 0
jne 0x1004c53d
and dword [ebp - 0x98], 0
jmp 0x1004c547
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x24], 0x44ad
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x98]
jge 0x1004c569
mov dword [ebp - 0xec], 1
jmp 0x1004c570
and dword [ebp - 0xec], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xec]
mov dword [ebp + eax - 0x200], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.100129be
jmp 0x1004c35e
mov dword [ebp - 0x34], 0xffffffe9
jmp 0x1004c5a7
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xc
jle 0x1004c637
mov dword [ebp - 0x148], 0x7a0211e9
mov dword [ebp - 0xa0], 1
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1004c5ea
push 0x6da
push 0x341
push 0
push 0xb7b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x1004c61c
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1004c61a
push 0
push 0x10d0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
jmp 0x1004c632
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1004c632
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x1004c5a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100129be
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x58], 0
jmp 0x1004c65d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1004c673
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x29c], 0x1c08901
jmp 0x1004c656
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1004c68f
push 0x1e0b
push 0x2023
call dword [sym.imp.KERNEL32.dll_Beep]
mov dword [ebp - 0x44], 2
jmp 0x1004c69f
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1004c6be
mov dword [ebp - 0x114], 0x1591
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
jmp 0x1004c698
push 3
lea ecx, [ebp - 0x228]
call fcn.10012956
mov dword [ebp - 4], 2
mov dword [ebp - 0x214], 0x3f7e813a
mov dword [ebp - 0x18], 0xd837
mov dword [ebp - 0x64], 0xffff
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x238], 0xe1c2a911
mov dword [ebp - 0x248], 5
mov dword [ebp - 0xd8], 0xffff
push 1
lea ecx, [ebp - 0x1e0]
call fcn.10012956
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
jmp 0x1004c74b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004c761
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2a8], 0x56e3f0e2
jmp 0x1004c744
mov dword [ebp - 0x10], 0
jmp 0x1004c771
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004c78d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1e0]
call fcn.100129c3
mov dword [eax], 0x3b6ac891
jmp 0x1004c76a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x18], eax
je 0x1004c7a7
mov dword [ebp - 0x14c], 1
jmp 0x1004c7ae
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x1004c7c9
mov dword [ebp - 0xa8], 1
jmp 0x1004c7d0
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x8c9d
jne 0x1004c7e8
mov dword [ebp - 0xf4], 1
jmp 0x1004c7ef
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xf4], eax
jne 0x1004c806
mov dword [ebp - 0xb0], 1
jmp 0x1004c80d
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xb0], eax
jne 0x1004c824
mov dword [ebp - 0x134], 1
jmp 0x1004c82b
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x134], eax
jle 0x1004c842
mov dword [ebp - 0xb8], 1
jmp 0x1004c849
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xb8], eax
jge 0x1004c860
mov dword [ebp - 0xfc], 1
jmp 0x1004c867
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xfc], eax
jle 0x1004c87e
mov dword [ebp - 0xc0], 1
jmp 0x1004c885
and dword [ebp - 0xc0], 0
imul eax, dword [ebp - 0xc0], 0x791e
cmp eax, 3
jne 0x1004c8a0
mov dword [ebp - 0x174], 1
jmp 0x1004c8a7
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x68], 3
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x68], eax
jne 0x1004c8cb
mov dword [ebp - 0x11c], 1
jmp 0x1004c8d2
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0x1a812c00
jge 0x1004c8ea
mov dword [ebp - 0xc8], 1
jmp 0x1004c8f1
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x1004c918
cmp dword [ebp - 0x68], 0
jne 0x1004c918
mov dword [ebp - 0xd0], 1
jmp 0x1004c91f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xd0], eax
jg 0x1004c936
mov dword [ebp - 0x164], 1
jmp 0x1004c93d
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x210], eax
mov eax, 0xca3c47a
test eax, eax
je 0x1004c9c2
mov eax, 0x967684ab
test eax, eax
je 0x1004c9c2
mov dword [ebp - 0x12c], 3
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x244], 0xffffffff
mov dword [ebp - 0x24c], 6
mov dword [ebp - 0x54], 0
jmp 0x1004c990
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1004c9a6
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x284], 0x87697ab8
jmp 0x1004c989
mov eax, dword [ebp - 0x12c]
dec eax
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
jmp 0x1004c9ff
mov dword [ebp - 0x10c], 0xc25c
mov dword [ebp - 0x48], 0
jmp 0x1004c9dc
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x1004c9f2
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x2b8], 1
jmp 0x1004c9d5
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
push 0
lea ecx, [ebp - 0x1e0]
call fcn.100129c3
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e0]
call fcn.100129be
mov dword [ebp - 0x254], 0xfffffff6
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x70], 0xdac3
mov dword [ebp - 0x38], 0
jmp 0x1004ca54
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1004ca6a
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x260], 0xffffffff
jmp 0x1004ca4d
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0x580d
call fcn.1004ae6c
add esp, 0x10
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x184], 4
jne 0x1004caa9
mov dword [ebp - 0x84], 1
jmp 0x1004cab0
and dword [ebp - 0x84], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax - 0x260], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.100129be
mov dword [ebp - 0xb4], 9
mov dword [ebp - 0xac], 3
mov dword [ebp - 0x40], 0xfd77ccca
mov dword [ebp - 0x20c], 0xfffffff9
mov dword [ebp - 0x14], 0
jmp 0x1004cb06
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004cb19
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2c], 0x1d925b0e
jmp 0x1004caff
mov dword [ebp - 0x14], 0
jmp 0x1004cb29
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004cb3f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x180], 0xffffffff
jmp 0x1004cb22
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
jne 0x1004ccad
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0xb4], eax
jge 0x1004cb6e
mov dword [ebp - 0x8c], 1
jmp 0x1004cb75
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x8c], eax
jg 0x1004cb93
mov dword [ebp - 0x94], 1
jmp 0x1004cb9a
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xcd2466e9
jbe 0x1004cbb2
mov dword [ebp - 0x9c], 1
jmp 0x1004cbb9
and dword [ebp - 0x9c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x9c], eax
jne 0x1004cbd7
mov dword [ebp - 0xa4], 1
jmp 0x1004cbde
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x1004cc05
mov eax, 0x623b
test eax, eax
jne 0x1004cc05
and dword [ebp - 0x168], 0
jmp 0x1004cc0f
mov dword [ebp - 0x168], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x230], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x204], eax
mov eax, 0x4c55
inc eax
cmp eax, 0x5f40
jg 0x1004cc45
mov dword [ebp - 0x7c], 1
jmp 0x1004cc49
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x40]
jne 0x1004cc67
cmp dword [ebp - 0x40], 0
jne 0x1004cc67
and dword [ebp - 0xc4], 0
jmp 0x1004cc71
mov dword [ebp - 0xc4], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp eax, dword [ebp - 0xc4]
jl 0x1004cc8f
mov dword [ebp - 0xcc], 1
jmp 0x1004cc96
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
jne 0x1004ccad
and dword [ebp - 0xd4], 0
jmp 0x1004ccb7
mov dword [ebp - 0xd4], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax - 0x180], ecx
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x180], 0
je 0x1004cd14
mov dword [ebp - 0x178], 0xe1054d81
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1004ccff
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x178]
mov dword [ebp + eax - 0x180], ecx
jmp 0x1004cd2a
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1004cd2a
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
push 1
lea eax, [ebp - 0x290]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1002ea93
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x26c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x26c]
lea edi, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], 0x53d8da8e
push 2
lea ecx, [ebp - 0x144]
call fcn.10012956
mov dword [ebp - 4], 4
mov dword [ebp - 0x78], 0x598aaf0a
mov dword [ebp - 0xdc], 0x7e7c14ab
mov dword [ebp - 0xe8], 0xdab551fa
mov dword [ebp - 0x110], 0xfffffff8
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x120], 0xdd2e91c8
mov dword [ebp - 0x130], 0x38ca8c98
mov dword [ebp - 0x16c], 0xc914a3a6
mov dword [ebp - 0x234], 0x550e3526
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x144]
push eax
push 0x6ba2
push 0xb79
call fcn.1004b8a1
add esp, 0x14
push 0
lea ecx, [ebp - 0x144]
call fcn.100129c3
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x170], eax
push 0
lea ecx, [ebp - 0x144]
call fcn.100129c3
mov ecx, dword [ebp - 0x170]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xdc], 0xfffffff9
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x78]
dec eax
cmp eax, dword [ebp - 0xe8]
jl 0x1004ce56
mov dword [ebp - 0xf0], 1
jmp 0x1004ce5d
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x50], 1
jb 0x1004ce7b
mov dword [ebp - 0xf8], 1
jmp 0x1004ce82
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0x1f90ef30
je 0x1004ce9a
mov dword [ebp - 0x100], 1
jmp 0x1004cea1
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x100], eax
je 0x1004ceb8
mov dword [ebp - 0x108], 1
jmp 0x1004cebf
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x108], eax
jl 0x1004ceee
cmp dword [ebp - 0x110], 0
jne 0x1004ceee
push 1
lea ecx, [ebp - 0x144]
call fcn.100129c3
cmp dword [eax], 0
jne 0x1004ceee
and dword [ebp - 0x118], 0
jmp 0x1004cef8
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x3c], eax
je 0x1004cf21
mov dword [ebp - 0x128], 1
jmp 0x1004cf28
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x1004cf5b
mov byte [ebp - 0x19], 0
push 0x498e
push 1
push 0x88a
lea eax, [ebp - 0x19]
push eax
call fcn.1004ae6c
add esp, 0x10
jmp 0x1004cf7b
mov dword [ebp - 0x154], 0xfff8
mov dword [ebp - 0x150], 0xfa8fad74
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], eax
push 1
push 0x6559
push 0x4ac7
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.1004b8a1
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.100129be
mov dword [ebp - 0x1c0], 5
mov dword [ebp - 0x1bc], 5
mov dword [ebp - 0x1b8], 5
mov dword [ebp - 0x1b4], 5
lea ecx, [ebp - 0x5d]
call fcn.100129d2
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x274]
call fcn.100129d5
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1ac]
call fcn.10012998
mov dword [ebp - 4], 5
push 0
lea ecx, [ebp - 0x1ac]
call fcn.100129c3
mov dword [eax], 0xfffffff6
jmp 0x1004d046
push 0
lea ecx, [ebp - 0x1ac]
call fcn.100129c3
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x138]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.100129c3
cmp dword [eax], 0xfffffffd
jg 0x1004d089
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1004d073
push 0xeb9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1004d087
push 0
call dword [sym.imp.KERNEL32.dll_EncodePointer]
jmp 0x1004d022
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.100129be
cmp dword [ebp - 0x194], 0
je 0x1004d0b5
push 1
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
call dword [ebp - 0x194]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret