joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4921a0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
sub esp, 0x404
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebp
mov ebp, dword [esp + 0x414]
push esi
push edi
push ebp
call ebx
cmp eax, 0xffffffff
jne 0x4921d5
mov eax, dword [esp + 0x420]
mov ecx, dword [esp + 0x418]
push eax
push ebp
push ecx
jmp 0x49227a
test al, 1
je 0x4921eb
and al, 0xfe
push eax
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x10]
test al, 0x10
je 0x492269
xor esi, esi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push ebp
lea edx, [esp + 0x1c]
push str._s.bak_08X
push edx
call fcn.005fe023
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call ebx
cmp eax, 0xffffffff
je 0x49225d
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
push ebp
lea ecx, [esp + 0x1c]
push str._s.bak_08X
push ecx
call fcn.005fe023
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call ebx
inc esi
cmp esi, 0xa
jge 0x492298
cmp eax, 0xffffffff
jne 0x49222d
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x420]
mov edx, dword [esp + 0x418]
push ecx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebp
mov esi, eax
call fcn.00493620
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x404
ret
Function at 0x4924c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x85e212
push eax
mov dword fs:[0], esp
sub esp, 0x268
push esi
mov esi, dword [esp + 0x27c]
push edi
xor edi, edi
cmp esi, edi
je 0x4926e8
push esi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x4926e8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4926e8
test al, 0x10
je 0x4926e8
push ebx
push esi
lea ecx, [esp + 0x10]
call fcn.00831f5f
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x280], edi
call fcn.00826212
mov dword [esp + 0x24], edi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x93c728
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00832190
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00831eeb
cmp edi, 0xffffffff
mov ebx, 1
je 0x4926ba
mov esi, dword [esp + 0x288]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [esp + 0x54]
push 0x9428c4
push eax
call ebp
test eax, eax
je 0x49269e
lea ecx, [esp + 0x54]
push 0x9428c0
push ecx
call ebp
test eax, eax
je 0x49269e
lea edx, [esp + 0x54]
lea ecx, [esp + 0x14]
push edx
call fcn.00831f5f
mov al, byte [esp + 0x28]
mov byte [esp + 0x280], bl
test al, 0x10
push 0x92edb8
je 0x492631
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00832190
lea edx, [esp + 0x14]
mov byte [esp + 0x280], 2
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0083212a
mov eax, dword [eax]
push esi
push eax
mov byte [esp + 0x288], 3
call fcn.004924c0
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x280], 2
call fcn.00831eeb
mov byte [esp + 0x280], bl
lea ecx, [esp + 0x18]
jmp 0x492688
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00832190
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 4
call fcn.0083212a
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x288], 5
call fcn.0082ada5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 4
call fcn.00831eeb
mov byte [esp + 0x280], bl
lea ecx, [esp + 0x20]
call fcn.00831eeb
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 0
call fcn.00831eeb
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49258e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x27c], 0xffffffff
call fcn.00831eeb
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
add esp, 0x274
ret
mov ecx, dword [esp + 0x270]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x274
ret
Function at 0x492710
Capabilities:
Get graphical window text

Disassembly:
call fcn.006624d0
test eax, eax
je 0x49272f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x4927b0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4927b0
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.008325b4
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4927b0
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x4927b0
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.00581610
add esp, 0x10
test eax, eax
je 0x4927b0
push esi
call fcn.005fc40b
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x492810
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
xor ecx, ecx
xor edi, edi
xor eax, eax
mov esi, 0x200
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x49283a
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, 1
jne 0x492846
mov esi, 0x400
jmp 0x492894
cmp eax, 2
jne 0x492894
xor eax, eax
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], eax
push 0x18
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push ecx
push ecx
push 0x70000
push ebp
mov dword [esp + 0x58], ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4928f4
mov esi, dword [esp + 0x2c]
cmp esi, 0x200
jb 0x4928f4
push esi
call fcn.008325b4
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x4928ea
mov edx, dword [ebx]
push edx
call fcn.008325dd
mov eax, dword [esp + 0x14]
add esp, 4
inc eax
mov dword [ebx], edi
cmp eax, 3
mov dword [esp + 0x10], eax
jl 0x492834
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4938b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x85e2bc
push eax
mov dword fs:[0], esp
sub esp, 0x260
push esi
mov esi, dword [esp + 0x274]
push edi
xor edi, edi
cmp esi, edi
je 0x493aa7
push esi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x493aa7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x493aa7
test al, 0x10
je 0x493aa7
push ebp
push esi
lea ecx, [esp + 0x14]
call fcn.00831f5f
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x278], edi
call fcn.00826212
mov dword [esp + 0x1c], edi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push 0x93c728
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00832190
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0xc]
mov ebp, eax
call fcn.00831eeb
cmp ebp, 0xffffffff
je 0x493a76
mov esi, dword [esp + 0x284]
mov edi, dword [esp + 0x280]
push ebx
mov bl, 2
lea eax, [esp + 0x4c]
push 0x9428c4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x493a48
lea ecx, [esp + 0x4c]
push 0x9428c0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x493a48
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.00831f5f
mov al, byte [esp + 0x20]
mov byte [esp + 0x278], 1
test al, 0x10
je 0x493a2d
lea eax, [esp + 0x14]
push 0x92edb8
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00832190
lea edx, [esp + 0x10]
mov byte [esp + 0x278], bl
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0083212a
mov eax, dword [eax]
push esi
push edi
push eax
mov byte [esp + 0x284], 3
call fcn.004938b0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x278], bl
call fcn.00831eeb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278], 1
call fcn.00831eeb
jmp 0x493a2f
inc dword [edi]
test esi, esi
je 0x493a37
cmp esi, dword [edi]
jbe 0x493a5d
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], 0
call fcn.00831eeb
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x493a6e
jmp 0x49397c
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], 0
call fcn.00831eeb
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x274], 0xffffffff
call fcn.00831eeb
pop ebp
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
add esp, 0x26c
ret
mov ecx, dword [esp + 0x268]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x26c
ret
Function at 0x493af0
Capabilities:
Get hostname

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
je 0x493b66
mov esi, dword [esp + 0x10]
test esi, esi
je 0x493b66
mov eax, dword [0x9bedd8]
push ebp
mov ebp, dword [esi]
push edi
test eax, eax
jne 0x493b3a
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x493b31
push str.GetComputerNameExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9bedd8], eax
jmp 0x493b36
mov eax, dword [0x9bedd8]
test eax, eax
je 0x493b53
push esi
push ebx
push 5
call eax
mov edi, eax
test edi, edi
je 0x493b53
push ebx
call fcn.005fc40b
add esp, 4
test eax, eax
jne 0x493b5f
push esi
push ebx
mov dword [esi], ebp
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov edi, eax
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret

Function at 0x494bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x85e654
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push esi
mov esi, ecx
push 0x1e
lea ecx, [esp + 0x14]
call fcn.004b5e30
lea ecx, [esp + 0x18]
mov dword [esp + 0x108], 0
call fcn.004df100
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, 0x9cded8
mov byte [esp + 0x110], 1
mov dword [esp + 0x54], eax
call fcn.004dd8c0
lea ecx, [esp + 0x74]
mov byte [esp + 0x108], 5
call fcn.00831eeb
lea ecx, [esp + 0x54]
mov byte [esp + 0x108], 4
call fcn.00636c90
lea ecx, [esp + 0x48]
mov byte [esp + 0x108], 3
call fcn.00617ec0
lea ecx, [esp + 0x38]
mov byte [esp + 0x108], 2
call fcn.0061ebe0
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 7
call fcn.00831eeb
lea ecx, [esp + 0x30]
mov byte [esp + 0x108], 6
call fcn.00831eeb
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 0
call fcn.004b5e20
lea ecx, [esp + 0x10]
mov dword [esp + 0x108], 0xffffffff
call fcn.004b5e20
push 0x1f
lea ecx, [esp + 0xc]
call fcn.004b5e30
lea ecx, [esp + 0x8c]
mov dword [esp + 0x108], 8
call fcn.004df100
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x8c]
lea eax, [esp + 8]
mov dword [esp + 0xc0], ecx
push edx
push eax
mov ecx, 0x9cded8
mov byte [esp + 0x110], 9
call fcn.004dd8c0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x108], 0xd
call fcn.00831eeb
lea ecx, [esp + 0xc8]
mov byte [esp + 0x108], 0xc
call fcn.00636c90
lea ecx, [esp + 0xbc]
mov byte [esp + 0x108], 0xb
call fcn.00617ec0
lea ecx, [esp + 0xac]
mov byte [esp + 0x108], 0xa
call fcn.0061ebe0
lea ecx, [esp + 0x94]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x108], 0xf
call fcn.00831eeb
lea ecx, [esp + 0xa4]
mov byte [esp + 0x108], 0xe
call fcn.00831eeb
lea ecx, [esp + 0x8c]
mov byte [esp + 0x108], 8
call fcn.004b5e20
lea ecx, [esp + 8]
mov dword [esp + 0x108], 0xffffffff
call fcn.004b5e20
mov ecx, dword [esp + 0x100]
pop esi
mov dword fs:[0], ecx
add esp, 0x108
ret
Function at 0x4951b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x85e874
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push esi
mov esi, ecx
push 0x3e
lea ecx, [esp + 0x14]
call fcn.004b5e30
lea ecx, [esp + 0x18]
mov dword [esp + 0x108], 0
call fcn.004df100
mov eax, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], al
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, 0x9cded8
call fcn.004dd8c0
lea ecx, [esp + 0x74]
mov byte [esp + 0x108], 5
call fcn.00831eeb
lea ecx, [esp + 0x54]
mov byte [esp + 0x108], 4
call fcn.00636c90
lea ecx, [esp + 0x48]
mov byte [esp + 0x108], 3
call fcn.00617ec0
lea ecx, [esp + 0x38]
mov byte [esp + 0x108], 2
call fcn.0061ebe0
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 7
call fcn.00831eeb
lea ecx, [esp + 0x30]
mov byte [esp + 0x108], 6
call fcn.00831eeb
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 0
call fcn.004b5e20
lea ecx, [esp + 0x10]
mov dword [esp + 0x108], 0xffffffff
call fcn.004b5e20
push 0x1c
lea ecx, [esp + 0xc]
call fcn.004b5e30
lea ecx, [esp + 0x8c]
mov dword [esp + 0x108], 8
call fcn.004df100
lea eax, [esp + 0x8c]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, 0x9cded8
mov byte [esp + 0x110], 9
call fcn.004dd4b0
mov edx, dword [esp + 0xc0]
mov dword [esi + 4], edx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x108], 0xd
call fcn.00831eeb
lea ecx, [esp + 0xc8]
mov byte [esp + 0x108], 0xc
call fcn.00636c90
lea ecx, [esp + 0xbc]
mov byte [esp + 0x108], 0xb
call fcn.00617ec0
lea ecx, [esp + 0xac]
mov byte [esp + 0x108], 0xa
call fcn.0061ebe0
lea eax, [esp + 0x94]
mov dword [esp + 4], eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x108], 0xf
call fcn.00831eeb
lea ecx, [esp + 0xa4]
mov byte [esp + 0x108], 0xe
call fcn.00831eeb
lea ecx, [esp + 0x8c]
mov byte [esp + 0x108], 8
call fcn.004b5e20
lea ecx, [esp + 8]
mov dword [esp + 0x108], 0xffffffff
call fcn.004b5e20
mov ecx, dword [esp + 0x100]
pop esi
mov dword fs:[0], ecx
add esp, 0x108
ret
Function at 0x496330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x85ea58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
call fcn.00496c90
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push 0x2710
lea ecx, [esi + 4]
push 0
push eax
mov dword [eax], ecx
push 0
push 3
lea ecx, [esp + 0x1c]
mov dword [esi + 0x10], 0x4139f0
call fcn.005794a0
lea edx, [esp + 4]
mov ecx, 0x9cf1a8
push edx
mov dword [esp + 0x50], 0
call fcn.0057a890
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x60], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x496450
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x85ea7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x468
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26a]
mov word [esp + 0x268], si
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x26c]
push eax
call fcn.00490a40
add esp, 8
test eax, eax
je 0x4965f4
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x64
push ecx
lea edx, [esp + 0x270]
push 0xffffffffffffffff
push edx
stosw word es:[edi], ax
call fcn.005814c0
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xea]
mov word [esp + 0xe8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
lea ecx, [esp + 0xe8]
push eax
push ecx
mov dword [esp + 0x20], 0x64
call fcn.00493af0
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x1ba]
mov word [esp + 0x1b8], si
rep stosd dword es:[edi], eax
add esp, 0x18
lea edx, [esp + 8]
stosw word es:[edi], ax
lea eax, [esp + 0x1a0]
push edx
push eax
mov dword [esp + 0x10], 0x64
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [esp + 0x1a0]
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00493d80
add esp, 0x10
mov edx, dword [esp + 0xc]
mov dword [esp + 0x478], esi
cmp dword [edx - 8], esi
je 0x49658b
push 0x63
push edx
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
call fcn.005fc3ce
add esp, 0xc
mov edi, dword [esp + 0x480]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.006181a0
cmp dword [0x9dce80], esi
je 0x4965c2
mov ecx, dword [edi]
push ecx
push str.GetDesktopUser_DesktopUser__s_
push str.ResetTSDState
push 4
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x478], 0xffffffff
call fcn.00617ec0
mov eax, 1
mov ecx, dword [esp + 0x470]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x474
ret 4
xor eax, eax
jmp 0x4965db
Function at 0x496f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x85ec5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebp
mov ebp, dword [esp + 0x2a4]
push esi
mov esi, dword [esp + 0x2ac]
push edi
mov dword [ecx + 0x6c], esi
push ebp
add ecx, 0x70
call fcn.006181a0
mov ecx, 0x83
xor eax, eax
lea edi, [esp + 0x90]
push 0x103
rep stosd dword es:[edi], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x98]
push ebp
push eax
mov dword [esp + 0x9c], esi
call fcn.005fc3ce
add esp, 0xc
lea ecx, [esp + 0xc]
push 0xcb
call fcn.004b5e30
lea ecx, [esp + 0x18]
mov dword [esp + 0x2a4], 0
call fcn.004df100
lea ecx, [esp + 0x8c]
push 0x210
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2ac], 1
call fcn.00637070
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, 0x9cded8
call fcn.004dd8c0
mov esi, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x2a4], 5
call fcn.00831eeb
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a4], 4
call fcn.00636c90
lea ecx, [esp + 0x48]
mov byte [esp + 0x2a4], 3
call fcn.00617ec0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a4], 2
call fcn.0061ebe0
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a4], 7
call fcn.00831eeb
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a4], 6
call fcn.00831eeb
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], 0
call fcn.004b5e20
lea ecx, [esp + 0xc]
mov dword [esp + 0x2a4], 0xffffffff
call fcn.004b5e20
mov ecx, dword [esp + 0x29c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x29c
ret 8
Function at 0x49c7d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x85f748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov eax, dword [esi + 0x1c]
push eax
call fcn.00617540
mov eax, dword [eax]
push 0
push 0
push 0
push 1
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 0
call fcn.004b5e90
lea ecx, [esp + 4]
mov byte [esp + 0x60], 2
call fcn.00617ec0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
call fcn.004b61f0
mov eax, dword [eax]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x64], 3
call fcn.00611f20
mov eax, dword [eax]
lea ecx, [esi + 8]
push eax
mov byte [esp + 0x64], 4
call fcn.0063e7e0
lea ecx, [esp + 8]
mov byte [esp + 0x60], 3
call fcn.00612730
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 2
call fcn.00617ec0
call fcn.0064f790
push eax
lea ecx, [esi + 4]
call fcn.0064f650
push 0xffffffffffffffff
lea eax, [esi + 0x38]
push 0x2710
lea ecx, [esi + 0x14]
push 0
push eax
mov dword [eax], ecx
push 0
push 2
lea ecx, [esp + 0x30]
mov dword [esi + 0x3c], 0x413a10
call fcn.005794a0
lea edx, [esp + 0x18]
mov ecx, 0x9cf1a8
push edx
mov byte [esp + 0x64], 5
call fcn.0057a890
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x60], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x8c], ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], eax
mov byte [esp + 0x60], 2
call fcn.00579500
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
call fcn.004b6020
mov ecx, dword [esp + 0x58]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x4a24e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x85fe3e
push eax
mov eax, dword [0x9dce80]
mov dword fs:[0], esp
sub esp, 0x9c
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x4a2521
push str.CLogonSettingMgr::CheckSettingInit__online_
push str.LogonSettingMgr
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
push 0x18
call fcn.008325b4
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov dword [esp + 0xac], 0
je 0x4a2553
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, eax
call fcn.00579760
jmp 0x4a2555
xor eax, eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ebx, 1
push eax
add esi, 0x38
push ebx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
mov dword [eax], esi
mov dword [eax + 4], 0x4139b0
call fcn.005794a0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x44], ebx
call fcn.005801f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xac], 2
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x4c]
mov ecx, 0x9cf4c8
push edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0xea60
call fcn.0057f840
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], bl
call fcn.00579500
lea ecx, [esp + 8]
mov dword [esp + 0xac], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0xa4]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret