joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cdc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, ecx
mov ecx, edi
call fcn.00413a90
lea ecx, [esp + 8]
call fcn.004146b0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], 0
call fcn.004141f0
lea ecx, [esp + 8]
call fcn.004138b0
push 0x3d
lea ecx, [esp + 0xc]
call fcn.00413b00
lea ecx, [esp + 8]
call fcn.00443b00
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.0045d8d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x413e4c
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004149a0
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 8]
call fcn.00443b10
add esi, eax
push 0x3b
push esi
call fcn.0045d810
add esp, 8
test eax, eax
jne 0x413e70
push esi
mov ecx, edi
call fcn.004141f0
jmp 0x413e7b
sub eax, esi
mov ecx, edi
push eax
push esi
call fcn.00414430
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004149a0
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x4140e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cdf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call fcn.004146b0
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0
call fcn.004146b0
mov edi, dword [esi + 0xc]
mov byte [esp + 0x54], 1
xor bl, bl
push 0x25
push edi
call fcn.0045d810
mov esi, eax
add esp, 8
test esi, esi
je 0x41419a
inc esi
push 0x25
push esi
call fcn.0045d810
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x41419a
lea ecx, [esp + 0x30]
mov bl, 1
call fcn.00413a90
mov eax, ebp
lea ecx, [esp + 0x30]
sub eax, esi
push eax
push esi
call fcn.00414430
dec esi
cmp esi, edi
jbe 0x414175
sub esi, edi
lea ecx, [esp + 0x14]
push esi
push edi
call fcn.00414430
lea ecx, [esp + 0x30]
lea edi, [ebp + 1]
call fcn.00443b00
push eax
call fcn.0045de9d
add esp, 4
test eax, eax
je 0x414126
push eax
lea ecx, [esp + 0x18]
call fcn.004141f0
jmp 0x414126
push edi
lea ecx, [esp + 0x18]
call fcn.004141f0
pop edi
pop esi
pop ebp
test bl, bl
pop ebx
je 0x4141ba
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
call fcn.004156e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0
call fcn.004149a0
lea ecx, [esp + 4]
mov dword [esp + 0x44], 0xffffffff
call fcn.004149a0
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x415240
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cf56
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
mov esi, ecx
push edi
cmp byte [esi + 8], 0xaa
je 0x41526f
push 0
call fcn.0041c110
add esp, 4
mov ecx, esi
call fcn.00443b10
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0042fda0
lea ecx, [esp + 8]
mov dword [esp + 0xc8], 0
call fcn.0041c140
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xd0]
lea eax, [esp + 8]
mov byte [esp + 0xc8], 1
push eax
push edi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0043ba30
mov ecx, esi
call fcn.00413a90
lea ecx, [esp + 8]
call fcn.0041c000
push eax
lea ecx, [esp + 0xc]
call fcn.00443b00
push eax
mov ecx, esi
call fcn.00414430
lea ecx, [esp + 8]
mov byte [esp + 0xc8], 0
call fcn.0041c880
lea ecx, [esp + 0x20]
mov dword [esp + 0xc8], 0xffffffff
call fcn.0042fdf0
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xc4
ret 4

Function at 0x415320
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cf76
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
mov esi, ecx
push edi
cmp byte [esi + 8], 0xaa
je 0x41534f
push 0
call fcn.0041c110
add esp, 4
mov ecx, esi
call fcn.00443b10
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0042fda0
lea ecx, [esp + 8]
mov dword [esp + 0xc8], 0
call fcn.0041c140
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xd0]
lea eax, [esp + 8]
mov byte [esp + 0xc8], 1
push eax
push edi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0043ba00
mov ecx, esi
call fcn.00413a90
lea ecx, [esp + 8]
call fcn.0041c000
push eax
lea ecx, [esp + 0xc]
call fcn.00443b00
push eax
mov ecx, esi
call fcn.00414430
lea ecx, [esp + 8]
mov byte [esp + 0xc8], 0
call fcn.0041c880
lea ecx, [esp + 0x20]
mov dword [esp + 0xc8], 0xffffffff
call fcn.0042fdf0
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xc4
ret 4

