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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10009f73
pop dword [ebp - 0x2c]
mov eax, 0xe3c8de1d
add eax, 0x2c37c156
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x4e037fca
add dword [ebp - 0x3c], 0x4ec581
mov dword [ebp - 0x38], 0x74a34aae
add dword [ebp - 0x38], 0xbd900197
mov dword [ebp - 0x34], 0x4129c473
add dword [ebp - 0x34], 0xb227fbb
mov dword [ebp - 0x30], 0xd051a237
add dword [ebp - 0x30], 0x2fae5dc9
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xd4f69a02
add eax, 0x3b0b0606
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x57c4508c
add dword [ebp - 0x3c], 0x1cae18ca
mov dword [ebp - 0x38], 0x718c1925
sub dword [ebp - 0x38], 0x301fb7b0
mov dword [ebp - 0x34], 0x18c7ac32
sub dword [ebp - 0x34], 0xb5583fc6
mov dword [ebp - 0x30], 0x3e352bf2
add dword [ebp - 0x30], 0xc1cad40e
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xf07ba23f
add eax, 0x1f85fdcd
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37518
push 0
call eax
mov ecx, 0x95cf4e55
sub ecx, 0x95cf1235
xor edx, edx
add edx, eax
mov ebx, 0x10024a00
add ebx, dword [ebp - 0x2c]
mov esi, 0xe025a647
sub esi, 0x3f040ac5
xor dword [ebp - 8], ecx
mov edi, dword [ebx]
mov dword [ebp - 4], 0xd8551629
xor edi, esi
add dword [ebp - 4], esi
mov dword [edx], edi
sub dword [ebp - 0x20], 0x8dc35ef1
add edx, 0x22936f3
sub edx, 0x22936ef
add ebx, 0xe1d2e3e1
add ebx, 0x1e2d1c23
loop 0x1000a091
add eax, 0x99f903df
sub eax, 0x99f8208c
xor ebx, ebx
add ebx, eax
add eax, 0xd4071ca6
add eax, 0x2bf8e35f
mov ecx, 0x560681b4
add ecx, 0xb9f97e4c
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x43f8d0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
xor edx, edx
cmp edi, edx
je 0x43f956
mov ecx, dword [edi]
push ebx
push ebp
mov byte [ecx + 0x16], dl
push esi
mov esi, dword [edi + 4]
mov byte [ecx + 0x17], dl
xor eax, eax
cmp esi, edx
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], dl
jle 0x43f90f
movzx ebx, byte [ecx + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x6b2380]
inc edx
cmp edx, esi
jl 0x43f8f3
xor edx, edx
mov esi, dword [edi + 0xc]
cmp esi, edx
jle 0x43f93a
mov edi, dword [edi + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x6b2380]
inc edx
cmp edx, esi
jl 0x43f920
mov edx, eax
shr edx, 8
mov byte [ecx + 0x16], al
mov byte [ecx + 0x17], dl
mov edx, eax
pop esi
shr edx, 0x10
shr eax, 0x18
pop ebp
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], al
pop ebx
pop edi
ret
Function at 0x4ae8c1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14c], 0
jne 0x4ae8d3
pop esi
jmp fcn.004ae0a4
call fcn.004add7d
test al, al
je 0x4ae903
lea eax, [esi + 0x150]
inc dword [eax]
mov eax, dword [eax]
imul eax, eax, 0xf8
push edi
add esi, 0x158
mov edi, dword [esi]
push 0xfffffffffffffff1
push eax
mov ecx, esi
call dword [edi + 4]
push eax
mov ecx, esi
call dword [edi]
pop edi
pop esi
ret

Function at 0x4ae905
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14c], 0
jne 0x4ae917
pop esi
jmp fcn.004ae0a4
call fcn.004adda0
test al, al
je 0x4ae947
lea eax, [esi + 0x150]
dec dword [eax]
mov eax, dword [eax]
imul eax, eax, 0xf8
push edi
add esi, 0x158
mov edi, dword [esi]
push 0xfffffffffffffff1
push eax
mov ecx, esi
call dword [edi + 4]
push eax
mov ecx, esi
call dword [edi]
pop edi
pop esi
ret

Function at 0x4b00c1
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [ecx + 0x9c4]
cmp eax, 0x270
jl 0x4b0181
cmp eax, 0x271
jne 0x4b00e3
push 0x1105
call fcn.004b0047
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 4]
mov edx, edi
mov ebx, 0xe3
mov esi, 0x7fffffff
mov eax, dword [edx + 4]
xor eax, dword [edx]
and eax, esi
xor eax, dword [edx]
mov ebp, eax
shr eax, 1
and ebp, 1
xor eax, dword [ebp*4 + 0x6e6c6c]
xor eax, dword [edx + 0x634]
mov dword [edx], eax
add edx, 4
dec ebx
jne 0x4b00f6
lea edx, [ecx + 0x390]
mov ebx, 0x18c
mov eax, dword [edx + 4]
xor eax, dword [edx]
and eax, esi
xor eax, dword [edx]
mov ebp, eax
shr eax, 1
and ebp, 1
xor eax, dword [ebp*4 + 0x6e6c6c]
xor eax, dword [edx - 0x38c]
mov dword [edx], eax
add edx, 4
dec ebx
jne 0x4b0126
mov eax, dword [ecx + 0x9c0]
xor eax, dword [edi]
pop edi
and eax, esi
xor eax, dword [ecx + 0x9c0]
pop esi
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x6e6c6c]
xor edx, dword [ecx + 0x634]
shr eax, 1
xor edx, eax
and dword [ecx + 0x9c4], ebx
pop ebp
mov dword [ecx + 0x9c0], edx
pop ebx
mov eax, dword [ecx + 0x9c4]
mov edx, dword [ecx + eax*4 + 4]
inc eax
mov dword [ecx + 0x9c4], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x4dec54
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6f2fc4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.004deba8
xor eax, eax
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0x3c
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x31
mov byte [ebp - 0x10], 0x35
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x30
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 1
mov byte [ebp - 8], 2
mov byte [ebp - 7], 3
mov byte [ebp - 6], 0x68
mov byte [ebp - 5], 0x3e
lea edi, [ecx + 0x48]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ecx + 0x70], al
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], eax
mov byte [ecx + 0x71], al
mov dword [ecx], vtable.NekoGameSDK4th::Base::COnahole.0
mov eax, ecx
mov ecx, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
pop edi
xor ecx, ebp
pop esi
call fcn.0062fed8
leave
ret

Function at 0x4e0128
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x65ec17
call fcn.006315b1
mov esi, ecx
lea eax, [esi + 0x6c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045a93d
mov eax, dword [esi]
and dword [ebp - 4], 0
mov ecx, esi
call dword [eax + 8]
lea edi, [esi + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 8], 0
lea ebx, [esi + 8]
mov byte [esi + 0xc], 1
push ebx
jne 0x4e01a3
push 0
push esi
push 0x4e00d3
push 0x100000
push 0
call fcn.0063331e
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x4e01e6
and dword [ebx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045a9e5
xor al, al
call fcn.00631689
ret 4
push 4
push esi
push 0x4e00d3
push 0x100000
push 0
call fcn.0063331e
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x4e01d5
and dword [ebx], eax
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045a9e5
mov al, bl
jmp 0x4e019b
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 8]
mov bl, 1
jmp 0x4e01c5
Function at 0x5f6efd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x5f701e
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x5f7002
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x5f6f54
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x5f6f32
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x60f930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66e77e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f2fc4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebx, [esi + 0x7c]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.0060f830
mov ebp, dword [esp + 0x34]
xor edi, edi
push ebp
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], edi
mov dword [esi], vtable.CBaseRenderer.0
mov dword [esi + 0xc], vtable.CBaseRenderer.2.0
mov dword [esi + 0x10], vtable.CBaseRenderer.1.0
mov dword [esi + 0x50], edi
call fcn.00612820
push ebp
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 1
call fcn.00612820
push ebp
lea ecx, [esi + 0x5c]
push 1
mov byte [esp + 0x28], 2
call fcn.00612820
push ebx
mov ebx, dword [0x6790a0]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebx
lea eax, [esi + 0x94]
push eax
call ebx
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebx
cmp dword [ebp], edi
jl 0x60fa27
mov edx, dword [esi + 0x5c]
push edx
call dword [0x679148]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x615430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66eba4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6f2fc4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], vtable.SQNativeClosure.0
mov dword [esp + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov ecx, 0x1000001
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
add eax, 0x44
push esi
push eax
mov byte [esp + 0x1c], 4
mov dword [esi + 0x3c], ecx
call fcn.00620f60
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x61a4f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66ef78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6f2fc4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], 0x1000001
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0xc]
mov edi, dword [ecx + 0x24]
lea edx, [esi + 0x38]
push edx
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.006194f0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 0x5000002
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.006194f0
lea edx, [edi + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.006194f0
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x61a583
mov eax, dword [esi + 0x78]
mov ecx, dword [eax]
push ecx
mov ecx, edi
call fcn.00617500
mov dword [esp + 0x18], 0x5000002
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.006194f0
add edi, 0x14
push edi
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.006194f0
mov ecx, dword [esi + 0x30]
push ebx
lea eax, [esp + 0x14]
push eax
sub ecx, 5
push ecx
push 5
lea edx, [esi + 0x50]
push edx
mov ecx, esi
call fcn.0061e6a0
push 5
mov ecx, esi
call fcn.00619480
or ecx, 0xffffffff
test dword [esp + 0x10], 0x8000000
mov dword [esp + 0x28], ecx
je 0x61a5fa
mov eax, dword [esp + 0x14]
add dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], ebx
ja 0x61a5fa
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x620d80
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, edx
or ecx, 0x20
shr ecx, 5
mov eax, edx
cmp edx, ecx
jb 0x620dc1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea esp, [esp]
mov edi, eax
mov ebx, eax
shr ebx, 2
shl edi, 5
add edi, ebx
movsx bx, byte [esi]
movzx ebx, bx
add edi, ebx
sub edx, ecx
xor eax, edi
inc esi
cmp edx, ecx
jae 0x620da0
pop edi
pop esi
pop ebx
ret
Function at 0x624490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66fb09
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f2fc4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 8], 0x1000001
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.0062d370
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push esi
push 0x623b50
push eax
mov dword [esi + 0xb4], ebp
mov edx, dword [ebp + 0x80]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x3c], 2
call fcn.0062d3f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x80]
push 0xffffffffffffffff
push eax
push ecx
call fcn.00617410
mov edi, eax
mov ebp, 0x8000010
mov edx, 1
add dword [edi + 4], edx
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebp
add dword [edi + 4], edx
mov byte [esp + 0x28], 3
test eax, 0x8000000
je 0x624562
add dword [ecx + 4], 0xffffffff
jne 0x624562
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add dword [edi + 4], 0xffffffff
mov byte [esp + 0x28], 2
jne 0x624576
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov cl, byte [esp + 0x44]
mov dl, byte [esp + 0x40]
mov byte [esi + 0x58], cl
mov byte [esi + 0x59], dl
mov dword [esi + 0x70], ebx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18
Function at 0x62b570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66ff60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x6f2fc4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0xdc]
push eax
push ecx
push edx
call fcn.00617410
mov ecx, 1
mov dword [esp + 0x1c], 0x8000010
mov dword [esp + 0x20], eax
add dword [eax + 4], ecx
add esp, 0xc
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0x5000002
mov dword [esp + 0xc], ecx
mov byte [esp + 0x20], cl
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x84]
call fcn.0061eb90
test dword [esp + 8], 0x8000000
mov byte [esp + 0x20], 0
je 0x62b617
mov eax, dword [esp + 0xc]
dec dword [eax + 4]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 4], 0
ja 0x62b617
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esp + 0x20], 0xffffffff
test ecx, 0x8000000
je 0x62b64c
dec dword [eax + 4]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], 0
ja 0x62b64c
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc
Function at 0x1000a0ab
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebx + ebx]
push eax
push 0
push esi
mov dword [ebp - 0xd0], esi
call fcn.10097040
add esp, 0xc
call fcn.100f2850
test eax, eax
je 0x1000a16c
push 0x41
push 0
push 1
push str.default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
xor eax, eax
test esi, esi
je 0x1000a1ea
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
push 0x10009fed
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
lea eax, [ebp - 0xcc]
push eax
call fcn.10097626
pop ecx
cmp eax, ebx
jb 0x1000a153
xor eax, eax
jmp 0x1000a1ea
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd0]
call fcn.10097591
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1000a1ea
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd4], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x1000a1cd
lea eax, [ebp - 0xcc]
push eax
call fcn.10097626
pop ecx
cmp eax, ebx
jae 0x1000a14c
lea eax, [ebp - 0xcc]
push eax
push esi
jmp 0x1000a160
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
jne 0x1000a1e4
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10096f18
leave
ret

Function at 0x1000a4a9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x1000a567
cmp ebx, esi
je 0x1000a567
cmp dword [ebp + 0x10], esi
je 0x1000a567
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10097040
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push edi
call fcn.1001c16f
lea eax, [ebp - 0x20c]
push eax
call fcn.10097626
add esp, 0x20
test eax, eax
je 0x1000a567
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a563
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x210], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1000a569
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10096f18
leave
ret
Function at 0x1000ae3d
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x1000aff0
push edi
call fcn.10097626
pop ecx
test eax, eax
je 0x1000aff0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000aff0
test al, 1
je 0x1000ae99
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 0x668], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x668], 0x10
je 0x1000afd4
push esi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.10097040
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.10097591
lea eax, [ebp - 0x414]
push 0x101e60a4
push eax
call fcn.10097563
push 0x24c
lea eax, [ebp - 0x660]
push ebx
push eax
mov dword [ebp - 0x664], ebx
call fcn.10097040
add esp, 0x28
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x1000afca
push 0x101e6528
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000afa3
push 0x101e6524
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000afa3
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.10097040
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10097591
lea eax, [ebp - 0x20c]
push 0x101e5fb4
push eax
call fcn.10097563
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10097563
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1000ae3d
add esp, 0x2c
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000af1f
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
jmp 0x1000afdb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x1000aff2
cmp dword [ebp + 0xc], ebx
je 0x1000aff2
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1000aff2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10096f18
leave
ret