Function at 0x4b6f2c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7e4e
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 0x154], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x330], ecx
cmp dword [ebp + 0x10], 0
je 0x4b61da
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
cmp eax, 1
jae 0x4b61df
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.00415eb0
movzx eax, byte [eax]
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
sub ecx, 2
mov dword [ebp - 0x334], ecx
cmp dword [ebp - 0x334], 0x48
ja case.0x4b621c.1
mov edx, dword [ebp - 0x334]
movzx eax, byte [edx + 0x4b7fe8]
jmp dword [eax*4 + 0x4b7f80]
cmp dword [0x654810], 0
je 0x4b6231
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x2a4], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x330]
add ecx, 0x268
call fcn.004b9eb0
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.00415eb0
movzx ecx, byte [eax + 1]
mov dword [0x654854], ecx
jmp case.0x4b621c.1
cmp dword [0x654810], 0
je 0x4b6291
jmp case.0x4b621c.1
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 0x10], 1
push 2
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4b630c
push 0x100000
mov eax, dword [ebp - 0x18]
push eax
call fcn.004b8090
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4b630c
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 4], 0
je 0x4b62ff
push 0
push 1
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
call eax
jmp case.0x4b621c.1
cmp dword [0x654810], 0
je 0x4b631f
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
mov dl, byte [ecx + 0x2f8]
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x330]
mov byte [eax + 0x2f8], 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b82f0
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
mov edx, dword [ebp - 0x330]
mov dword [edx + 0x2f4], eax
mov eax, dword [ebp - 0x330]
mov cl, byte [ebp - 0x1d]
mov byte [eax + 0x2f8], cl
jmp case.0x4b621c.1
cmp dword [0x654810], 0
jne 0x4b637b
call fcn.004b37d0
jmp case.0x4b621c.1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.004b91d0
jmp case.0x4b621c.1
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2b4], 0
jne 0x4b641a
push 3
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4b6415
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004a9580
push 0x1f
lea ecx, [ebp - 0x40]
call fcn.004b5ab0
push 0
lea ecx, [ebp - 0x40]
call fcn.004b5ab0
push 0xff
lea ecx, [ebp - 0x40]
call fcn.004b5ab0
push 0
push 2
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
call eax
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x30]
call fcn.004b9c90
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x30]
call fcn.004a96b0
test eax, eax
je 0x4b6583
push 0xf000
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.004a8560
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x33c]
call fcn.004ab500
push eax
call fcn.004b9d10
add esp, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.004970f0
cmp dword [ebp - 0x44], 0
je 0x4b6583
lea ecx, [ebp - 0x60]
call fcn.00403b30
mov dword [ebp - 4], 1
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x48]
call fcn.00403cf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
call fcn.004b5340
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x330]
cmp dword [eax + 4], 0
je 0x4b6549
push 0
push 2
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x64], 1
jne 0x4b6549
push 0x2710
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004ba170
test eax, eax
jg 0x4b6549
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00403d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00403b50
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x44]
call fcn.004b9d60
cmp dword [ebp - 0x64], 1
je 0x4b64c3
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00403d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00403b50
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2b4], 0
jne 0x4b659c
jmp case.0x4b621c.1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x74]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x74]
call fcn.004b9c90
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x74]
call fcn.004a96b0
test eax, eax
je 0x4b66e1
push 0
mov ecx, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x2dc]
call fcn.004a8560
mov dword [ebp - 0x340], eax
mov edx, dword [ebp - 0x340]
mov dword [ebp - 0x344], edx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x344]
call fcn.004ab500
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2dc]
call fcn.004970f0
xor eax, eax
cmp dword [ebp - 0x7c], 0
sete al
push eax
push 0
mov ecx, dword [ebp - 0x68]
push ecx
push 0x20
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [0x6547a0]
call fcn.004a60d0
push 0x400
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x4b66e1
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x88]
call fcn.004a9580
push 0x21
lea ecx, [ebp - 0x88]
call fcn.004b5ab0
xor ecx, ecx
cmp dword [ebp - 0x7c], 0
sete cl
movzx edx, cl
push edx
lea ecx, [ebp - 0x88]
call fcn.004b5ab0
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x88]
call fcn.004a9eb0
test eax, eax
je 0x4b66d4
lea ecx, [ebp - 0x88]
call fcn.004ef740
push eax
mov ecx, dword [ebp - 0x78]
call fcn.0041a080
push 0
push 2
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
call eax
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2b4], 0
jne 0x4b66fa
jmp case.0x4b621c.1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x98]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x98]
call fcn.004b9c90
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x98]
call fcn.004a96b0
test eax, eax
je 0x4b6872
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.004a8560
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x34c], edx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x34c]
call fcn.004ab500
push eax
call fcn.004b57d0
add esp, 4
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.004970f0
xor eax, eax
cmp dword [ebp - 0xa0], 0
sete al
push eax
push 0
mov ecx, dword [ebp - 0x8c]
push ecx
push 0x22
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [0x6547a0]
call fcn.004a60d0
push 0x400
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x4b6872
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xac]
call fcn.004a9580
push 0x23
lea ecx, [ebp - 0xac]
call fcn.004b5ab0
xor ecx, ecx
cmp dword [ebp - 0xa0], 0
sete cl
movzx edx, cl
push edx
lea ecx, [ebp - 0xac]
call fcn.004b5ab0
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xac]
call fcn.004a9eb0
test eax, eax
je 0x4b685f
lea ecx, [ebp - 0xac]
call fcn.004ef740
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.0041a080
push 0
push 2
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [edx + 4]
call eax
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2b4], 0
jne 0x4b688b
jmp case.0x4b621c.1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xc0]
call fcn.004a9580
push 1
lea ecx, [ebp - 0xc0]
call fcn.004b9c90
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004a96b0
test eax, eax
je 0x4b6a77
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004a96b0
test eax, eax
je 0x4b6a77
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x2ec]
call fcn.004a8560
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x354]
call fcn.004ab500
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x2f4]
call fcn.004a8560
mov dword [ebp - 0x358], eax
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x35c], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x35c]
call fcn.004ab500
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f4]
call fcn.004970f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.004970f0
xor eax, eax
cmp dword [ebp - 0xc8], 0
sete al
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
push 0x24
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x6547a0]
call fcn.004a60d0
push 0x400
call fcn.0041a000
add esp, 4
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x4b6a77
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004a9580
push 0x25
lea ecx, [ebp - 0xd4]
call fcn.004b5ab0
xor edx, edx
cmp dword [ebp - 0xc8], 0
sete dl
movzx eax, dl
push eax
lea ecx, [ebp - 0xd4]
call fcn.004b5ab0
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004a9eb0
test eax, eax
je 0x4b6a64
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0xd4]
call fcn.004a9eb0
test eax, eax
je 0x4b6a64
lea ecx, [ebp - 0xd4]
call fcn.004ef740
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.0041a080
push 0
push 2
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x330]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [edx + 4]
call eax
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2b4], 0
jne 0x4b6aa9
push 0
push 0
push 1
push 0x27
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2e4], 0xffffffff
je 0x4b6ad4
push 0
push 0
push 3
push 0x27
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov edx, dword [ebp - 0x330]
mov eax, dword [ebp + 8]
mov dword [edx + 0x2ec], eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xe4]
call fcn.004a9580
push 1
lea ecx, [ebp - 0xe4]
call fcn.004b9c90
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0xe4]
call fcn.004a96b0
test eax, eax
je 0x4b6be3
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004a8560
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x364]
call fcn.004ab500
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x330]
mov dword [edx + 0x2e4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2fc]
call fcn.004970f0
mov eax, dword [ebp - 0x330]
xor ecx, ecx
cmp dword [eax + 0x2e4], 0xffffffff
sete cl
push ecx
push 0
mov edx, dword [ebp - 0xd8]
push edx
push 0x26
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x6547a0]
call fcn.004a60d0
push 0
push 0
mov ecx, dword [ebp - 0x330]
xor edx, edx
cmp dword [ecx + 0x2e4], 0xffffffff
setne dl
sub edx, 1
and edx, 2
push edx
push 0x27
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp 0x4b6bfa
push 0
push 0
push 4
push 0x27
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2b4], 0
jne 0x4b6c2c
push 0
push 0
push 1
push 0x29
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2e4], 0xffffffff
je 0x4b6c4c
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2ec]
cmp eax, dword [ebp + 8]
je 0x4b6c68
push 0
push 0
push 3
push 0x29
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
sub eax, 1
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.00415eb0
add eax, 1
push eax
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2e4]
push eax
call fcn.004b8390
add esp, 0xc
test eax, eax
je 0x4b6cb8
push 0
push 0
push 0
push 0x29
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp 0x4b6ccf
push 0
push 0
push 2
push 0x29
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2b4], 0
jne 0x4b6d01
push 0
push 0
push 1
push 0x2b
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2e4], 0xffffffff
je 0x4b6d31
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2ec]
cmp ecx, dword [ebp + 8]
jne 0x4b6d31
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
cmp eax, 9
jae 0x4b6d4d
push 0
push 0
push 3
push 0x2b
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xf8]
call fcn.004a9580
push 1
lea ecx, [ebp - 0xf8]
call fcn.004b9c90
lea ecx, [ebp - 0xec]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.004b9c50
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0xf8]
call fcn.004b9c50
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
cmp eax, 9
je 0x4b6dd8
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
sub eax, 9
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.00415eb0
add eax, 9
push eax
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2e4]
push ecx
call fcn.004b8390
add esp, 0xc
test eax, eax
je 0x4b6e63
cmp dword [ebp - 0xec], 0
je 0x4b6e17
cmp dword [ebp - 0xe8], 0
je 0x4b6e17
lea edx, [ebp - 0xec]
push edx
call fcn.004b5980
add esp, 4
lea eax, [ebp - 0xec]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x330]
mov dword [edx + 0x2e4], 0xffffffff
mov eax, dword [ebp - 0x330]
mov dword [eax + 0x2ec], 0
push 0
push 0
push 0
push 0x2b
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp 0x4b6e7a
push 0
push 0
push 2
push 0x2b
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
push 0
push 0
push 0
push 0x2a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x6547a0]
call fcn.004a60d0
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2e4], 0xffffffff
je 0x4b6f17
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2ec]
cmp eax, dword [ebp + 8]
jne 0x4b6f17
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x330]
mov dword [eax + 0x2e4], 0xffffffff
push 0
push 2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
push 0
push 0
push 0
push 0x2c
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [0x6547a0]
call fcn.004a60d0
mov edx, dword [ebp - 0x330]
mov dword [edx + 0x2ec], 0
jmp case.0x4b621c.1
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2b4], 0
jne 0x4b6f59
push 0
push 0
push 1
push 0x2e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2e8], 0xffffffff
je 0x4b6f84
push 0
push 0
push 3
push 0x2e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x2f0], edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x110]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x110]
call fcn.004b9c90
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 1
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x110]
call fcn.004a96b0
test eax, eax
je 0x4b71ef
lea edx, [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x110]
call fcn.004a96b0
test eax, eax
jne 0x4b6ffd
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x104]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4b703a
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2fc], 0
je 0x4b703a
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2fc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2fc], 0
je 0x4b7062
mov edx, dword [ebp - 0x330]
mov ecx, dword [edx + 0x2fc]
call fcn.004b9cf0
mov dword [ebp - 0x368], eax
jmp 0x4b706e
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x368], eax
push 0
push 0x80
push 3
push 0
push 1
push connect
mov ecx, dword [ebp - 0x368]
push ecx
lea ecx, [ebp - 0x304]
call fcn.004a8560
mov dword [ebp - 0x36c], eax
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x370], edx
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x370]
call fcn.004ab500
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x330]
mov dword [ecx + 0x2e8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x304]
call fcn.004970f0
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2e8], 0xffffffff
je 0x4b717d
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x118], eax
push 8
lea eax, [ebp - 0x118]
push eax
push 0
push 0x2e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
cmp dword [ebp - 0x118], 0
jne 0x4b7171
cmp dword [ebp - 0x114], 0
jne 0x4b7171
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x330]
mov dword [ecx + 0x2e8], 0xffffffff
mov edx, dword [ebp - 0x330]
mov dword [edx + 0x2f0], 0
jmp 0x4b717b
mov dword [ebp - 0x100], 0
jmp 0x4b7194
push 0
push 0
push 2
push 0x2e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
cmp dword [ebp - 0xfc], 0
je 0x4b71b4
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.004aae40
add esp, 4
mov dword [ebp - 0x374], eax
jmp 0x4b71bd
mov edx, dword [ebp + 8]
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x330]
xor ecx, ecx
cmp dword [eax + 0x2e8], 0xffffffff
sete cl
push ecx
push 0
mov edx, dword [ebp - 0x104]
push edx
push 0x2d
mov eax, dword [ebp - 0x374]
push eax
mov ecx, dword [0x6547a0]
call fcn.004a60d0
jmp 0x4b7206
push 0
push 0
push 4
push 0x2e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
cmp dword [ebp - 0x100], 0
je 0x4b723f
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2fc], 0
je 0x4b723f
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2fc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2b4], 0
jne 0x4b7274
push 0
push 0
push 1
push 0x30
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2e8], 0xffffffff
jne 0x4b72a4
push 0
push 0
push 3
push 0x30
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
jmp case.0x4b621c.1
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2f0]
cmp eax, dword [ebp + 8]
jne 0x4b74d1
mov dword [ebp - 0x120], 1
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x130]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x130]
call fcn.004b9c90
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x130]
call fcn.004a9660
test eax, eax
je 0x4b72fe
cmp dword [ebp - 0x11c], 0
jne 0x4b7308
mov dword [ebp - 0x11c], 0x5000
mov eax, dword [ebp - 0x11c]
add eax, 2
push eax
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4b7481
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x124]
add ecx, 4
call fcn.00415eb0
mov byte [eax], 0x30
mov ecx, dword [ebp - 0x124]
add ecx, 4
call fcn.00415eb0
mov byte [eax + 1], 0
push 0
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x124]
add ecx, 4
call fcn.00415eb0
add eax, 2
push eax
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b7455
mov edx, dword [ebp - 0x134]
add edx, 2
push edx
mov ecx, dword [ebp - 0x124]
call fcn.0041a080
push 0
push 2
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x330]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x134], 0
jne 0x4b7429
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x330]
mov dword [eax + 0x2e8], 0xffffffff
mov ecx, dword [ebp - 0x330]
mov dword [ecx + 0x2f0], 0
push 0
push 0
push 0
push 0x31
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [0x6547a0]
call fcn.004a60d0
jmp 0x4b7453
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2fc], 0
je 0x4b7449
mov ecx, dword [ebp - 0x330]
mov ecx, dword [ecx + 0x2fc]
call fcn.004b9cb0
mov dword [ebp - 0x120], 0
jmp 0x4b746c
push 0
push 0
push 2
push 0x30
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
mov eax, dword [ebp - 0x124]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x124]
mov eax, dword [edx + 4]
call eax
jmp 0x4b7498
push 0
push 0
push 2
push 0x30
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.004b60b0
cmp dword [ebp - 0x120], 0
je 0x4b74d1
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2fc], 0
je 0x4b74d1
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2fc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2f0]
cmp edx, dword [ebp + 8]
jne 0x4b7572
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2e8], 0xffffffff
je 0x4b750d
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x330]
mov dword [eax + 0x2e8], 0xffffffff
mov ecx, dword [ebp - 0x330]
mov dword [ecx + 0x2f0], 0
push 0
push 0
push 0
push 0x33
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [0x6547a0]
call fcn.004a60d0
mov eax, dword [ebp - 0x330]
cmp dword [eax + 0x2fc], 0
je 0x4b7572
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2fc]
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2fc]
mov edx, dword [edx]
mov eax, dword [edx + 8]
call eax
jmp case.0x4b621c.1
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x2b4], 0
jne 0x4b758b
jmp case.0x4b621c.1
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x2fc], 0
je 0x4b75c0
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2fc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
jmp 0x4b76cf
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
cmp eax, 3
jbe 0x4b76cf
push 0x14c
call fcn.005971c5
add esp, 4
mov dword [ebp - 0x30c], eax
mov dword [ebp - 4], 9
cmp dword [ebp - 0x30c], 0
je 0x4b7619
push 0
push 0x4b8040
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x30c]
call fcn.004bf030
mov dword [ebp - 0x378], eax
jmp 0x4b7623
mov dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x308], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x330]
mov edx, dword [ebp - 0x308]
mov dword [ecx + 0x2fc], edx
push 0
push 0
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x2fc]
call fcn.004010d0
test eax, eax
jne 0x4b76cf
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + 0x2fc]
push eax
push 1
mov ecx, dword [ebp - 0x330]
call fcn.004b6150
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x2fc]
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0
je 0x4b76c5
push 1
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x310]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x37c], eax
jmp 0x4b76cf
mov dword [ebp - 0x37c], 0
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x144]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x144]
call fcn.004b9c90
mov ecx, dword [ebp - 0x330]
add ecx, 0x3c
call fcn.00401060
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x144]
call fcn.004b9c50
cmp dword [ebp - 0x138], 0xa
jb 0x4b7737
cmp dword [ebp - 0x138], 0x2710
ja 0x4b7737
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x138]
mov dword [eax + 0x2d8], ecx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x144]
call fcn.004b9c50
cmp dword [ebp - 0x138], 1
jb 0x4b7770
cmp dword [ebp - 0x138], 0x2710
ja 0x4b7770
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x138]
mov dword [eax + 0x2e0], ecx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x144]
call fcn.004b9c50
cmp dword [ebp - 0x138], 1
jb 0x4b77a9
cmp dword [ebp - 0x138], 0x7d0
ja 0x4b77a9
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x138]
mov dword [eax + 0x2dc], ecx
mov ecx, dword [ebp - 0x330]
add ecx, 0x3c
call fcn.00401070
jmp case.0x4b621c.1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x244]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x244]
call fcn.004b9c90
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x244]
call fcn.004b9c50
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x244]
call fcn.004b9c50
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x244]
call fcn.004b9c50
mov eax, dword [ebp - 0x150]
and eax, 0xff
mov dword [ebp - 0x150], eax
push 0xdc
push 0
lea ecx, [ebp - 0x234]
push ecx
call fcn.00597130
add esp, 0xc
mov edx, 0xdc
mov word [ebp - 0x1f0], dx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x1ec], 0x1c0000
push 0
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
mov dword [ebp - 0x238], eax
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
cmp eax, 9
jae 0x4b78ab
mov ecx, dword [ebp - 0x330]
mov byte [ecx + 0x2fa], 1
jmp case.0x4b621c.1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x258]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x258]
call fcn.004b9c90
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x258]
call fcn.004b9c50
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x258]
call fcn.004b9c50
mov ecx, dword [ebp - 0x330]
add ecx, 0x3c
call fcn.00401060
cmp dword [ebp - 0x248], 0
jbe 0x4b791d
cmp dword [ebp - 0x248], 0x64
ja 0x4b791d
mov edx, dword [ebp - 0x330]
mov eax, dword [ebp - 0x248]
mov dword [edx + 0x2d0], eax
cmp dword [ebp - 0x24c], 0
jne 0x4b7945
mov ecx, dword [ebp - 0x330]
mov dword [ecx + 0x2d4], 0xffffffff
mov dword [0x654838], 0
jmp 0x4b79fa
cmp dword [ebp - 0x24c], 1
jne 0x4b796d
mov edx, dword [ebp - 0x330]
mov dword [edx + 0x2d4], 0xffffffff
mov dword [0x654838], 0xfefefe
jmp 0x4b79fa
cmp dword [ebp - 0x24c], 2
jne 0x4b7992
mov eax, dword [ebp - 0x330]
mov dword [eax + 0x2d4], 0xffffffff
mov dword [0x654838], 0xfcfcfc
jmp 0x4b79fa
cmp dword [ebp - 0x24c], 3
jne 0x4b79b7
mov ecx, dword [ebp - 0x330]
mov dword [ecx + 0x2d4], 0xffffffff
mov dword [0x654838], 0xf8f8f8
jmp 0x4b79fa
cmp dword [ebp - 0x24c], 4
jne 0x4b79dc
mov edx, dword [ebp - 0x330]
mov dword [edx + 0x2d4], 0x9c400
mov dword [0x654838], 0
jmp 0x4b79fa
cmp dword [ebp - 0x24c], 0x4e200
jbe 0x4b79fa
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x24c]
mov dword [eax + 0x2d4], ecx
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x258]
call fcn.004a9660
test eax, eax
je 0x4b7a1b
mov eax, dword [ebp - 0x24c]
mov dword [0x654838], eax
mov ecx, dword [ebp - 0x330]
add ecx, 0x3c
call fcn.00401070
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x268]
call fcn.004b9c90
cmp dword [0x654810], 0
jne 0x4b7bbb
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x268]
call fcn.004a96b0
test eax, eax
je 0x4b7bbb
mov dword [ebp - 0x26c], 0
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x268]
call fcn.004a96b0
test eax, eax
jne 0x4b7a9d
mov dword [ebp - 0x274], 0
jmp 0x4b7ad1
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004a96b0
test eax, eax
je 0x4b7ad1
mov edx, dword [ebp - 0x270]
push edx
call fcn.00404c00
add esp, 4
and eax, 1
je 0x4b7ad1
mov dword [ebp - 0x26c], 1
push str.reboot
mov eax, dword [ebp - 0x25c]
push eax
call fcn.0059744d
add esp, 8
test eax, eax
jne 0x4b7b5f
push str.SeShutdownPrivilege
call fcn.004b3ec0
add esp, 4
test eax, eax
jne 0x4b7b23
cmp dword [0x653730], 1
jg 0x4b7b23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shutdown_err_d
push 0x3ad
push 0x5c1a84
push 1
call fcn.00401320
add esp, 0x14
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4b7b5a
cmp dword [0x653730], 1
jg 0x4b7b5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shutdown_err2_d
push 0x3b1
push 0x5c1aa8
push 1
call fcn.00401320
add esp, 0x14
jmp case.0x4b621c.1
cmp dword [ebp - 0x26c], 0
jne 0x4b7b84
push 0
mov ecx, dword [ebp - 0x274]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call fcn.004b4240
add esp, 0xc
test eax, eax
jne 0x4b7bbb
mov eax, dword [ebp - 0x25c]
push eax
push str.logoff
call fcn.0059744d
add esp, 8
test eax, eax
je 0x4b7bbb
push 0xa
push 0
mov ecx, dword [ebp - 0x274]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp case.0x4b621c.1
cmp dword [0x654810], 0
je 0x4b7bce
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.00415eb0
mov al, byte [eax + 1]
mov byte [ebp - 0x275], al
movzx ecx, byte [ebp - 0x275]
and ecx, 3
mov dword [ebp - 0x27c], ecx
je 0x4b7c09
mov edx, dword [ebp - 0x27c]
and edx, 1
mov eax, dword [ebp - 0x330]
mov byte [eax + 0x2f8], dl
movzx ecx, byte [ebp - 0x275]
sar ecx, 2
and ecx, 3
mov dword [ebp - 0x27c], ecx
je 0x4b7c33
mov edx, dword [ebp - 0x27c]
and edx, 1
mov eax, dword [ebp - 0x330]
mov byte [eax + 0x2f9], dl
jmp case.0x4b621c.1
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x288]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x288]
call fcn.004b9c90
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
cmp eax, 0x10
jbe 0x4b7cf4
lea edx, [ebp - 0x2a0]
push edx
lea ecx, [ebp - 0x288]
call fcn.004b9c50
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x288]
call fcn.004b9c50
lea ecx, [ebp - 0x2a4]
push ecx
lea ecx, [ebp - 0x288]
call fcn.004b9c50
lea edx, [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x288]
call fcn.004b9c50
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x298]
push ecx
mov ecx, dword [0x6547a0]
call fcn.004a5be0
jmp 0x4b7d01
push 0
mov ecx, dword [0x6547a0]
call fcn.004a5be0
jmp case.0x4b621c.1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.004a9580
push 1
lea ecx, [ebp - 0x2b8]
call fcn.004b9c90
mov dword [ebp - 0x2ac], 0
mov ecx, dword [ebp + 0x10]
add ecx, 4
call fcn.004ef740
cmp eax, 5
jbe 0x4b7efa
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004a96b0
test eax, eax
je 0x4b7efa
mov ecx, dword [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x2cc]
call fcn.00405120
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x300], 0
jne 0x4b7ee6
push 0xbc
call fcn.005971c5
add esp, 4
mov dword [ebp - 0x31c], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x31c], 0
je 0x4b7dbb
push 1
mov ecx, dword [ebp - 0x31c]
call fcn.00419b70
mov dword [ebp - 0x380], eax
jmp 0x4b7dc5
mov dword [ebp - 0x380], 0
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x330]
mov edx, dword [ebp - 0x318]
mov dword [ecx + 0x300], edx
cmp dword [ebp - 0x330], 0
je 0x4b7e01
mov eax, dword [ebp - 0x330]
add eax, 0x5c
mov dword [ebp - 0x384], eax
jmp 0x4b7e0b
mov dword [ebp - 0x384], 0
mov ecx, dword [ebp - 0x384]
push ecx
push 0xea60
push str.bitRate
lea ecx, [ebp - 0x2cc]
call fcn.00405290
push eax
push 8
push str.sizeIndex
lea ecx, [ebp - 0x2cc]
call fcn.00405290
push eax
push 1
push str.channel
lea ecx, [ebp - 0x2cc]
call fcn.00405290
push eax
push 0x5dc0
push str.sampleRate
lea ecx, [ebp - 0x2cc]
call fcn.00405290
push eax
push 0x7e
mov edx, dword [ebp - 0x330]
mov ecx, dword [edx + 0x300]
call fcn.00419d70
test eax, eax
je 0x4b7e90
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x300]
call fcn.004b9dc0
test eax, eax
jne 0x4b7ee6
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx + 0x300]
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], 0
je 0x4b7ecc
push 1
mov ecx, dword [ebp - 0x320]
call fcn.004b9b70
mov dword [ebp - 0x388], eax
jmp 0x4b7ed6
mov dword [ebp - 0x388], 0
mov ecx, dword [ebp - 0x330]
mov dword [ecx + 0x300], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.00405190
jmp case.0x4b621c.1
mov edx, dword [ebp - 0x330]
cmp dword [edx + 0x300], 0
je case.0x4b621c.1
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 0x300]
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x328], edx
cmp dword [ebp - 0x328], 0
je 0x4b7f45
push 1
mov ecx, dword [ebp - 0x328]
call fcn.004b9b70
mov dword [ebp - 0x38c], eax
jmp 0x4b7f4f
mov dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x330]
mov dword [eax + 0x300], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x154]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0x10