Function at 0x1004715d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068c9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push esi
push edi
push 1
lea eax, [ebp - 0x20c]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1003b5b1
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x1e4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x1e4]
lea edi, [ebp - 0x16c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18c], 0xfffffff7
mov dword [ebp - 0x188], 0xfffffff7
mov dword [ebp - 0x184], 0xfffffff7
mov dword [ebp - 0x180], 0xfffffff7
lea ecx, [ebp - 0x8d]
call fcn.1002ba70
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.1002ba73
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1f0]
call fcn.1002ba27
and dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0xfffffff6
push 1
lea ecx, [ebp - 0x1d0]
call fcn.1002b976
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0
jmp 0x10047235
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x10047251
push dword [ebp - 0x40]
lea ecx, [ebp - 0x1d0]
call fcn.1002ba5b
mov dword [eax], 0xffff
jmp 0x1004722e
mov dword [ebp - 0x4c], 0
jmp 0x10047261
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jg 0x1004727e
mov dword [ebp - 0x138], 0xfffffffc
cmp dword [ebp - 0x138], 0
je 0x1004727c
jmp 0x1004727e
jmp 0x1004725a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.1002ba4d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1002ba4d
push 2
lea ecx, [ebp - 0x78]
call fcn.1002b976
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 0xa66fe7d8
mov dword [ebp - 0xa4], 0xfffffffe
mov dword [ebp - 0x60], 0
jmp 0x100472ce
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x100472e7
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov dword [eax], 6
jmp 0x100472c7
mov dword [ebp - 0x10], 1
jmp 0x100472f7
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004755f
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x13c], 0xfffe
mov dword [ebp - 0x14c], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov eax, dword [eax]
neg eax
jne 0x1004746f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
cmp dword [eax], 0xc3f4f880
jb 0x10047353
mov dword [ebp - 0xd8], 1
jmp 0x1004735a
and dword [ebp - 0xd8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov ecx, dword [ebp - 0xd8]
cmp ecx, dword [eax]
jg 0x1004737b
mov dword [ebp - 0xa8], 1
jmp 0x10047382
and dword [ebp - 0xa8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov eax, dword [eax]
cmp eax, dword [ebp - 0xa8]
jle 0x100473a3
mov dword [ebp - 0x114], 1
jmp 0x100473aa
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0x84e5
jle 0x100473c2
mov dword [ebp - 0x11c], 1
jmp 0x100473c9
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x2a83a0f0
jne 0x100473f9
mov dword [ebp - 0x100], 1
jmp 0x10047400
and dword [ebp - 0x100], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov ecx, dword [ebp - 0x100]
sub ecx, dword [eax]
cmp ecx, 0xffffffff
jl 0x10047424
mov dword [ebp - 0xb0], 1
jmp 0x1004742b
and dword [ebp - 0xb0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jle 0x1004744c
mov dword [ebp - 0xe8], 1
jmp 0x10047453
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
sub eax, 0x593c8699
cmp eax, dword [ebp - 0x13c]
jle 0x1004746f
and dword [ebp - 0xb8], 0
jmp 0x10047479
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0xb8], 0xcea4
je 0x10047491
mov dword [ebp - 0x110], 1
jmp 0x10047498
and dword [ebp - 0x110], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [eax]
jge 0x100474b8
mov dword [ebp - 0xc0], 1
jmp 0x100474bf
and dword [ebp - 0xc0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc0]
jle 0x100474e0
mov dword [ebp - 0xf0], 1
jmp 0x100474e7
and dword [ebp - 0xf0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax]
jne 0x1004751d
cmp dword [ebp - 0x14c], 0
je 0x10047507
jmp 0x1004755f
push 0
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
cmp dword [eax], 0
je 0x1004751b
jmp 0x100472f0
jmp 0x10047549
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10047549
push 0
push 0x20f1
push 0x231
push 0
push 0x205e
push 0x221c
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 1
lea ecx, [ebp - 0x78]
call fcn.1002ba5b
cmp dword [eax], 0
je 0x1004755a
jmp 0x1004755f
jmp 0x100472f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1002ba4d
push 1
lea ecx, [ebp - 0x198]
call fcn.1002b976
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0x37bb0086
push 1
lea ecx, [ebp - 0x128]
call fcn.1002b976
mov byte [ebp - 4], 4
mov dword [ebp - 0x7c], 0xfffd
mov dword [ebp - 0xe0], 3
mov dword [ebp - 0x144], 0xfffffffd
mov dword [ebp - 0x54], 0
jmp 0x100475c9
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x100475e5
push dword [ebp - 0x54]
lea ecx, [ebp - 0x128]
call fcn.1002ba5b
mov dword [eax], 0xad9ddcef
jmp 0x100475c2
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
mov esi, dword [ebp - 0x18]
add esi, 0xa42b
push 0
lea ecx, [ebp - 0x128]
call fcn.1002ba5b
cmp esi, dword [eax]
jg 0x1004762a
mov dword [ebp - 0x160], 1
jmp 0x10047631
and dword [ebp - 0x160], 0
push 0
lea ecx, [ebp - 0x128]
call fcn.1002ba5b
mov ecx, dword [ebp - 0x18]
cmp dword [eax], ecx
jg 0x10047651
mov dword [ebp - 0xc8], 1
jmp 0x10047658
and dword [ebp - 0xc8], 0
mov esi, dword [ebp - 0xc8]
neg esi
push 0
lea ecx, [ebp - 0x128]
call fcn.1002ba5b
cmp esi, dword [eax]
jne 0x1004767d
mov dword [ebp - 0x108], 1
jmp 0x10047684
and dword [ebp - 0x108], 0
push 0
lea ecx, [ebp - 0x128]
call fcn.1002ba5b
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x108]
jne 0x100476ad
mov dword [ebp - 0xd0], 1
jmp 0x100476b4
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xd0], eax
je 0x100476cb
mov dword [ebp - 0xf8], 1
jmp 0x100476d2
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xf8]
jne 0x100476e9
mov dword [ebp - 0x94], 1
jmp 0x100476f0
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x94], eax
jge 0x10047707
mov dword [ebp - 0x118], 1
jmp 0x1004770e
and dword [ebp - 0x118], 0
push 0
lea ecx, [ebp - 0x128]
call fcn.1002ba5b
mov ecx, dword [ebp - 0x118]
mov dword [eax], ecx
cmp dword [ebp - 0x38], 0
je 0x1004773c
push 3
pop eax
test eax, eax
je 0x1004773c
mov dword [ebp - 0x140], 1
jmp 0x10047743
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x18], eax
jge 0x10047778
mov dword [ebp - 0x9c], 1
jmp 0x1004777f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
add eax, 0xc809
cmp eax, 0xc095
jl 0x1004779d
mov dword [ebp - 0xac], 1
jmp 0x100477a4
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x128]
call fcn.1002ba4d
mov dword [ebp - 0xb4], 0x74dd032
mov dword [ebp - 0xbc], 0x8d3c891c
mov dword [ebp - 0x1d4], 0xbf21
push 2
lea ecx, [ebp - 0x1a4]
call fcn.1002b976
mov byte [ebp - 4], 5
mov dword [ebp - 0x84], 0xc6fe23a2
mov dword [ebp - 0x68], 0
jmp 0x10047808
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x10047824
push dword [ebp - 0x68]
lea ecx, [ebp - 0x1a4]
call fcn.1002ba5b
mov dword [eax], 0x7d7c1188
jmp 0x10047801
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0xbc]
test eax, eax
jne 0x1004785c
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
jne 0x1004785c
mov dword [ebp - 0xc4], 1
jmp 0x10047863
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.1002ba5b
mov ecx, dword [ebp - 0xc4]
mov dword [eax], ecx
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1004788c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a4]
call fcn.1002ba4d
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10046ea2
pop ecx
pop ecx
mov dword [ebp - 0x1ac], 0x37bc7528
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x1b0], 0xc4185a1f
mov dword [ebp - 0x1a8], 0xbe39e3c
mov dword [ebp - 0x5c], 0
jmp 0x100478e2
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x100478f8
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x200], 0xfffffffd
jmp 0x100478db
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x30], 0
jmp 0x1004790f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jg 0x1004792e
mov dword [ebp - 0xcc], 0xffffffff
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
jmp 0x10047908
mov dword [ebp - 0x34], 0
jmp 0x1004793e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10047954
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x15c], 1
jmp 0x10047937
mov dword [ebp - 0x28], 1
push 1
lea ecx, [ebp - 0x134]
call fcn.1002b976
mov byte [ebp - 4], 6
mov dword [ebp - 0x6c], 0
jmp 0x1004797c
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x10047998
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x134]
call fcn.1002ba5b
mov dword [eax], 0x7a7c2039
jmp 0x10047975
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x28], 0
jmp 0x100479af
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x10047b42
mov dword [ebp - 0x14], 5
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x100479e1
push 0x693
push 0x1166
push 0xdfc
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x14], 0
jmp 0x100479f1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10047a0d
push dword [ebp - 0x14]
lea ecx, [ebp - 0x134]
call fcn.1002ba5b
mov dword [eax], 4
jmp 0x100479ea
mov dword [ebp - 0x14], 0
jmp 0x10047a1d
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10047b3d
mov dword [ebp - 0x64], 0
jmp 0x10047a37
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x10047a4a
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x44], 2
jmp 0x10047a30
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x44], 0
jmp 0x10047a6f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x44], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
jl 0x10047b38
mov dword [ebp - 0x48], 4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x134]
call fcn.1002ba5b
cmp dword [eax], 0
je 0x10047a9f
jmp 0x10047b38
mov dword [ebp - 0x48], 0
jmp 0x10047aaf
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x10047b33
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x50], 0
jmp 0x10047acc
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x10047b2e
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], 0
jmp 0x10047ae9
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10047b13
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x134]
call fcn.1002ba5b
mov esi, eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x134]
call fcn.1002ba5b
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10047ae2
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10047b2c
push 0
push 0x991
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x10047ac5
jmp 0x10047aa8
jmp 0x10047a5a
jmp 0x10047a16
jmp 0x100479a8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.1002ba4d
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x15c], 0
jmp 0x10047b7c
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x15c]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x15c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x15c], 1
jge 0x10047baa
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x15c]
lea ecx, [ebp - 0x198]
call fcn.1002ba5b
mov dword [eax], 6
jmp 0x10047b63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.1002ba4d
mov dword [ebp - 0x80], 0x565e08cc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x8c], 0x1c587c7a
mov dword [ebp - 0x1c], 0xf928d9ba
mov dword [ebp - 0x2c], 0xa01c77dc
mov dword [ebp - 0xec], 0x3997b09b
mov dword [ebp - 0x98], 0x1fcc8af9
push 4
lea ecx, [ebp - 0x178]
call fcn.1002b976
mov dword [ebp - 4], 7
mov dword [ebp - 0x150], 0xfffffff8
mov dword [ebp - 0x58], 0
jmp 0x10047c21
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x10047c3d
push dword [ebp - 0x58]
lea ecx, [ebp - 0x178]
call fcn.1002ba5b
mov dword [eax], 4
jmp 0x10047c1a
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xf576
jg 0x10047c58
mov dword [ebp - 0xf4], 1
jmp 0x10047c5f
and dword [ebp - 0xf4], 0
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
jne 0x10047c84
cmp dword [ebp - 0x8c], 0
jne 0x10047c84
and dword [ebp - 0xd4], 0
jmp 0x10047c8e
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd4], eax
je 0x10047ca5
mov dword [ebp - 0xdc], 1
jmp 0x10047cac
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0x1c]
jne 0x10047ccf
cmp dword [ebp - 0x80], 0
jne 0x10047ccf
mov eax, 0xffff
test eax, eax
jne 0x10047ccf
and dword [ebp - 0xe4], 0
jmp 0x10047cd9
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x10047d03
cmp dword [ebp - 0x1c], 0
jne 0x10047d03
and dword [ebp - 0x148], 0
jmp 0x10047d0d
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x80], eax
je 0x10047d2a
mov dword [ebp - 0xfc], 1
jmp 0x10047d31
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xf4]
imul eax, dword [ebp - 0xfc]
test eax, eax
je 0x10047d54
cmp dword [ebp - 0x1c], 0
je 0x10047d54
mov dword [ebp - 0x104], 1
jmp 0x10047d5b
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 1
jne 0x10047d70
mov dword [ebp - 0x10c], 1
jmp 0x10047d77
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x98], eax
je 0x10047d9a
mov dword [ebp - 0x88], 1
jmp 0x10047da1
and dword [ebp - 0x88], 0
push 3
lea ecx, [ebp - 0x178]
call fcn.1002ba5b
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
push 0xfffffffffffffffb
pop eax
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x2c], 0xfffffff7
jmp 0x10047dd5
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe3
jg 0x10047e09
mov dword [ebp - 0x24], 0
jmp 0x10047deb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x10047e07
push dword [ebp - 0x24]
lea ecx, [ebp - 0x178]
call fcn.1002ba5b
mov dword [eax], 1
jmp 0x10047de4
jmp 0x10047dce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.1002ba4d
cmp dword [ebp - 0x16c], 0
je 0x10047e35
push 2
push dword [ebp - 0x164]
push dword [ebp - 0x168]
call dword [ebp - 0x16c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret