joyce8/EMBER2024-capa huggingface dataset:
Function at 0x519f07
Capabilities:
Encode data using xor

Disassembly:
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x314], edi
test edi, edi
je 0x4f3258
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ebf
xor cx, word [eax*2 + 0x5dd740]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 8
jl 0x401312
lea edx, [ebp - 0x20c]
jmp 0x50afbe
push edi
jmp dword [0x48bdb5]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004810b5
mov esp, ebp
pop ebp
ret
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x48bdab
lea eax, [ebp - 0x310]
push eax
push 0
mov dword [ebp - 0x310], 0
call esi
mov ecx, dword [ebp - 0x310]
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
jmp dword [0x50affe]
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [section..data]
jmp 0x5363c6
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x318], eax
test eax, eax
je 0x4f3258
mov byte [eax], 0
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x2514
xor cx, word [eax*2 + 0x5dd730]
inc eax
mov word [ebp + eax*2 - 0x30e], cx
cmp eax, 7
jl 0x5363e8
lea edx, [ebp - 0x30c]
push edx
jmp 0x4012f8

Function at 0x52ad2f
Capabilities:
Allocate or change rwx memory

Disassembly:
cmp eax, 0xa
jne 0x47dfaa
lea esi, [eax + 0x30]
mov ebx, dword [0x6e6668]
cmp ebx, edi
jne 0x572ff6
jmp 0x572fd6
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6e62fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x47df9e
jmp dword [0x52ad62]
mov eax, dword [ebp + 0x1c]
mov dword [0x69f60d], edx
mov edx, dword [ebp + 0x20]
mov dword [0x69f611], eax
mov eax, dword [ebp + 0x24]
mov dword [0x69f617], edx
mov edx, dword [ebp + 0x28]
mov dword [0x69f61b], eax
mov dword [0x69f621], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
xor edx, edx
mov eax, ebx
add eax, 0x400
mov dword [0x69f67b], eax
jmp dword [0x56d392]
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x6e6668], ebx
jmp 0x57300a
mov eax, dword [0x6e666c]
push eax
call fcn.005afceb
mov ebx, dword [0x6e6668]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x69f5f9], edx
mov edx, dword [ebp + 0x10]
mov dword [0x69f5fd], eax
mov eax, dword [ebp + 0x14]
mov dword [0x69f603], edx
mov edx, dword [ebp + 0x18]
mov dword [0x69f607], eax
jmp 0x56d34c

Function at 0x54d6ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6279
xor cx, word [eax*2 + 0x5dd180]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 7
jl 0x54d6df
xor eax, eax
lea edx, [eax + 1]
push 0x5b343a
ret
Function at 0x550585
Capabilities:
Encode data using xor

Disassembly:
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 0xc
jl 0x55059a
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5ec5
xor dx, word [eax*2 + 0x5dd234]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x4c7720
lea eax, [ebp - 0x108]
push eax
jmp 0x4ea580
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push ebx
push 0
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810b5
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x33d6
xor cx, word [eax*2 + 0x5dd218]
jmp 0x4c770c

Function at 0x5566ed
Capabilities:
Encode data using xor

Disassembly:
je 0x4065eb
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4317bf
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x6d9c
xor dx, word [eax*2 + 0x5dd1f4]
inc eax
mov word [ebp + eax*2 - 0x20e], dx
cmp eax, 0x10
jl 0x4065ed
mov eax, dword [ebp + 0xc]
push eax
push edi
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
jmp 0x48cbfa
mov ecx, dword [eax]
cmp dword [ecx], edi
je 0x4317b5
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x431778
push 0xc
call dword [sym.imp.msvcrt.dll_malloc]
mov edx, dword [ebp + 0x10]
add esp, 4
push 0
push 0
push eax
mov dword [eax + 4], edx
mov dword [eax], edi
mov dword [eax + 8], ebx
call fcn.0052a3a1
test eax, eax
jne 0x48cc02
mov eax, dword [esi]
test eax, eax
je 0x4065eb
mov ecx, dword [eax]
cmp dword [ecx], edi
jmp 0x4065da
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
inc edi
dec dword [ebp - 0x210]
jne 0x550b32
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004810b5
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
test eax, eax
je 0x48cc0f
mov edi, ebx
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x214]
mov ecx, edi
and ecx, 0xffff
mov eax, dword [edx + ecx*4]
lea esi, [edx + ecx*4]
test eax, eax
je 0x43178d
lea esp, [esp]
jmp 0x431778
push ebp
mov ebp, esp
sub esp, 0x214
jmp 0x550b0a
Function at 0x571584
Capabilities:
Terminate process

