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

Disassembly:
push 0xffffffffffffffff
push 0x1150e628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x30]
push eax
call fcn.1135fab2
mov eax, dword [edi + 0x24]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
jle 0x113ded5d
push ebp
push esi
mov ecx, dword [edi + 0x20]
mov ebp, dword [ecx + ebx*4]
mov dword [esp + 0x10], ebp
mov edx, dword [ebp + 4]
mov eax, dword [edx - 8]
test eax, eax
je 0x113ded4b
lea esi, [edi + 0x15c]
push 0xffffffffffffffff
mov ecx, esi
call fcn.113a6d80
test eax, eax
je 0x113ded4b
mov eax, dword [ebp + 4]
push 0
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.113a6dd0
mov ebx, eax
test ebx, ebx
je 0x113ded34
cmp dword [ebx], 0x4d465631
jne 0x113ded34
mov eax, dword [ebx + 8]
xor esi, esi
test eax, eax
jle 0x113ded34
lea ebp, [ebx + 0x10]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call fcn.11373cb0
add esp, 8
test eax, eax
je 0x113ded7f
mov eax, dword [ebx + 8]
inc esi
add ebp, 0x58
cmp esi, eax
jl 0x113ded13
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, edi
call fcn.113dea40
lea ecx, [edi + 0x15c]
call fcn.113a6db0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x24]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x113decc2
pop esi
pop ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.1135faee
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
lea edx, [esi + esi*4]
lea eax, [esi + edx*2]
lea esi, [ebx + eax*8 + 0x10]
test esi, esi
je 0x113ded30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
call fcn.113fdae0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
mov ecx, dword [edi + 0x10]
xor edx, edx
mov dword [esi + 0x48], ecx
mov dx, word [edi + 0xa8]
add esp, 4
lea ecx, [edi + 0x128]
mov dword [esi + 0x4c], edx
call fcn.113e2350
push 0
lea ecx, [edi + 0x15c]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
call fcn.113a6dd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
jmp 0x113ded3c

Function at 0x113dfd40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1150e79e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x1152773c
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 2
je 0x113dfd84
push eax
call fcn.114ef297
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esp + 0x14], 1
call fcn.113e63f0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], bl
call fcn.113e63f0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.113e3170
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x113e0910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1150e924
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ebx, [esi + 0x34]
mov dword [esi], 0x11527788
mov dword [ebx], 0x1152776c
mov dword [esp + 0x2c], 6
call dword [0x1152779c]
lea ebp, [esi + 0x58]
push 1
push ebp
lea ecx, [esp + 0x20]
call fcn.1135fab2
mov eax, dword [esi + 0x48]
mov byte [esp + 0x2c], 7
test eax, eax
jle 0x113e098e
lea ecx, [esi + 0x3c]
call fcn.114e85c3
mov edi, eax
test edi, edi
je 0x113e0987
mov ecx, edi
call fcn.113dffc0
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esi + 0x48]
test eax, eax
jg 0x113e096a
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 6
call fcn.1135faee
mov eax, esi
mov ecx, dword [esi + 0xd0]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.113df470
lea ecx, [esi + 0xac]
mov byte [esp + 0x2c], 5
call fcn.114e873a
lea edi, [esi + 0x8c]
mov byte [esp + 0x2c], 4
lea ecx, [edi + 8]
mov dword [edi], 0x1151d400
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, edi
call fcn.1135f8f6
lea ecx, [esi + 0x78]
mov byte [esp + 0x2c], 3
call fcn.114e873a
lea edx, [ebp + 8]
mov byte [esp + 0x2c], 2
push edx
mov dword [ebp], 0x1151d400
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, ebp
call fcn.1135f8f6
lea ecx, [esi + 0x3c]
mov byte [esp + 0x2c], 1
call fcn.114e848d
mov ecx, esi
mov byte [esp + 0x2c], 0
neg ecx
sbb ecx, ecx
and ecx, ebx
call fcn.113e11c0
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.113e3310
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x113e17c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1150eb28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x80]
push eax
call fcn.1135fab2
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
mov eax, dword [edi + 0x70]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
je 0x113e18b9
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x113e1840
lea esi, [edi + 0x64]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.114e9947
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebp
jne 0x113e181b
mov eax, dword [edi + 0x70]
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x113e18af
push ebx
lea ebx, [edi + 0x64]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.114e9947
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
cmp ecx, ebp
je 0x113e1879
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
mov dword [esi + 0x24], ebp
call fcn.1138f640
mov ecx, dword [esp + 0x10]
call fcn.1138f6f0
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x113e189a
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x113e18a8
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x34], ebp
jne 0x113e1853
pop ebx
lea ecx, [edi + 0x64]
call fcn.114e9774
jmp 0x113e1931
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x113e1931
lea esi, [edi + 0x64]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.114e9947
mov ecx, dword [esp + 0xc]
call fcn.1138f770
test eax, eax
jne 0x113e192b
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x20], ebp
jne 0x113e192b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x113e1911
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
je 0x113e1923
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.114e9905
cmp dword [esp + 0x30], ebp
jne 0x113e18c8
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.1135faee
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x113e1b90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1150eba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], edi
cmp eax, edi
jne 0x113e1bc2
xor eax, eax
jmp 0x113e1c86
lea eax, [esi + 0x80]
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.1135fab2
mov eax, dword [esi + 0x70]
mov ebx, dword [esp + 0x40]
neg eax
sbb eax, eax
mov dword [esp + 0x38], edi
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x113e1c39
lea ebp, [esi + 0x64]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x4c], edi
call fcn.114e9947
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0x24], edi
je 0x113e1c33
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
call dword [edx + 0x1c]
cmp bx, word [esp + 0x14]
je 0x113e1c9b
cmp dword [esp + 0x18], edi
jne 0x113e1bee
push ebx
mov ecx, esi
call fcn.113e1ac0
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x113e1c71
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x64]
push edx
push eax
mov dword [esp + 0x24], edi
call fcn.114e9893
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x113e1c6d
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov esi, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.1135faee
mov eax, esi
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ecx, dword [esp + 0x40]
add ecx, 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x10]
jmp 0x113e1c73
Function at 0x113e2160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1150ec18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x1157c63c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x30]
push str.ListenWnd
lea edx, [esp + 0x10]
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x18]
push eax
push 0x1156c6ac
push edx
call fcn.114e2e9b
mov eax, dword [0x1157c63c]
add esp, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x30]
mov edx, dword [esp + 0x54]
push edx
push str.ListenWnd
mov eax, dword [ecx + 0x18]
mov byte [esp + 0x50], 1
push eax
lea eax, [esp + 0x14]
push str._s__s__08x
push eax
call fcn.114e2e9b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 0x14
push ecx
push edx
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 8]
mov edi, eax
mov byte [esp + 0x48], 0
call fcn.114e9faf
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0xffffffff
call fcn.114e9faf
test edi, edi
jne 0x113e2226
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
push ebp
xor ebp, ebp
push ebp
lea ecx, [esp + 0x28]
call fcn.113e2850
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x50], 2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x18], ebp
call fcn.113e28f0
test eax, eax
je 0x113e229b
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0x12345678
mov dword [esp + 0x20], ecx
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edx
call fcn.113e28f0
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push ecx
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
xor edx, edx
lea ecx, [esp + 0x24]
test ebp, ebp
setne dl
mov esi, edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.113e28a0
mov ecx, dword [esp + 0x44]
pop ebp
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 8

Function at 0x113e9e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x113e9e8e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x113e9e8e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x113e9e93
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x113e9e79
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x113e9ea3
test esi, esi
jne 0x113e9ec1
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x113e9ebf
mov byte [eax + esi - 1], 0
jne 0x113e9ec8
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret
Function at 0x113ef5b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x113ef600
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x113ef600
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x113ef605
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x113ef5eb
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x113ef612
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x113faf20
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x113faf6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x113faf6b
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.114ef26e
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.114ef26e
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x113fafb0
test esi, esi
je 0x113fafc1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x113fafbd
push esi
call fcn.114ef297
add esp, 4
test ebx, ebx
jne 0x113fafd0
mov edi, dword [edi]
test edi, edi
je 0x113fafd0
push edi
call fcn.114ef297
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret

Function at 0x113fc460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x113fc46b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
mov esi, edi
not eax
jb 0x113fc56d
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x11527880]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x11527880]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x11527880]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x11527880]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x11527880]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x11527880]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x11527880]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x11527880]
xor eax, edx
inc ecx
dec edi
jne 0x113fc486
test esi, esi
je 0x113fc58f
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x11527880]
xor eax, edx
inc ecx
dec esi
jne 0x113fc571
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x114062e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, 0x8000
push edi
cmp eax, esi
mov dword [esp + 0x14], esi
jbe 0x114062fe
mov dword [esp + 0x14], eax
mov esi, eax
push esi
call fcn.114ef26e
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
mov ebp, dword [esp + 0x24]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], ebx
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jne 0x1140633d
xor ebx, ebx
jmp 0x1140635a
lea eax, [esp + 0x24]
push 0
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x11406356
or ebx, 0xffffffff
jmp 0x1140635a
mov ebx, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x114063ad
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push 0
push ecx
push eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x11406392
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x114063a9
mov ecx, dword [esp + 0x10]
push ecx
call fcn.114ef297
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
cmp ebx, esi
jae 0x114063d2
test ebx, ebx
je 0x114064a6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push 0
push edx
push ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x114064a6
lea ecx, [ebx + edi]
add edi, eax
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edi
call fcn.114ef26e
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x24], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x11406406
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x11406445
push 0
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
je 0x11406445
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push 0
push eax
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1140643f
or esi, 0xffffffff
jmp 0x11406447
mov esi, dword [esp + 0x28]
jmp 0x11406447
xor esi, esi
mov edx, dword [esp + 0x2c]
push 0
push 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x1140646f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add edx, ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
add edi, esi
mov dword [esp + 0x10], edx
test esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov ebx, esi
jg 0x11406402
push eax
call fcn.114ef297
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.114ef297
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x114064c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
jne 0x114064e3
or ebx, eax
jmp 0x114064e5
mov ebx, eax
push 2
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
je 0x114064ff
mov dword [esp + 0x1c], eax
push 0
push ebx
push esi
call fcn.11406800
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub eax, ebp
sub ecx, ebp
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x11406527
mov dword [esp + 0x20], eax
push 0x8000
call fcn.114ef26e
mov ebx, eax
add esp, 4
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push 0
push 0
lea ecx, [eax + ebp]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x24]
push 0
push edx
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x11406571
or eax, 0xffffffff
jmp 0x114065ad
mov edi, dword [esp + 0x24]
mov eax, edi
test edi, edi
mov dword [esp + 0x14], eax
jle 0x114065ad
push 0
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
je 0x114065a9
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x114065b8
cmp dword [esp + 0x10], edi
jne 0x114065b8
mov eax, dword [esp + 0x14]
add ebp, eax
cmp eax, 0x8000
jne 0x114065cb
jmp 0x11406541
push ebx
call fcn.114ef297
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call fcn.114ef297
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x11406b90
Capabilities:
Get user security identifier

Disassembly:
mov eax, dword [0x115a65dc]
sub esp, 0x120
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push edi
jne 0x11406bdc
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, 2
jne 0x11406bd7
mov dword [0x115a65e0], eax
mov dword [0x115a65dc], eax
cmp dword [0x115a65e0], ebx
jne 0x11406bf0
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
mov ebp, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x14]
push ebx
push eax
push ebx
push ebp
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x11406c3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x11406c3c
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
mov ecx, dword [esp + 0xc]
push esi
push ecx
call fcn.114ef26e
mov edx, dword [esp + 0x18]
mov dword [edi], eax
lea eax, [edx + edx]
push eax
call fcn.114ef26e
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x11406c81
test esi, esi
je 0x11406c92
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x11406c8e
push esi
call fcn.114ef297
add esp, 4
test ebx, ebx
jne 0x11406ca1
mov edi, dword [edi]
test edi, edi
je 0x11406ca1
push edi
call fcn.114ef297
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x120
ret