Function at 0x4161f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004146b0
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], 0
mov ecx, edi
call fcn.004176e0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esi + 0x138]
call fcn.004295f0
mov bl, al
test bl, bl
je 0x416255
lea ecx, [esp + 0xc]
call fcn.00443b00
push eax
mov ecx, edi
call fcn.004177d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004149a0
mov ecx, dword [esp + 0x28]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4172d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
push edi
mov esi, ecx
je 0x4172e2
mov dword [eax], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4172f1
pop edi
xor al, al
pop esi
ret 0x10
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x417300
pop edi
xor al, al
pop esi
ret 0x10
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
jne 0x41730f
pop edi
mov al, 1
pop esi
ret 0x10
lea edx, [esp + 0xc]
push 0
push edx
push ecx
push edi
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41734e
mov al, byte [esi + 0x20]
test al, al
je 0x417340
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0xffffffff
pop edi
mov al, 1
pop esi
ret 0x10
push ebx
push eax
push edi
lea ecx, [esi + 8]
call fcn.00443610
mov ecx, dword [esi + 0x18]
mov bl, 1
test ecx, ecx
je 0x417392
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1c], 0
call fcn.00421510
mov al, byte [esp + 0x14]
test al, al
je 0x417392
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x417390
mov edx, dword [ecx]
push str.Aborted_by_application
call dword [edx + 0x14]
xor bl, bl
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ecx, ecx
je 0x4173a0
mov dword [ecx], eax
mov ecx, dword [esi + 0x10]
add ecx, eax
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 0x14]
adc eax, 0
mov dword [esi + 0x14], eax
mov al, bl
pop ebx
pop edi
pop esi
ret 0x10

Function at 0x4186d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46d38b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
lea ecx, [esp]
call fcn.00446730
lea ecx, [esp]
mov dword [esp + 0x3b4], 0
call fcn.00446780
test al, al
je 0x418735
lea eax, [esp + 0x98]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x3c0]
call fcn.00417770
jmp 0x418789
lea edx, [esp + 0x1a0]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x418775
lea eax, [esp + 0x98]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x3c0]
call fcn.00417770
jmp 0x418789
mov ecx, dword [esp + 0x3bc]
lea edx, [esp + 0x1a0]
push edx
call fcn.00417890
lea ecx, [esp]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00446770
mov ecx, dword [esp + 0x3ac]
mov dword fs:[0], ecx
add esp, 0x3b8
ret
Function at 0x4187c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46d3ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
lea ecx, [esp + 0x108]
call fcn.00446730
lea ecx, [esp + 0x108]
mov dword [esp + 0x3b4], 0
call fcn.00446780
test al, al
je 0x418827
lea eax, [esp]
push eax
push 0x104
call fcn.0043d100
add esp, 8
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x3c0]
call fcn.00417770
jmp 0x41887f
lea edx, [esp + 0x1a0]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41886b
lea eax, [esp]
push eax
push 0x104
call fcn.0043d100
add esp, 8
test eax, eax
jne 0x418858
mov byte [esp], al
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x3c0]
call fcn.00417770
jmp 0x41887f
mov ecx, dword [esp + 0x3bc]
lea edx, [esp + 0x1a0]
push edx
call fcn.00417890
lea ecx, [esp + 0x108]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00446770
mov ecx, dword [esp + 0x3ac]
mov dword fs:[0], ecx
add esp, 0x3b8
ret

Function at 0x4189a0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x46d40c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
lea ecx, [esp + 0x7c]
call fcn.00417560
lea ecx, [esp + 0x1c]
mov dword [esp + 0x17c], 0
call fcn.00417560
mov eax, dword [esp + 0x184]
lea ecx, [esp + 0x7c]
push eax
mov byte [esp + 0x180], 1
call fcn.00418210
mov ecx, dword [esp + 0x188]
push ecx
lea ecx, [esp + 0x20]
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0x84]
call fcn.00418410
push 0x5c
push 0x2f
lea ecx, [esp + 0x24]
call fcn.00418410
lea ecx, [esp + 0xdc]
call fcn.00446730
lea ecx, [esp + 0xdc]
mov byte [esp + 0x17c], 2
call fcn.00446780
test al, al
lea ecx, [esp + 0x1c]
je 0x418a64
call fcn.00417cf0
push eax
lea ecx, [esp + 0x80]
call fcn.00417cf0
push eax
call fcn.0043d080
add esp, 8
jmp 0x418a7d
call fcn.00417970
push eax
lea ecx, [esp + 0x80]
call fcn.00417970
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
and eax, 0xff
test eax, eax
jne 0x418b32
push esi
mov esi, dword [esp + 0x190]
test esi, esi
je 0x418ade
push edi
lea ecx, [esp + 8]
call fcn.004146b0
lea ecx, [esp + 8]
mov byte [esp + 0x184], 3
call fcn.004159e0
mov edi, dword [esi]
lea ecx, [esp + 8]
call fcn.00443b00
push eax
push str.errorMsg
mov ecx, esi
call dword [edi + 0x28]
lea ecx, [esp + 8]
mov byte [esp + 0x184], 2
call fcn.004149a0
pop edi
lea ecx, [esp + 0xe0]
mov byte [esp + 0x180], 1
call fcn.00446770
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 0
call fcn.00417620
lea ecx, [esp + 0x80]
mov dword [esp + 0x180], 0xffffffff
call fcn.00417620
xor al, al
pop esi
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
add esp, 0x180
ret
lea ecx, [esp + 0xdc]
mov byte [esp + 0x17c], 1
call fcn.00446770
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17c], 0
call fcn.00417620
lea ecx, [esp + 0x7c]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0x174]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x418b90
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x46d441
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
lea ecx, [esp + 4]
call fcn.00417560
lea ecx, [esp + 0x64]
mov dword [esp + 0x164], 0
call fcn.00417560
mov eax, dword [esp + 0x16c]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x168], 1
call fcn.00418210
mov ecx, dword [esp + 0x170]
push ecx
lea ecx, [esp + 0x68]
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0xc]
call fcn.00418410
push 0x5c
push 0x2f
lea ecx, [esp + 0x6c]
call fcn.00418410
lea ecx, [esp + 0xc4]
call fcn.00446730
lea ecx, [esp + 0xc4]
mov byte [esp + 0x164], 2
call fcn.00446780
test al, al
je 0x418c5e
mov al, byte [esp + 0x174]
xor edx, edx
test al, al
setne dl
push edx
lea ecx, [esp + 0x68]
call fcn.00417cf0
push eax
lea ecx, [esp + 0xc]
call fcn.00417cf0
push eax
call fcn.0043d0a0
add esp, 0xc
jmp 0x418c87
mov dl, byte [esp + 0x174]
xor eax, eax
test dl, dl
setne al
push eax
lea ecx, [esp + 0x68]
call fcn.00417970
push eax
lea ecx, [esp + 0xc]
call fcn.00417970
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x164], 1
setne bl
call fcn.00446770
lea ecx, [esp + 0x64]
mov byte [esp + 0x164], 0
call fcn.00417620
lea ecx, [esp + 4]
mov dword [esp + 0x164], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0x15c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret

Function at 0x418ce0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46d466
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
lea ecx, [esp + 4]
call fcn.00417560
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x108], 0
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0xc]
call fcn.00418410
lea ecx, [esp + 0x64]
call fcn.00446730
lea ecx, [esp + 0x64]
mov byte [esp + 0x104], 1
call fcn.00446780
test al, al
lea ecx, [esp + 4]
je 0x418d60
call fcn.00417cf0
push eax
call fcn.0043d070
add esp, 4
jmp 0x418d6c
call fcn.00417970
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x104], 0
setne bl
call fcn.00446770
lea ecx, [esp + 4]
mov dword [esp + 0x104], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0xfc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret
Function at 0x419350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d4c6
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
mov ebx, dword [esp + 0x114]
push esi
mov esi, dword [esp + 0x114]
push edi
mov edi, dword [esp + 0x114]
mov dword [ebx], 0
mov ecx, edi
mov dword [esi], 0xffffffff
call fcn.00417690
test eax, eax
jne 0x4193b6
mov ecx, dword [esp + 0x120]
test ecx, ecx
je 0x4193af
mov eax, dword [ecx]
push str.GetAttributes:_filename_is_empty
call dword [eax + 0x10]
xor al, al
jmp 0x419475
lea ecx, [esp + 0xc]
call fcn.00417560
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x110], 0
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
call fcn.00418410
lea ecx, [esp + 0x6c]
call fcn.00446730
lea ecx, [esp + 0xc]
mov byte [esp + 0x10c], 1
call fcn.00417ae0
test al, al
jne 0x419425
lea ecx, [esp + 0x6c]
call fcn.00446780
test al, al
jne 0x419425
lea ecx, [esp + 0xc]
call fcn.00417970
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x419446
jmp 0x41943e
lea ecx, [esp + 0xc]
call fcn.00417cf0
push eax
call fcn.0043d0c0
add esp, 4
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x419446
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov eax, dword [esi]
lea ecx, [esp + 0x6c]
cmp eax, 0xffffffff
mov byte [esp + 0x10c], 0
setne bl
call fcn.00446770
lea ecx, [esp + 0xc]
mov dword [esp + 0x10c], 0xffffffff
call fcn.00417620
mov al, bl
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret
Function at 0x419490
Capabilities:
Get common file path
Get session user name

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d4e6
push eax
mov dword fs:[0], esp
sub esp, 0x484
push esi
mov esi, dword [esp + 0x498]
mov ecx, esi
call fcn.00417690
test eax, eax
jne 0x4194ec
mov ecx, dword [esp + 0x49c]
test ecx, ecx
je 0x4194d3
mov eax, dword [ecx]
push str.Cannot_open_file__filename_is_empty.
call dword [eax + 0x10]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
add esp, 0x490
ret
push edi
lea ecx, [esp + 0x10]
call fcn.00417560
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x498], 0
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00418410
lea ecx, [esp + 0x70]
call fcn.00446730
lea ecx, [esp + 0x10]
mov byte [esp + 0x494], 1
call fcn.00417ae0
test al, al
jne 0x419578
lea ecx, [esp + 0x70]
call fcn.00446780
test al, al
jne 0x419578
mov esi, dword [esp + 0x4a0]
lea ecx, [esp + 8]
push esi
push ecx
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea ecx, [esp + 0x30]
call fcn.00417970
push eax
push 0x1771
call fcn.0043cbd0
jmp 0x4195ab
mov esi, dword [esp + 0x4a0]
lea edx, [esp + 8]
push esi
push edx
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea ecx, [esp + 0x30]
call fcn.00417cf0
push eax
push 0xbb9
call fcn.0043ca60
add esp, 0x28
mov edi, eax
test esi, esi
je 0x41960f
cmp edi, 0xffffffff
jne 0x41960f
lea eax, [esp + 0x298]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [esi]
lea eax, [esp + 0x298]
push eax
push str.CurrentDir
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x108]
push ecx
push edx
mov dword [esp + 0x14], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [esi]
lea ecx, [esp + 0x108]
push ecx
push str.LoggedOnUser
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [esp + 0x70]
mov byte [esp + 0x494], 0
call fcn.00446770
lea ecx, [esp + 0x10]
mov dword [esp + 0x494], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0x48c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x490
ret
Function at 0x419650
Capabilities:
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x46d506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x484
lea ecx, [esp + 8]
call fcn.00417560
mov eax, dword [esp + 0x494]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x490], 0
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00418410
lea ecx, [esp + 8]
call fcn.00417690
test eax, eax
jne 0x4196d6
lea ecx, [esp + 8]
mov dword [esp + 0x48c], 0xffffffff
call fcn.00417620
or eax, 0xffffffff
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
add esp, 0x490
ret
push esi
push edi
lea ecx, [esp + 0x70]
call fcn.00446730
lea ecx, [esp + 0x10]
mov byte [esp + 0x494], 1
call fcn.00417ae0
test al, al
jne 0x419738
lea ecx, [esp + 0x70]
call fcn.00446780
test al, al
jne 0x419738
mov esi, dword [esp + 0x4a0]
lea ecx, [esp + 8]
push esi
push ecx
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
lea ecx, [esp + 0x30]
call fcn.00417970
push eax
push 0xbb9
call fcn.0043cbd0
jmp 0x41976b
mov esi, dword [esp + 0x4a0]
lea edx, [esp + 8]
push esi
push edx
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
lea ecx, [esp + 0x30]
call fcn.00417cf0
push eax
push 0xbba
call fcn.0043ca60
add esp, 0x28
mov edi, eax
test esi, esi
je 0x4197cf
cmp edi, 0xffffffff
jne 0x4197cf
lea eax, [esp + 0x298]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [esi]
lea eax, [esp + 0x298]
push eax
push str.CurrentDir
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x108]
push ecx
push edx
mov dword [esp + 0x14], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [esi]
lea ecx, [esp + 0x108]
push ecx
push str.LoggedOnUser
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [esp + 0x70]
mov byte [esp + 0x494], 0
call fcn.00446770
lea ecx, [esp + 0x10]
mov dword [esp + 0x494], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0x48c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x490
ret
Function at 0x419810
Capabilities:
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x46d526
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x484
lea ecx, [esp + 8]
call fcn.00417560
mov eax, dword [esp + 0x494]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x490], 0
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00418410
lea ecx, [esp + 8]
call fcn.00417690
test eax, eax
jne 0x419896
lea ecx, [esp + 8]
mov dword [esp + 0x48c], 0xffffffff
call fcn.00417620
or eax, 0xffffffff
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
add esp, 0x490
ret
push esi
push edi
lea ecx, [esp + 0x70]
call fcn.00446730
lea ecx, [esp + 0x10]
mov byte [esp + 0x494], 1
call fcn.00417ae0
test al, al
jne 0x4198f8
lea ecx, [esp + 0x70]
call fcn.00446780
test al, al
jne 0x4198f8
mov esi, dword [esp + 0x4a0]
lea ecx, [esp + 8]
push esi
push ecx
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
lea ecx, [esp + 0x30]
call fcn.00417970
push eax
push 0xbb9
call fcn.0043cbd0
jmp 0x41992b
mov esi, dword [esp + 0x4a0]
lea edx, [esp + 8]
push esi
push edx
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
lea ecx, [esp + 0x30]
call fcn.00417cf0
push eax
push 0xbbb
call fcn.0043ca60
add esp, 0x28
mov edi, eax
test esi, esi
je 0x41998f
cmp edi, 0xffffffff
jne 0x41998f
lea eax, [esp + 0x298]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [esi]
lea eax, [esp + 0x298]
push eax
push str.CurrentDir
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x108]
push ecx
push edx
mov dword [esp + 0x14], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [esi]
lea ecx, [esp + 0x108]
push ecx
push str.LoggedOnUser
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [esp + 0x70]
mov byte [esp + 0x494], 0
call fcn.00446770
lea ecx, [esp + 0x10]
mov dword [esp + 0x494], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0x48c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x490
ret
Function at 0x4199d0
Capabilities:
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x46d546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x484
lea ecx, [esp + 8]
call fcn.00417560
mov eax, dword [esp + 0x494]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x490], 0
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00418410
lea ecx, [esp + 8]
call fcn.00417690
test eax, eax
jne 0x419a56
lea ecx, [esp + 8]
mov dword [esp + 0x48c], 0xffffffff
call fcn.00417620
or eax, 0xffffffff
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
add esp, 0x490
ret
push esi
push edi
lea ecx, [esp + 0x70]
call fcn.00446730
lea ecx, [esp + 0x10]
mov byte [esp + 0x494], 1
call fcn.00417ae0
test al, al
jne 0x419ab8
lea ecx, [esp + 0x70]
call fcn.00446780
test al, al
jne 0x419ab8
mov esi, dword [esp + 0x4a0]
lea ecx, [esp + 8]
push esi
push ecx
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
lea ecx, [esp + 0x30]
call fcn.00417970
push eax
push 0xfa1
call fcn.0043cbd0
jmp 0x419aeb
mov esi, dword [esp + 0x4a0]
lea edx, [esp + 8]
push esi
push edx
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
lea ecx, [esp + 0x30]
call fcn.00417cf0
push eax
push 0xfa0
call fcn.0043ca60
add esp, 0x28
mov edi, eax
test esi, esi
je 0x419b4f
cmp edi, 0xffffffff
jne 0x419b4f
lea eax, [esp + 0x298]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [esi]
lea eax, [esp + 0x298]
push eax
push str.CurrentDir
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x108]
push ecx
push edx
mov dword [esp + 0x14], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [esi]
lea ecx, [esp + 0x108]
push ecx
push str.LoggedOnUser
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [esp + 0x70]
mov byte [esp + 0x494], 0
call fcn.00446770
lea ecx, [esp + 0x10]
mov dword [esp + 0x494], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0x48c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x490
ret