Disassembly:
mov dword [0x8b46d8], esi
push 0x5dd174
push 0x5dd168
call fcn.004e23f7
pop ecx
pop ecx
test eax, eax
je 0x4f8d46
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x424f2c
push 0x8b46e0
call fcn.00559bff
pop ecx
test eax, eax
je 0x417ecd
push ebx
push 2
push ebx
call dword [0x8b46e0]
push dword [0x6a1054]
push dword [0x6a1058]
push dword [0x6a1050]
call fcn.00596a86
add esp, 0xc
mov dword [0x6a1068], eax
cmp dword [0x6a105c], ebx
jne 0x4b626b
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
jmp dword [0x417f0d]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x6a1068]
call fcn.00492975
ret
jne 0x433e29
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x433e3c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5c67d4
xor esi, esi
inc esi
mov eax, dword [0x8b46d8]
cmp eax, esi
jne 0x433e56
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4f8d46
mov eax, dword [0x8b46d8]
test eax, eax
jne 0x4f8d40
jmp 0x402b1c
cmp dword [0x6a106c], ebx
jne 0x424f20
jmp dword [0x4b627e]
mov dword [0x6a106c], esi
mov eax, dword [0x8b46d8]
cmp eax, esi
jne 0x4f8d6e
push 0x5dd164
push 0x5dd15c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x8b46d8], 2
cmp dword [ebp - 0x1c], ebx
jne 0x4f8d7f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x8b46e0], ebx
je 0x417ecd
jmp 0x417eb0
push 0x40100a
call fcn.00401000
call fcn.004389f9
jmp 0x5c67b2
push 0x10
push 0x5ddc68
call fcn.00560989
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x8b46dc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x433e39
cmp eax, esi
jmp 0x433e18

Function at 0x581944
Capabilities:
Enumerate pe sections

Disassembly:
add ebx, ecx
cmp edi, ebx
jb 0x559bfa
inc edx
add eax, 0x28
cmp edx, esi
jb 0x58196d
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x559bf8
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x559bec
mov ebx, dword [eax + 8]
jmp 0x559be2
Function at 0x594b06
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004810b5
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004810b5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x414]
cmp ecx, 0xffffffff
je 0x4be8ae
jmp 0x536562
cmp byte [ebp + 0x18], 0
jne 0x4d347d
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x418]
push eax
call fcn.0056f14e
add esp, 4
add esi, eax
mov ecx, dword [ebp - 8]
jmp 0x4278f2
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5320ff
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
je 0x536562
mov dword [ebp - 0x414], ecx
cmp dword [esi + 0x18], ecx
jbe 0x4be8ae
mov eax, dword [esi + 0x20]
add eax, edi
mov dword [ebp - 0x410], eax
jmp 0x5a2f82
cmp dword [ebp + 0x10], 0
movzx eax, word [ebp + 0x14]
je 0x536581
mov edx, dword [esi + 0x24]
lea eax, [edx + ecx*2]
mov cx, word [eax + edi]
add cx, word [esi + 0x10]
movzx eax, cx
movzx edx, ax
sub edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
mov esi, dword [ecx + edi]
mov eax, dword [ebx + edi + 0x78]
cmp esi, eax
jb 0x4d345c
mov edx, dword [ebx + edi + 0x7c]
add edx, eax
cmp esi, edx
jmp dword [0x5365ae]
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x3c]
mov esi, dword [ebx + edi + 0x78]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0xc]
add esi, edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], edx
test edx, edx
je 0x53210d
jmp 0x5320fc
jmp 0x5a2f8d
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
add eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5a2fca
test dl, dl
je 0x5a2fc3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5a2fca
add eax, 2
add ecx, 2
test dl, dl
jne 0x5a2f97
xor eax, eax
jmp 0x5a2fcf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4be8c1
mov eax, dword [ebp - 0x414]
add dword [ebp - 0x410], 4
jmp dword [0x5a2fed]
Function at 0x596a86
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push 0x100
lea eax, [esp + 0x6066c]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x60668]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c8018
sub eax, edx
dec eax
js 0x4c80c1
lea esp, [esp]
cmp byte [esp + eax + 0x60668], 0x5c
je 0x4c80b9
dec eax
jns 0x4c8030
jmp 0x4c80b4
jmp 0x4c80c1
mov byte [esp + eax + 0x60669], 0
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x60668]
mov byte [eax + 0x6a14e8], cl
inc eax
test cl, cl
jne 0x4c80ca
call fcn.00461b49
push 0
call esi
mov ecx, dword [eax + 0x3c]
jmp 0x547f06
add ecx, eax
push 0x100
mov dword [0x6e6528], eax
mov dword [0x6e652c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x639d
xor dx, word [eax*2 + 0x5ddb34]
inc eax
mov word [esp + eax*2 + 0x16], dx
cmp eax, 6
jmp 0x5bf222
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x60964
call fcn.005079f8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60960], eax
jmp 0x4c7fe6
jl 0x547f28
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.msvcrt.dll_remove]
add esp, 4
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x45fd
xor cx, word [eax*2 + 0x5ddb44]
inc eax
mov word [esp + eax*2 + 0x16], cx
jmp dword [0x5bf25c]
Function at 0x5afceb
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4bbb93
mov esi, dword [sym.imp.msvcrt.dll_rand]
call esi
mov word [edi*4 + 0x6e6688], ax
call esi
mov esi, dword [0x6e6654]
mov word [edi*4 + 0x6e668a], ax
inc edi
cmp edi, esi
jb 0x4bbb93
xor ecx, ecx
jmp 0x596724
xor edx, edx
mov eax, ecx
div esi
inc ecx
mov edi, edx
xor edx, edx
div esi
mov eax, esi
sub eax, edx
mov edx, dword [eax*4 + 0x6e6684]
xor edx, dword [edi*4 + 0x6e6688]
xor edx, dword [ebx + ecx*4 - 4]
xor edx, dword [ebp + 8]
mov dword [ebx + ecx*4 - 4], edx
cmp ecx, 0x400
jb 0x596724
pop edi
pop esi
pop ebp
ret
push ebp
mov ebp, esp
push esi
mov esi, dword [0x6e6654]
push edi
test esi, esi
jne 0x4bbbbc
mov dword [0x6e6654], 0x100
xor edi, edi
jmp 0x4bbb8e

Function at 0x5b8e6b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x5dd6c0]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x5b8e8b
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
jmp dword [0x5b8ebf]

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001b80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002eda7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10046270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], vtable.CSeed.0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CDeskBand.6.0
mov dword [esi + 4], vtable.CDeskBand.5.0
mov dword [esi + 8], vtable.CDeskBand.4.0
mov dword [esi + 0xc], vtable.CDeskBand.3.0
mov dword [esi + 0x10], vtable.CDeskBand.2.0
mov dword [esi + 0x14], vtable.CDeskBand.1.0
mov dword [esi + 0x18], vtable.CDeskBand.0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 4
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
test ecx, ecx
jne 0x10001c54
xor eax, eax
jmp 0x10001c74
mov eax, dword [ecx]
push 0
push 0x1004789c
push 0x1004787c
push 0
push 0
push 9
call dword [eax + 0x10]
push eax
call fcn.1002eb05
add esp, 0x14
inc dword [0x10048ce8]
mov dword [esi + 0x3c], eax
call fcn.100043b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100308e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10046270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CLogger.0
mov dword [esi + 4], vtable.CStringBufferW.0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x1c], vtable.CStringBufferW.0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], vtable.CStringBufferW.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x3c], vtable.CStringBufferW.0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
lea eax, [esi + 0x68]
push eax
mov dword [esi + 0x64], vtable.CCritical.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x80], vtable.CStringBufferW.0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x84], 0
lea ecx, [esi + 0x90]
mov dword [ecx], vtable.CMapStringPtrW.0
mov dword [ecx + 4], vtable.CMapPtr.0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [esi + 0xb0], vtable.CArrayStringW.0
mov dword [esi + 0xb4], vtable.CArrayPtr.0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0xa
mov dword [esi + 0xc4], 0
mov byte [ebp - 4], 8
mov eax, dword [ecx]
push 0x1f
mov dword [esi + 0x4c], 0x4c4b40
mov dword [esi + 0x50], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
call dword [eax]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x60], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100126b0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100312bf
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x10046270]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
mov dword [ebp - 0x220], 0
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x238], esi
call fcn.10022720
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x234], 0x103
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1001279d
mov dword [ebp - 4], 1
lea edi, [ebp - 0x21c]
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
lea ecx, [edi + 2]
jmp 0x10012760
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10012760
sub edi, ecx
sar edi, 1
je 0x10012798
push edi
mov ecx, esi
call fcn.1000a840
push edi
lea eax, [ebp - 0x21c]
push eax
push dword [esi + 8]
push dword [esi + 0xc]
call fcn.1001df56
lea ecx, [edi + 1]
add esp, 0x10
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
jmp 0x100128e0
lea eax, [ebp - 0x230]
push eax
call fcn.10012900
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1001289d
mov edi, dword [ebp - 0x22c]
test edi, edi
je 0x1001289d
push 0x5c
lea ecx, [ebp - 0x230]
call fcn.1000ad50
cmp eax, 0xffffffff
jne 0x10012829
push 0x2f
lea ecx, [ebp - 0x230]
call fcn.1000ad50
cmp eax, 0xffffffff
jne 0x10012829
lea ecx, [ebp - 0x230]
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x220], 1
mov byte [ebp - 4], 0
call fcn.1000a240
jmp 0x100128e0
sub edi, eax
dec edi
push edi
inc eax
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.1000ab40
mov byte [ebp - 4], 7
push dword [ebp - 0x244]
mov ecx, esi
push dword [ebp - 0x23c]
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
call fcn.1000a470
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x220], 1
mov byte [ebp - 4], 2
call fcn.1000a240
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.1000a240
jmp 0x100128e0
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x220], 1
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 4], 4
test eax, eax
je 0x100128e0
push eax
call fcn.1001df51
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001d3d5
mov esp, ebp
pop ebp
ret 4
Function at 0x10012900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031306
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10046270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x8028
push 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x10012979
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
jmp 0x100129dc
mov dword [ebp - 4], 1
lea edi, [ebp - 0x218]
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100129a4
sub edi, ecx
sar edi, 1
je 0x100129dc
push edi
mov ecx, esi
call fcn.1000a840
push edi
lea eax, [ebp - 0x218]
push eax
push dword [esi + 8]
push dword [esi + 0xc]
call fcn.1001df56
lea eax, [edi + 1]
add esp, 0x10
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d3d5
mov esp, ebp
pop ebp
ret 4

Function at 0x10012a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031306
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10046270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x8026
push 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x10012a79
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
jmp 0x10012adc
mov dword [ebp - 4], 1
lea edi, [ebp - 0x218]
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10012aa4
sub edi, ecx
sar edi, 1
je 0x10012adc
push edi
mov ecx, esi
call fcn.1000a840
push edi
lea eax, [ebp - 0x218]
push eax
push dword [esi + 8]
push dword [esi + 0xc]
call fcn.1001df56
lea eax, [edi + 1]
add esp, 0x10
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d3d5
mov esp, ebp
pop ebp
ret 4
Function at 0x10013310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10031010
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x10046270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 8], vtable.CSetupRegW.0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x3c], 0
call fcn.10013410
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100133d8
cmp dword [esp + 0x10], 0
je 0x100133d8
push 0x2e
push eax
call fcn.1001e191
mov ecx, eax
mov eax, dword [esp + 0x20]
add esp, 8
test ecx, ecx
je 0x100133b8
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x100133b8
push ecx
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.1000ab40
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.1000a580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.1000a240
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100133d4
cmp dword [esp + 0x10], 0
je 0x100133d4
push eax
call fcn.1001e23f
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x100133db
xor esi, esi
jmp 0x100133db
or esi, 0xffffffff
mov dword [esp + 0xc], vtable.CStringBufferW.0
mov byte [esp + 0x38], 3
test eax, eax
je 0x100133f5
push eax
call fcn.1001df51
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret