joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010c8a
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x10042a72
call fcn.10021ea5
mov ebx, ecx
push str.CPCDetailCmd::Execute__:_entered.
call fcn.10003e3a
lea ecx, [ebp - 0x18]
mov dword [esp], 0x1004da7c
call fcn.100021a3
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..tmp
call fcn.100021a3
lea eax, [ebp - 0x18]
push eax
lea edi, [ebp - 0x14]
call fcn.10001b47
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x10010d0c
push str.CPCDetailCmd::Execute__:_GetTempFileName___failed.
call fcn.10003e3a
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002c37
or eax, 0xffffffff
call fcn.10021f44
ret 4
lea esi, [ebp - 0x10]
call fcn.10001e59
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x10010d49
push str.CPCDetailCmd::Execute__:_GetTempDirPath___failed.
call fcn.10003e3a
pop ecx
or esi, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002c37
mov eax, esi
jmp 0x10010d04
push str.PCDetail
lea ecx, [ebp - 0x18]
call fcn.100021a3
push 0x1004d680
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.1000436d
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.1000fa64
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10002c37
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
push dword [ebp - 0x10]
call fcn.10004e4d
push eax
call fcn.1000546a
test al, al
je 0x10010e45
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.10038530
add esp, 0xc
test eax, eax
je 0x10010e3c
push 0x100581b4
lea ecx, [ebp - 0x18]
call fcn.100023ad
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000fa0b
push 0x1004aa2c
lea ecx, [ebp - 0x1c]
call fcn.100021a3
mov byte [ebp - 4], 7
movzx eax, word [0x1005bb58]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebx + 8]
push eax
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x20], esp
mov ebx, esp
push edi
call fcn.10002687
pop ecx
push 1
lea ecx, [ebp - 0x1c]
push ecx
add eax, 0x10
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, edi
call fcn.10002c37
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x10010d2f
Function at 0x10011d1e
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x10
mov eax, 0x10040d74
call fcn.10021ea5
mov esi, ecx
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10011d46
or eax, 0xffffffff
call fcn.10021f44
ret 4
mov ecx, edi
lea ebx, [ebp - 0x18]
call fcn.10001c9b
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str..tmp
call fcn.100021a3
mov eax, ebx
push eax
lea edi, [ebp - 0x14]
call fcn.10001b47
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x10011d98
xor esi, esi
inc esi
lea ecx, [eax - 0x10]
call fcn.10002c37
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
mov eax, esi
jmp 0x10011d3e
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push 0
push eax
push ecx
call fcn.10038530
add esp, 0xc
test eax, eax
je 0x10011e5a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
cmp eax, 0xe
jne 0x10011dca
mov dword [ebp + 8], 6
jmp 0x10011df2
push 0xb
pop ecx
cmp eax, ecx
jne 0x10011dda
mov dword [ebp + 8], 5
jmp 0x10011df2
cmp eax, 0xf
jne 0x10011de4
mov dword [ebp + 8], ecx
jmp 0x10011df2
push 8
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [ebp + 8], eax
push dword [esi + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.10011c06
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x10011e1d
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000fa0b
movzx eax, word [0x1005bb58]
mov edi, dword [esi + 8]
push eax
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.10002687
pop ecx
push dword [ebp + 8]
add eax, 0x10
push ebx
lea ecx, [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10002c37
mov eax, dword [ebp - 0x14]
xor esi, esi
jmp 0x10011d81
Function at 0x10011f01
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x10042a1f
call fcn.10021ea5
mov esi, ecx
mov dword [ebp - 0x18], esi
push str.CStartRecordCmd::Execute__:_entered.
call fcn.10003e3a
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop ecx
test eax, eax
jne 0x10011f34
or eax, 0xffffffff
call fcn.10021f44
ret 4
cmp dword [esi + 0xc], 0
je 0x10011f3e
xor eax, eax
jmp 0x10011f2c
push 0x20
mov ecx, edi
call fcn.10002215
mov esi, eax
cmp esi, 0xffffffff
jne 0x10011f5b
push str.CStartRecordCmd::Execute__:_invalid_parameter.
call fcn.10003e3a
pop ecx
jmp 0x10011f29
lea eax, [ebp - 0x10]
lea edx, [esi + 1]
push eax
mov ecx, edi
call fcn.100042f8
and dword [ebp - 4], 0
lea ebx, [ebp - 0x10]
call fcn.1000fd6b
mov ebx, eax
call fcn.1000fdb9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x10011f9d
push str.CStartRecordCmd::Execute__:_invalid_server_ip.
call fcn.10003e3a
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10002c37
jmp 0x10011f29
push esi
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.10002289
lea ebx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000fd6b
mov ebx, eax
call fcn.1000fdb9
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x10011ff1
push str.CStartRecordCmd::Execute__:_invalid_data_path.
call fcn.10003e3a
pop ecx
or edi, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10002c37
mov eax, edi
jmp 0x10011f2c
push 0x10
call fcn.1001ec97
mov esi, eax
pop ecx
cmp esi, edi
je 0x10012018
mov ebx, 0x100581b4
push ebx
lea ecx, [esi + 4]
call fcn.100023ad
push ebx
lea ecx, [esi + 0xc]
call fcn.100023ad
jmp 0x1001201a
xor esi, esi
mov eax, dword [0x1005b9ac]
mov dword [esi], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 4]
call fcn.100023d5
mov eax, dword [0x1005bb58]
mov dword [esi + 8], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xc]
call fcn.100023d5
push edi
push edi
push esi
push 0x10017967
push edi
push edi
call fcn.10020d0d
mov ecx, dword [ebp - 0x18]
add esp, 0x18
mov dword [ecx + 0xc], eax
jmp 0x10011fd4
Function at 0x100128ad
Capabilities:
Create thread

Disassembly:
push 0x44
mov eax, 0x10042d44
call fcn.10021ea5
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_PeekMessageW]
mov eax, dword [ebx + 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [ebx + 0x20]
cmp edi, esi
je 0x100128ee
push edi
call fcn.1001a1fb
push edi
call fcn.1001d730
pop ecx
mov dword [ebx + 0x20], esi
push 0x88
call fcn.1001ec97
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x10012937
lea eax, [ebx + 0xb4]
cmp dword [eax + 0x14], 0x10
jb 0x10012911
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000214e
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 1
call fcn.1001a192
jmp 0x10012939
xor eax, eax
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x10], 1
mov dword [ebx + 0x20], eax
je 0x10012951
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002c37
mov dword [ebp - 0x34], esi
xor eax, eax
push esi
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
push ebx
push 0x100133f0
stosd dword es:[edi], eax
push esi
push esi
stosd dword es:[edi], eax
call fcn.10020d0d
push esi
push esi
push ebx
push 0x10013a66
push esi
push esi
mov dword [ebp - 0x34], eax
call fcn.10020d0d
push esi
push esi
push ebx
push 0x10013993
push esi
push esi
mov dword [ebp - 0x30], eax
call fcn.10020d0d
add esp, 0x48
push esi
push esi
push ebx
push 0x10013f7e
push esi
push esi
mov dword [ebp - 0x2c], eax
call fcn.10020d0d
push 4
mov dword [ebp - 0x28], eax
call fcn.1001ec97
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 3
cmp edi, esi
je 0x100129e9
mov dword [edi], esi
push str.Local7c3793fd_7df7_40c9_a896_2730cb5e4fd4
push esi
push 1
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
cmp eax, esi
setne cl
mov dword [edi], eax
cmp ecx, esi
jne 0x100129eb
call fcn.1001676e
xor edi, edi
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.100165fc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 0x4bf
push 0x64
push esi
lea eax, [ebp - 0x20]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
sub eax, esi
je 0x10012a40
dec eax
jne 0x10012a06
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10012a06
cmp dword [ebp - 0x4c], 0x12
je 0x10012a40
cmp dword [ebp - 0x4c], 0x11
jne 0x10012a06
mov eax, dword [ebx + 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x34]
push eax
push 5
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [ebp - 0x18], esi
je 0x10012a68
mov esi, dword [ebp - 0x18]
call fcn.10016737
xor eax, eax
call fcn.10021f44
ret
Function at 0x10012a70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x26
push str.afab51d7_2526_4b16_9f7d_2ec44776d658
mov esi, ecx
push 0x800
push esi
call fcn.10021004
lea eax, [esi + 0x27]
add esp, 0x10
push eax
mov byte [esi + 0x26], 0xfe
call fcn.1000783c
mov ebx, eax
call fcn.1000787a
lea ebx, [esi + 0x2d]
test ebx, ebx
je 0x10012aac
mov ecx, ebx
call fcn.10015822
push 0x10
lea edi, [esi + 0x101]
push 0x1005bb0c
push edi
call fcn.10020ee0
add esp, 0xc
push 0x10
lea eax, [esi + 0x111]
push 0x1005bb1c
push eax
call fcn.10020ee0
add esp, 0xc
push 8
push 0x1005bb2c
add esi, 0x121
push esi
call fcn.10020ee0
add esp, 0xc
xor eax, eax
xor byte [ebx + eax], 0x78
inc eax
cmp eax, 0xd4
jl 0x10012af0
xor eax, eax
xor byte [edi + eax], 0x78
inc eax
cmp eax, 0x28
jl 0x10012afe
pop edi
pop esi
mov eax, 0x129
pop ebx
ret

Function at 0x10012b11
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x10058684]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x30f]
push ebx
push eax
mov byte [ebp - 0x310], bl
call fcn.10024270
push esi
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.10024270
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.10024270
add esp, 0x24
push 0x104
lea eax, [ebp - 0x310]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x310]
push 0x5c
push eax
call fcn.1001f5e0
pop ecx
pop ecx
cmp eax, ebx
je 0x10012b96
mov byte [eax], bl
xor eax, eax
mov cl, byte [ebp + eax - 0x310]
mov byte [ebp + eax - 0x108], cl
inc eax
cmp cl, bl
jne 0x10012b98
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x10012bb2
mov esi, str._sig.bin
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x108]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10012bd8
xor eax, eax
inc eax
jmp 0x10012c48
push 5
mov dword [ebp - 0x20c], ebx
pop ecx
mov esi, str.A8FB2A30_5F7B1A419ECA
lea edi, [ebp - 0x208]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1e8]
push eax
movsw word es:[edi], word [esi]
call fcn.1000783c
mov ebx, eax
call fcn.1000787a
push 0x2c
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call fcn.10004c4d
lea eax, [ebp - 0x108]
push 0x1004ceec
push eax
call fcn.10020189
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10012c46
push esi
push 1
push 6
push str.sigbin
call fcn.1001e52d
push esi
call fcn.1001e614
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d73b
leave
ret
Function at 0x10012c57
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10058684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x103
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.10024270
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov byte [ebp - 0xc], 0
xor eax, eax
lea edi, [ebp - 0xb]
stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
push 1
stosb byte es:[edi], al
call esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov byte [ebp - 0xb], 0x3a
mov dword [ebp - 0x114], 2
mov ecx, dword [ebp - 0x114]
xor eax, eax
inc eax
shl eax, cl
test edi, eax
je 0x10012d32
mov al, cl
add al, 0x41
mov byte [ebp - 0xc], al
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x10012d32
lea eax, [ebp - 0xc]
push eax
push str.SearchFile_Msg.0.db__s_qq_r_n
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.1001f421
lea eax, [ebp - 0x110]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10012d0a
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp - 0x118]
sub eax, edx
mov ecx, eax
call fcn.100147fc
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 0x1a
jl 0x10012cbf
push 0
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.1001d73b
leave
ret

Function at 0x10012d5a
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10058684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.10024270
push esi
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.10024270
add esp, 0x18
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.1001f5e0
pop ecx
pop ecx
cmp eax, ebx
je 0x10012dd3
mov byte [eax], bl
xor eax, eax
mov cl, byte [ebp + eax - 0x20c]
mov byte [ebp + eax - 0x108], cl
inc eax
cmp cl, bl
jne 0x10012dd5
push edi
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x10012df0
mov esi, str.qr.sig
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x108]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
pop edi
test eax, eax
je 0x10012e16
xor eax, eax
inc eax
jmp 0x10012e56
push dword [ebp - 0x210]
call fcn.10012c57
lea eax, [ebp - 0x108]
mov dword [esp], 0x1004ceec
push eax
call fcn.10020189
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x10012e54
push esi
push 1
push 6
push str.qrsign
call fcn.1001e52d
push esi
call fcn.1001e614
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d73b
leave
ret
Function at 0x10012e64
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10058684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21b]
push ebx
push eax
mov byte [ebp - 0x21c], bl
call fcn.10024270
push esi
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.10024270
add esp, 0x18
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.1001f5e0
pop ecx
pop ecx
cmp eax, ebx
je 0x10012ede
mov byte [eax], bl
xor eax, eax
mov cl, byte [ebp + eax - 0x21c]
mov byte [ebp + eax - 0x118], cl
inc eax
cmp cl, bl
jne 0x10012ee0
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x10012efa
mov esi, str._rf.sig
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x118]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10012f1f
xor eax, eax
inc eax
jmp 0x10012f98
xor eax, eax
mov byte [ebp - 0x14], bl
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.RecoverFile
push 0x1004cf2c
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.1001f421
lea eax, [ebp - 0x14]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012f4b
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x220]
sub eax, edx
mov ecx, eax
call fcn.100147fc
lea eax, [ebp - 0x118]
push 0x1004ceec
push eax
call fcn.10020189
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x10012f96
push esi
push 1
push 6
push str.rfsign
call fcn.1001e52d
push esi
call fcn.1001e614
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d73b
leave
ret
Function at 0x10012fa7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10058684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.10024270
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov byte [ebp - 0xc], bl
xor eax, eax
lea edi, [ebp - 0xb]
stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
push 1
stosb byte es:[edi], al
call esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov word [ebp - 0xb], 0x5c3a
mov dword [ebp - 0x114], ebx
mov ecx, dword [ebp - 0x114]
xor eax, eax
inc eax
shl eax, cl
test edi, eax
je 0x1001308a
mov al, cl
add al, 0x41
mov byte [ebp - 0xc], al
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x1001303c
cmp eax, 2
je 0x1001303c
cmp eax, 4
jne 0x1001308a
lea eax, [ebp - 0xc]
push eax
push str.GetDirTree__s_5_r_n
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.1001f421
lea eax, [ebp - 0x110]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013062
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp - 0x118]
sub eax, edx
mov ecx, eax
call fcn.100147fc
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 0x1a
jl 0x1001300d
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d73b
leave
ret
Function at 0x10013244
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x27c
mov eax, 0x10042cae
call fcn.10021f0e
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x21f]
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x220], bl
call fcn.10024270
add esp, 0xc
push esi
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.10024270
add esp, 0xc
push 0xf
pop eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], ebx
mov byte [ebp - 0x258], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], ebx
mov byte [ebp - 0x274], bl
lea eax, [ebp - 0x220]
push eax
push 0x104
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x220]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100132e5
sub eax, esi
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000cffa
lea edx, [ebp - 0x258]
lea ebx, [ebp - 0x23c]
lea ecx, [ebp - 0x284]
call fcn.1001c3a2
mov byte [ebp - 4], 2
cmp dword [ebp - 0x228], 0x10
mov eax, dword [ebp - 0x23c]
jae 0x1001332d
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100133a0
lea eax, [edi + 0xb4]
cmp dword [eax + 0x14], 0x10
jb 0x10013346
mov eax, dword [eax]
cmp dword [ebp - 0x228], 0x10
mov ecx, dword [ebp - 0x23c]
jae 0x1001335b
lea ecx, [ebp - 0x23c]
push eax
push ecx
lea eax, [ebp - 0x118]
push str.UploadFile__s__s
push eax
call fcn.1001f39d
lea eax, [ebp - 0x118]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001337a
sub eax, ecx
lea ecx, [ebp - 0x118]
push ecx
push edi
mov ecx, eax
call fcn.100147fc
lea eax, [ebp - 0x118]
push eax
push str.SendWifiInfo_success:__s
jmp 0x100133ac
lea eax, [ebp - 0x118]
push eax
push str.SendWifiInfo_error:__s
call fcn.10003fa8
pop ecx
pop ecx
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x23c]
call fcn.10003236
push esi
push 1
lea ecx, [ebp - 0x274]
call fcn.10003236
lea edi, [ebp - 0x284]
call fcn.10007158
push esi
push 1
lea ecx, [ebp - 0x258]
call fcn.10003236
call fcn.10021f58
ret
Function at 0x10015822
Capabilities:
Get disk information
Get disk size
Get hostname
Get session user name

Disassembly:
push 0x3c
mov eax, 0x100429ea
call fcn.10021f0e
mov esi, ecx
call fcn.1000783c
push 0x20
pop ebx
lea eax, [ebp - 0x30]
push eax
push esi
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [esi + 0x20]
test edi, edi
je 0x10015877
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10015877
push str.system
push edi
call fcn.1001fc29
pop ecx
pop ecx
test eax, eax
jne 0x10015877
mov ecx, edi
call fcn.100078b9
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call ebx
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push eax
call edi
mov dword [esi + 0x60], eax
lea eax, [esi + 0x40]
push eax
call fcn.1000797f
and dword [ebp - 0x38], 0
call ebx
and dword [ebp - 0x34], 0
add esi, 0x64
xor ebx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], esi
inc ebx
cmp dword [ebp - 0x38], 4
jae 0x10015947
mov ecx, dword [ebp - 0x34]
mov eax, ebx
shl eax, cl
test dword [ebp - 0x3c], eax
je 0x1001593a
and dword [ebp - 0x1c], 0
mov al, cl
add al, 0x41
mov byte [ebp - 0x40], al
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x40]
and dword [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.10009d99
push 0x1004c0a8
mov eax, esi
push eax
call fcn.10009d74
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100158fd
mov eax, esi
xor esi, esi
push esi
lea ecx, [ebp - 0x48]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x1001592c
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
shrd eax, ecx, 0x14
push eax
shr ecx, 0x14
call edi
mov ecx, dword [ebp - 0x30]
inc dword [ebp - 0x38]
add dword [ebp - 0x30], 4
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003236
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0x20
jb 0x100158aa
call fcn.10021f58
ret