joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10081a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov ecx, edi
push 0
mov dword [esi], 0x10009714
lea eax, [esi + 0x30]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x88]
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x40
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x40
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x70], 0
mov eax, dword [edi]
call dword [eax + 0x3c]
mov ecx, eax
call fcn.10089c90
push 0x63c
mov eax, dword [eax + 8]
movzx ebx, byte [eax + 5]
and ebx, 1
call fcn.10119612
add esp, 4
test eax, eax
je 0x10081b1a
mov ecx, eax
call fcn.10081920
jmp 0x10081b1c
xor eax, eax
mov dword [esi + 0xc], eax
test eax, eax
jne 0x10081b3b
mov ecx, dword [esp + 0x14]
push 1
push 0xfffffc0d
call fcn.10063120
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
push dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
push 0x40000
push ebx
push dword [eax + 0xc]
call fcn.1007c8c0
mov eax, dword [esi + 0xc]
pop edi
inc dword [eax]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x10083630
Capabilities:
Get hostname

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x10083659
push dword [esp + 0x10]
mov ecx, esi
call fcn.10083200
pop esi
ret 0xc

Function at 0x100836c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x1c]
mov ecx, reloc.mswstr10.dll_Ordinal_2
push esi
push edi
xor edi, edi
mov esi, 1
mov eax, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
test eax, eax
cmove eax, ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10083713
cmp byte [ecx], 0
je 0x10083713
lea edx, [esp + 0x24]
push edx
push 0x20019
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1008375e
lea edi, [eax + 1]
mov eax, dword [esp + 0x24]
jmp 0x10083717
mov dword [esp + 0x24], eax
test eax, eax
je 0x10083753
push ebx
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ebp
push ebx
push ecx
push 0
push dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp]
cmp eax, dword [esp + 0x10]
jae 0x1008374e
cmp dword [esp + 0x18], 1
jne 0x1008374e
test esi, esi
jne 0x1008374e
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x28]
pop ebx
test edi, edi
je 0x1008375e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
pop ebp
pop ecx
ret 0x14
Function at 0x10083770
Capabilities:
Resume thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x18], 0
jne 0x10083830
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10119612
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
jne 0x100837bc
push 1
push 0xfffffc0d
mov ecx, edi
call fcn.10063120
pop edi
pop esi
pop ebp
pop ebx
ret 8
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jbe 0x10083830
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea esp, [esp]
push 4
call fcn.10119612
add esp, 4
test eax, eax
je 0x100837f0
push edi
push esi
push 0x10083a90
mov ecx, eax
call fcn.1008e690
mov ecx, eax
jmp 0x100837f2
xor ecx, ecx
mov eax, dword [esi + 0x18]
mov dword [eax + ebx*4], ecx
mov eax, dword [esi + 0x18]
cmp dword [eax + ebx*4], 0
jne 0x1008380f
push 1
push 0xfffffc0d
mov ecx, edi
call fcn.10063120
test byte [edi], 8
jne 0x1008385d
lea eax, [esi + 0x68]
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ebx*4]
push dword [eax]
call ebp
inc ebx
cmp ebx, dword [esi + 0x14]
jb 0x100837d0
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
test eax, eax
je 0x1008389a
mov ecx, dword [esi + 0x54]
push eax
call fcn.10050b00
test eax, eax
jne 0x1008389a
push 1
push 0xfffffc0e
mov ecx, edi
call fcn.10063120
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi + 0x18]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10083877
mov ecx, edi
call fcn.1008e760
push edi
call fcn.10119688
add esp, 4
mov eax, dword [esi + 0x18]
mov dword [eax + ebx*4], 0
test ebx, ebx
jne 0x100838a4
push dword [esi + 0x18]
call fcn.10119688
add esp, 4
mov dword [esi + 0x18], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ecx, dword [esi + 0x1c]
push edi
push ebx
call fcn.1008e790
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x1008e690
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 4
push dword [esp + 0x18]
push dword [esp + 0x18]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x1008e6c3
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, esi
pop esi
pop ecx
ret 0xc
push edi
mov edi, dword [esp + 0x18]
mov ecx, 0x10138ce8
push edi
call fcn.10083200
test byte [edi], 1
jne 0x1008e6f8
cmp dword [edi + 4], 0xffffea84
jne 0x1008e6f8
push 1
push 0
push 0
push 0xffffdf30
push 0xffffea84
mov ecx, edi
call fcn.100630b0
pop edi
mov eax, esi
pop esi
pop ecx
ret 0xc
Function at 0x100aa526
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edx, dword [esi + 0x8c]
mov ebx, edx
mov ecx, dword [esi + 0x60]
imul eax, edx, 0x24
shl ebx, 3
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + eax + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xe4]
add ecx, ebx
mov ebx, dword [eax + 0x104]
imul eax, dword [eax + 0x108], 0xc
mov dword [esp + 0x14], ecx
add eax, ebx
mov dword [esp + 0x10], eax
jmp 0x100aa6bf
mov ebp, dword [ebx]
mov edi, dword [ebp + 0xe4]
add edi, dword [esp + 0x2c]
and dword [esp + 0x20], 0
cmp dword [esp + 0x48], 0
je 0x100aa5bc
mov eax, dword [esp + 0x48]
push dword [eax + 0x28]
push ebx
push esi
call fcn.100cf20d
mov ecx, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x10]
js 0x100aa6b8
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x4c], 0
je 0x100aa5cd
cmp ebp, dword [esp + 0x4c]
je 0x100aa6b8
test byte [edi + 4], 6
jne 0x100aa707
test byte [edi + 4], 1
je 0x100aa5f3
push 3
push dword [ebp + edx*4 + 0x28]
push dword [esi + 0x28]
call fcn.1003cd20
and dword [edi + 4], 0xfffffffe
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 2
je 0x100aa6d3
test byte [ecx + 4], 1
jne 0x100aa6d3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp dword [edx + eax + 0x64], 0xa
jne 0x100aa620
cmp dword [esp + 0x50], 0
je 0x100aa6b4
or dword [edi + 4], 8
mov dword [esp + 0x24], 1
mov byte [edi], 3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + eax + 0x64], 0
jne 0x100aa67a
mov eax, dword [ebp + 0xf0]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
and edx, 0x3f
shl edx, 4
add edx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, edx
jae 0x100aa67a
mov esi, ecx
mov ecx, dword [esi]
add esi, 0x10
mov eax, dword [edi + 4]
shl eax, 3
not eax
xor eax, dword [ecx + 4]
and eax, 0x40
xor dword [ecx + 4], eax
cmp esi, edx
jb 0x100aa65c
mov esi, dword [esp + 0x3c]
mov eax, dword [ebp + 0xe0]
xor edi, edi
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x50]
push dword [eax + 0x28]
push dword [esp + 0x48]
push dword [esi + 0x28]
call fcn.1003d0e0
push dword [esp + 0x24]
push edi
push edi
push dword [esp + 0x50]
push ebp
push esi
call fcn.100aa526
test eax, eax
js 0x100aa6c9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
add ebx, 0xc
cmp ebx, eax
jb 0x100aa582
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x48]
push ebx
push dword [esp + 0x4c]
push esi
call fcn.100aa8fd
test eax, eax
jne 0x100aa620
and dword [esp + 0x24], eax
mov eax, dword [edi + 4]
and eax, 0xfffffff7
mov byte [edi], 2
or eax, 0x10
mov dword [edi + 4], eax
jmp 0x100aa62f
lea eax, [esp + 0x44]
push eax
push ebp
push esi
call fcn.100ac0cf
xor eax, eax
push eax
push eax
push eax
push 0xffffe009
push eax
push eax
push dword [esp + 0x5c]
push dword [esi + 0x28]
call fcn.100378e0
mov eax, 0xfffffbe8
jmp 0x100aa6c9
Function at 0x100b5adf
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x198
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
mov ebx, dword [esp + 0x1a0]
lea eax, [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x1ac]
push edi
mov edi, dword [esp + 0x1b4]
push 0x1c
push 0x64
push eax
push dword [edi + 8]
push ebx
call fcn.1009245b
movsx ebp, ax
mov eax, dword [esi + 0x88]
add eax, ebp
cmp eax, dword [esi + 0x8c]
jle 0x100b5b48
mov dword [esi + 0x8c], eax
shl eax, 5
push eax
lea eax, [esi + 0x84]
push eax
push ebx
call fcn.100cac6e
lea ebx, [esp + 0x14]
mov eax, ebx
mov ecx, ebx
mov dword [esp + 0x10], ecx
lea eax, [eax + ebp*4]
xor ebp, ebp
mov edx, eax
sub edx, ecx
xor ecx, ecx
add edx, 3
shr edx, 2
cmp ebx, eax
cmova edx, ecx
test edx, edx
je 0x100b5bb7
mov eax, dword [esi + 0x88]
mov ecx, eax
shl ecx, 5
add ecx, dword [esi + 0x84]
inc eax
mov dword [esi + 0x88], eax
mov eax, dword [ebx]
lea ebx, [ebx + 4]
mov dword [ecx + 8], eax
mov eax, dword [edi]
xor eax, dword [ecx]
and eax, 1
xor dword [ecx], eax
mov al, byte [edi + 0x10]
mov byte [ecx + 0x10], al
mov al, byte [edi + 0x11]
mov byte [ecx + 0x11], al
mov eax, dword [edi]
xor eax, dword [ecx]
and eax, 0x10
xor dword [ecx], eax
inc ebp
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp ebp, edx
jb 0x100b5b6e
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0x198
ret 0xc
Function at 0x100d6527
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
cmp dword [ebp + 0x10], 0
je 0x100d6549
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001b740
jmp 0x100d6557
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100184b0
mov esi, eax
cmp esi, 0xfffffbb2
je 0x100d6579
cmp esi, 0xfffffbad
je 0x100d6579
cmp esi, 0xfffffbaf
je 0x100d6579
cmp esi, 0xfffffbae
jne 0x100d6587
call sub.KERNEL32.dll_GetTickCount
sub eax, edi
cmp eax, 0x2710
jb 0x100d6533
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10
Function at 0x100df2ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x58]
mov ebx, dword [edi + 0x60]
mov dword [esp + 0x1c], eax
movsx eax, word [edi + 0x68]
imul ebp, eax, 0x14
mov eax, dword [edi]
mov eax, dword [eax]
add ebp, ebx
cmp dword [esi], 0
mov dword [esp + 0x34], eax
jne 0x100df31b
push esi
push 1
mov eax, 0x1000
push eax
push ecx
call fcn.100caa46
test eax, eax
js 0x100df441
mov ecx, dword [esp + 0x28]
mov eax, 0x1000
mov word [edi + 0x5c], ax
movsx eax, word [edi + 0x5c]
mov esi, dword [esi]
add eax, esi
mov dword [esp + 0x2c], eax
jmp 0x100df437
and dword [esp + 0x10], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], esi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x14
push eax
lea eax, [esp + 0x30]
add esi, 4
push eax
push ebx
push ecx
push dword [esp + 0x6c]
call fcn.100ac723
test eax, eax
js 0x100df441
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
sub eax, esi
cmp dword [esp + 0x14], eax
ja 0x100df456
push dword [esp + 0x14]
push dword [esp + 0x28]
push esi
call fcn.101180b0
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x100df3aa
push dword [esp + 0x10]
call fcn.101174f0
mov ecx, dword [esp + 0x1c]
movsx eax, word [esp + 0x20]
push eax
movzx eax, word [ecx + 4]
push eax
movzx eax, word [ecx]
push eax
push dword [ebx + 4]
mov eax, dword [esp + 0x3c]
sub eax, esi
push eax
push dword [esp + 0x2c]
push esi
push dword [esp + 0x70]
call fcn.100ddf0e
test eax, eax
js 0x100df441
push dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push esi
movzx eax, word [edx + 4]
movzx ecx, word [edx]
push eax
movsx eax, word [edx + 2]
push eax
push ecx
movsx eax, cx
push eax
push dword [ebx + 4]
call fcn.100dd7c0
push eax
mov eax, dword [esp + 0x48]
movzx eax, word [eax]
push eax
push dword [edi + 4]
push dword [esp + 0x54]
push dword [esp + 0x78]
call fcn.100dd7d9
test eax, eax
js 0x100df441
mov eax, dword [esp + 0x18]
cmp dword [eax], 0xffffffff
je 0x100df424
add esi, dword [eax]
mov eax, dword [esp + 0x30]
add ebx, 0x14
add dword [esp + 0x1c], 6
mov ecx, dword [esp + 0x28]
inc word [eax]
cmp ebx, ebp
jb 0x100df32c
xor eax, eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0x40
ret 0x10
cmp dword [esp + 0x10], 0
je 0x100df466
push dword [esp + 0x10]
call fcn.101174f0
mov eax, 0xfffff401
jmp 0x100df441
Function at 0x100e08fd
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
movzx eax, ax
sub eax, 0
je 0x100e094f
push esi
dec eax
je 0x100e0926
dec eax
je 0x100e0922
dec eax
je 0x100e091b
mov esi, dword [0x1017c2e8]
jmp 0x100e0936
mov esi, 0x96
jmp 0x100e0929
push 0x64
jmp 0x100e0928
push 0x32
pop esi
cmp dword [0x1017c2e8], esi
cmovb esi, dword [0x1017c2e8]
push edi
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
test esi, esi
je 0x100e094d
call sub.KERNEL32.dll_GetTickCount
sub eax, edi
cmp eax, esi
jb 0x100e0942
pop edi
pop esi
ret 4
Function at 0x100f6cec
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
and dword [esp + 4], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
or ebp, 0xffffffff
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0xf0]
mov ebx, dword [esi + 0xec]
test eax, eax
je 0x100f6e49
imul eax, eax, 0x34
push edi
add eax, ebx
cmp ebx, eax
jae 0x100f6d4a
sub eax, ebx
lea edi, [ebx + 0x30]
push 0x34
xor edx, edx
dec eax
pop ebp
div ebp
push 0x3f
inc eax
pop edx
mov cx, word [edi]
xor cx, word [esi + 0xdc]
and cx, dx
xor word [edi], cx
add edi, ebp
dec eax
jne 0x100f6d31
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x100f6e48
mov ecx, dword [esi + 0xd8]
xor edi, edi
and dword [esp + 0x10], edi
imul eax, eax, 0x34
add eax, ecx
mov dword [esp + 0x1c], eax
cmp ecx, eax
jae 0x100f6e36
mov eax, dword [ecx + 4]
mov dl, byte [eax + 4]
cmp dl, 0xa
jne 0x100f6e52
cmp byte [eax + 5], 0
jne 0x100f6d95
mov esi, dword [eax + 8]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x28]
cmp dl, 0xa
jne 0x100f6e52
cmp byte [eax + 5], 0
jne 0x100f6e52
mov eax, dword [esp + 0x14]
cmp byte [eax + 9], 3
jne 0x100f6e52
imul edx, dword [eax + 4], 0x34
add edx, ebx
inc edi
mov dword [esp + 0x18], edi
movzx edi, word [edx + 0x30]
mov eax, edi
shl eax, 0xa
cwde
sar eax, 0xa
cmp eax, dword [esi + 0xdc]
jne 0x100f6e21
mov eax, edi
xor eax, dword [esp + 0x10]
and eax, 0x3f
xor eax, edi
mov word [edx + 0x30], ax
mov eax, dword [ecx + 0x28]
and eax, 0x80
or dword [edx + 0x28], eax
cmp byte [edx + 0x2e], 1
jne 0x100f6e10
test byte [ecx + 0x28], 0x80
je 0x100f6e10
cmp word [esi + 0xbc], 6
jne 0x100f6e10
or dword [esi + 0xb4], 0x80
cmp ebp, 0xffffffff
je 0x100f6e1d
movsx eax, byte [edx + 0x2e]
cmp eax, ebp
jg 0x100f6e68
movsx ebp, byte [edx + 0x2e]
mov edi, dword [esp + 0x18]
add ecx, 0x34
inc dword [esp + 0x10]
cmp ecx, dword [esp + 0x1c]
jb 0x100f6d75
cmp edi, dword [esi + 0xdc]
jne 0x100f6e48
or dword [esi + 0xb4], 0x400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
test byte [esi + 0xb4], 0x20
je 0x100f6e48
test dword [ecx + 0x28], 0x1000
jne 0x100f6e68
xor ebp, ebp
jmp 0x100f6e25
push 0
push 0
push 0xffffe071
push dword [ecx + 4]
push dword [esi + 0x80]
mov esi, dword [esp + 0x38]
push esi
call fcn.100965cf
push 0xfffff439
push dword [esi + 0x18]
call fcn.1011b480
int3
Function at 0x10107573
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x254
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x260]
push ebx
mov ebx, dword [esp + 0x26c]
push ebp
push esi
push edi
mov dword [esp + 0x30], eax
xor edi, edi
mov eax, dword [esp + 0x274]
push 0x34
mov dword [esp + 0x28], eax
lea eax, [esp + 0xec]
push edi
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0xf0], edi
call fcn.10117f50
xor eax, eax
mov dword [esp + 0x38], edi
inc eax
mov dword [esp + 0x2c], edi
add esp, 0xc
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0x4000
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10107b39
mov ebp, dword [esp + 0x268]
mov esi, eax
test esi, esi
js 0x101079aa
or dword [ebx], 0xffffffff
lea eax, [esp + 0x9c]
or dword [esp + 0xe8], 0xffffffff
push 0x48
push edi
push eax
mov dword [esp + 0x150], 0x10
call fcn.10117f50
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0xa8]
add esp, 0xc
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0xa4], fcn.10055f20
lea edi, [esp + 0x54]
mov dword [esp + 0xac], 0x10052a40
mov dword [esp + 0x48], 0xff
push 9
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x26c]
lea eax, [esp + 0x40]
push 0x10011e38
push dword [esp + 0x18]
mov dword [esp + 0x5c], 0x10011ee8
push ebx
mov dword [esp + 0x68], 0x816
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], edi
call fcn.100631e0
push 0x5b
pop eax
push 1
push 0x82
mov word [esp + 0x15c], ax
lea eax, [esp + 0x1e4]
push eax
push edi
push ebp
mov dword [esp + 0x28], 0x32
call sym.msjet40.dll_Ordinal_148
mov esi, eax
test esi, esi
js 0x101079ae
push 2
push 0x28
lea eax, [esp + 0x124]
push eax
push edi
push ebp
call sym.msjet40.dll_Ordinal_148
mov esi, eax
test esi, esi
js 0x101079ae
push 0x12
push 4
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x128]
push ebp
call fcn.1003ba10
mov esi, eax
test esi, esi
js 0x101079ae
push 1
push 0x38
lea eax, [esp + 0xec]
push eax
xor eax, eax
push eax
push edi
push ebp
call sym.msjet40.dll_Ordinal_146
mov esi, eax
test esi, esi
js 0x101079ae
cmp dword [esp + 0xec], 0
je 0x101079ae
xor edi, edi
push edi
push Ordinal_2
push dword [esp + 0xf0]
push ebp
call sym.msjet40.dll_Ordinal_156
mov esi, eax
test esi, esi
js 0x101079ae
Function at 0x10114340
Capabilities:
Delete file

Disassembly:
sub esp, 0x218
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10138e28], 0
mov eax, dword [esp + 0x21c]
je 0x10114382
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10117cfd
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10113fc0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
cmp eax, ecx
je 0x101143d0
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x101143d0
cmp dword [esp + 4], 0xffffffff
je 0x101143d0
push eax
call fcn.10117f0a
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10117cfd
add esp, 0x218
ret 4

Function at 0x10114500
Capabilities:
Get hostname

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x218], eax
cmp dword [0x10138e28], 0
mov eax, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x228]
je 0x1011454c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
pop edi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10117cfd
add esp, 0x21c
ret 8
push esi
push dword [edi]
lea ecx, [esp + 0xc]
push eax
call fcn.10113db0
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 8]
mov esi, eax
call fcn.10113f50
test eax, eax
jle 0x10114574
dec eax
lea ecx, [esp + 8]
mov dword [edi], eax
call fcn.10113f50
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
cmp ecx, eax
je 0x101145a4
mov eax, ecx
shr eax, 0x10
test eax, eax
je 0x101145a4
cmp dword [esp + 8], 0xffffffff
je 0x101145a4
push ecx
call fcn.10117f0a
add esp, 4
mov ecx, dword [esp + 0x220]
mov eax, esi
pop esi
pop edi
xor ecx, esp
call fcn.10117cfd
add esp, 0x21c
ret 8

Function at 0x101145c0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x218
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10138e28], 0
mov eax, dword [esp + 0x21c]
je 0x10114602
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10117cfd
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10113fc0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
cmp eax, ecx
je 0x10114650
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x10114650
cmp dword [esp + 4], 0xffffffff
je 0x10114650
push eax
call fcn.10117f0a
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10117cfd
add esp, 0x218
ret 4
Function at 0x10114670
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x218
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10138e28], 0
mov eax, dword [esp + 0x21c]
je 0x101146b2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10117cfd
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10113fc0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
cmp eax, ecx
je 0x10114700
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x10114700
cmp dword [esp + 4], 0xffffffff
je 0x10114700
push eax
call fcn.10117f0a
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10117cfd
add esp, 0x218
ret 4

Function at 0x10114860
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x218], eax
cmp dword [0x10138e28], 0
mov eax, dword [esp + 0x228]
mov ecx, dword [esp + 0x22c]
je 0x101148b8
push ecx
push eax
push dword [esp + 0x22c]
push dword [esp + 0x22c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10117cfd
add esp, 0x21c
ret 0x10
push esi
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.10113db0
mov eax, dword [esp + 0x218]
add eax, eax
shr eax, 1
push eax
push dword [esp + 0xc]
push dword [esp + 0x230]
push dword [esp + 0x230]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 4]
call fcn.10113f50
lea ecx, [esp + 4]
mov esi, eax
call fcn.10113f50
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
cmp eax, ecx
je 0x10114921
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x10114921
cmp dword [esp + 4], 0xffffffff
je 0x10114921
push eax
call fcn.10117f0a
add esp, 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10117cfd
add esp, 0x21c
ret 0x10