Function at 0x10008014
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053ad5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x254
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x10008c26
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x15c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x130]
movzx eax, byte [eax]
test eax, eax
je 0x10008202
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x6c], 0x64cb
mov dword [ebp - 0x110], str.iajqre_gqakqdc_mpvhlzv_pkrfshhx_awkcembx_gmptisdqz_taywcef
cmp dword [ebp - 0x6c], 0x6596
jle 0x1000815b
and dword [ebp - 0x50], 0
jmp 0x10008104
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2e85
jge 0x10008151
and dword [ebp - 0x34], 0
jmp 0x1000811a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6093
jge 0x1000814f
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], edx
push dword [ebp - 0x160]
push dword [ebp - 0x164]
mov ecx, 0x1006de98
call fcn.1000bb28
jmp 0x10008113
jmp 0x100080fd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x6c], 0x625e
jge 0x10008184
mov edx, dword [ebp - 0x110]
mov ecx, 0x1006de98
call fcn.100102b0
jmp 0x100081a0
or dword [ebp - 4], 0xffffffff
jmp 0x100081aa
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x120], eax
push dword [ebp - 0x120]
mov eax, dword [ebp - 0xe4]
push dword [eax]
mov eax, dword [ebp - 0x128]
push dword [eax]
lea eax, [ebp - 0x24c]
push eax
call fcn.1000586d
add esp, 0x10
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
mov ecx, dword [ebp - 0xb8]
call fcn.1000bc78
lea ecx, [ebp - 0x24c]
call fcn.1000bc9d
jmp 0x10008c21
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x1006f860]
and eax, 1
jne 0x1000824e
mov eax, dword [0x1006f860]
or eax, 1
mov dword [0x1006f860], eax
mov dword [ebp - 4], 2
mov ecx, 0x1006f838
call fcn.1000c168
push 0x10054d90
call fcn.1003dc2b
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0
jmp 0x1000825e
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10008271
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x3c], 7
jmp 0x10008257
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x3c], 0x11
jmp 0x10008296
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0xffffffee
jne 0x100082c7
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100082c5
push 0x5752
push 0
push 1
push 0x6e6f
call fcn.10003e1f
add esp, 0x10
jmp 0x10008281
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call fcn.10003720
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1a4], 0xffff
mov dword [ebp - 0x1a0], 0xffff
mov dword [ebp - 0x19c], 0xffff
mov dword [ebp - 0x198], 0xffff
lea ecx, [ebp - 0x5d]
call fcn.10001c04
push eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x210]
call fcn.1000be1f
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1c4]
call fcn.1000bdf9
mov dword [ebp - 4], 3
push 4
lea ecx, [ebp - 0xb4]
call fcn.10001b7c
mov byte [ebp - 4], 4
push 0x6902
lea eax, [ebp - 0xb4]
push eax
push 0
push 0x5aeb
push 0
lea eax, [ebp - 0x1b4]
push eax
call fcn.10004a6a
add esp, 0x18
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x90], 0x7924
mov dword [ebp - 0x140], str.mul_njo_endl_kvq_crv_kzpm_vafubhycs_dwnzgc_bgjmhsxut_mvkyyypo_scinmgmw_ospmhoch_yfpruon
cmp dword [ebp - 0x90], 0x7d0b
jle 0x1000845b
and dword [ebp - 0x2c], 0
jmp 0x1000839f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3bfb
jge 0x1000845b
and dword [ebp - 0x4c], 0
jmp 0x100083b9
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x7fed
jge 0x10008456
and dword [ebp - 0x58], 0
jmp 0x100083d3
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xfe5
jge 0x10008451
and dword [ebp - 0x44], 0
jmp 0x100083e9
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1ec0
jge 0x1000844c
mov eax, dword [ebp - 0x58]
cdq
idiv dword [ebp - 0x44]
and edx, dword [ebp - 0x4c]
or edx, dword [ebp - 0x2c]
mov eax, edx
cdq
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], edx
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
lea ecx, [ebp - 0x234]
call fcn.10002543
pop ecx
pop ecx
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
call fcn.1000b763
push eax
call fcn.1003de4c
pop ecx
lea ecx, [ebp - 0x234]
call fcn.1000b724
jmp 0x100083e2
jmp 0x100083cc
jmp 0x100083b2
jmp 0x10008398
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10008481
push 0
push 0x4d1d
push 0x2a8b
push 0x3d06
push 0x7475
call fcn.10009620
add esp, 0x14
mov byte [ebp - 4], 5
cmp dword [ebp - 0x90], 0x7626
jge 0x1000849d
push dword [ebp - 0x140]
call fcn.1003de4c
pop ecx
jmp 0x100084b9
mov dword [ebp - 4], 4
jmp 0x100084c9
push 3
lea ecx, [ebp - 0xb4]
call fcn.10001bf5
and dword [eax], 0
jmp 0x100084f6
push 3
lea ecx, [ebp - 0xb4]
call fcn.10001bf5
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0xb4]
call fcn.10001bf5
cmp dword [eax], 3
jg 0x1000857a
mov dword [ebp - 0x148], 0x31d8b9db
mov dword [ebp - 0x104], 0x2bd42ca8
lea eax, [ebp - 0xb4]
push eax
push 0x293e
lea eax, [ebp - 0x104]
push eax
push 0xb7f
lea eax, [ebp - 0x148]
push eax
push 1
lea eax, [ebp - 0x1c4]
push eax
push 0
push 0
push 0x29c2
call fcn.1000a94c
add esp, 0x28
push 0x23f6
push 0x6717
push 1
push 0x5f25
push 0
push 0x4508
call fcn.10004a6a
add esp, 0x18
jmp 0x100084db
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.10001bd9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.10001bd9
cmp dword [ebp - 0x64], 3
jae 0x100087f4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x1d4]
push eax
mov ecx, 0x1006f838
call fcn.1000beea
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x1cc]
push eax
mov ecx, 0x1006f838
call fcn.1000bef8
mov ecx, eax
call fcn.1000bf0d
movzx eax, al
test eax, eax
je 0x100087f4
mov dword [ebp - 0x18], 0xb9f9b319
mov dword [ebp - 0xa0], 0xe637c5b1
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x7c], 0x41a80d1c
mov dword [ebp - 0x158], 0xfffffff7
mov dword [ebp - 0x18], 0
jmp 0x10008643
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x14
jne 0x100087c7
mov dword [ebp - 0x20], 0x36f6dd8d
mov dword [ebp - 0x68], 0xffffffff
push 0x41b0
push 0x208c
push 0x551d
push 0
push 1
push 1
push 0x4ba1
call fcn.10005dc5
add esp, 0x1c
cmp dword [ebp - 0x20], 0
je 0x100087af
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x100086ab
mov dword [ebp - 0x80], 1
jmp 0x100086af
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x80], eax
jge 0x100086c3
mov dword [ebp - 0x98], 1
jmp 0x100086ca
and dword [ebp - 0x98], 0
imul eax, dword [ebp - 0x98], 0x70ed
mov dword [ebp - 0x88], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x190], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x88], eax
jle 0x10008703
mov dword [ebp - 0xa8], 1
jmp 0x1000870a
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xea31
jg 0x1000871f
mov dword [ebp - 0x70], 1
jmp 0x10008723
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x70], eax
je 0x1000873a
cmp dword [ebp - 0x68], 0
je 0x1000873a
mov dword [ebp - 0x74], 1
jmp 0x1000873e
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x74]
jge 0x10008752
mov dword [ebp - 0x150], 1
jmp 0x10008759
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x10008780
cmp dword [ebp - 0x20], 0
je 0x10008780
mov dword [ebp - 0x84], 1
jmp 0x10008787
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0x17a9413e
jne 0x100087af
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x190], 0
je 0x100087af
mov dword [ebp - 0x8c], 1
jmp 0x100087b6
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x158], eax
jmp 0x1000863c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x1006f838
call fcn.1000c1bc
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.1000bd70
jmp 0x10008cb3
mov dword [ebp - 0x14c], 0xc69aed23
mov dword [ebp - 0x168], 0xffffffff
mov dword [ebp - 0x154], 0x205b2906
mov dword [ebp - 0x12c], 5
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0x124], 0xfffffff6
mov dword [ebp - 0x134], 0xfffffffc
push 1
push 0x5e4f
push 0x495e
push 0
push 0x2b3
push 1
call fcn.10004039
add esp, 0x18
push 0x64cb
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
lea eax, [ebp - 0x124]
push eax
push 0x3661
push 1
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x154]
push eax
push 0x7b9e
push 0x4bc1
lea eax, [ebp - 0x134]
push eax
call fcn.1000386f
add esp, 0x34
lea eax, [ebp - 0x21c]
push eax
call fcn.100025b0
pop ecx
mov esi, eax
lea edi, [ebp - 0x208]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x208]
lea edi, [ebp - 0x1fc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call fcn.10003747
mov dword [ebp - 0xc0], eax
push 4
lea ecx, [ebp - 0x1b0]
call fcn.10001b7c
mov dword [ebp - 4], 7
mov dword [ebp - 0x13c], 0xfffffff7
mov dword [ebp - 0x1b8], 0xe90a624c
mov dword [ebp - 0x30], 0
jmp 0x10008917
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jge 0x10008933
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1b0]
call fcn.10001bf5
mov dword [eax], 4
jmp 0x10008910
push 0x6a3f
push 0x1b52
push 1
push 0x37bd
push 1
push 0x179
push 0x3ed7
push 0
push 0x31d7
call fcn.100046e8
add esp, 0x24
mov dword [ebp - 0x94], 0x5b13
mov dword [ebp - 0xbc], str.tktz_vmmydes_ameuujrfj_rfpi
cmp dword [ebp - 0x94], 0x5e83
jle 0x10008a41
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
and dword [ebp - 0x48], 0
jmp 0x10008998
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x2d0d
jge 0x10008a2f
and dword [ebp - 0x38], 0
jmp 0x100089b2
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5301
jge 0x10008a2a
and dword [ebp - 0x40], 0
jmp 0x100089c8
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x58e9
jge 0x10008a28
mov eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0x40]
and edx, dword [ebp - 0x48]
mov eax, edx
cdq
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
lea ecx, [ebp - 0x264]
call fcn.10002543
pop ecx
pop ecx
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
call fcn.1000b763
push eax
call fcn.1003de4c
pop ecx
lea ecx, [ebp - 0x264]
call fcn.1000b724
jmp 0x100089c1
jmp 0x100089ab
jmp 0x10008991
push 0
push 0x26e2
push 0x539
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x477
lea eax, [ebp - 0x1b0]
push eax
push 0x5dda
push 0
push 1
push 0x4381
push 0x3569
push 0
push 0x7351
lea eax, [ebp - 0x13c]
push eax
call fcn.1000706f
add esp, 0x28
mov byte [ebp - 4], 8
cmp dword [ebp - 0x94], 0x58a3
jge 0x10008a92
push dword [ebp - 0xbc]
call fcn.1003de4c
pop ecx
jmp 0x10008aae
mov dword [ebp - 4], 7
jmp 0x10008abe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.10001bd9
lea eax, [ebp - 0x1fc]
push eax
push dword [ebp - 0xc0]
push dword [ebp - 0x64]
lea eax, [ebp - 0x1f0]
push eax
call fcn.10003784
add esp, 0x10
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0x28], 0
jmp 0x10008b14
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x10008b2a
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xd0], 1
jmp 0x10008b0d
push 0x2222
lea eax, [ebp - 0x5c]
push eax
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.10008e62
add esp, 0x10
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xd0], eax
cmp dword [ebp - 0x64], 3
jae 0x10008bcf
mov dword [ebp - 0x1d8], 0xfffe
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10008b8c
push 0x5f86
push 1
push 1
push 0x3db8
call fcn.10003e1f
add esp, 0x10
push 0x4a81
push 0
push 0x65f8
push 0x5075
call fcn.1000a91b
add esp, 0x10
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 0x1006f838
call fcn.1000c1bc
mov ecx, eax
call fcn.1000bd70
push 1
push 0x3422
push 0x2b3f
push 1
push 0x398e
push 1
call fcn.10004039
add esp, 0x18
lea eax, [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.1000bd70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1000bd66
jmp 0x10008cb3
jmp 0x10008cb3
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x10008c79
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
jmp 0x10008cb3
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x10008cb3
push 0x3c1
push 0x1968
push 0x5a3
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret