joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005ee6
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
lea eax, [ebp - 0x118]
push edi
push eax
mov esi, ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x118]
lea edi, [esi + 0x14]
push eax
push str._sTime.inf
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x14
push eax
push 0x100081c0
push str.chrome
push str.Time
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_sscanf]
lea eax, [esi + 0x538]
push eax
lea eax, [ebp - 0x14]
push str._I64d
push eax
call ebx
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x14]
push 0x14
push eax
push 0x100081c0
push str.sogou
push str.Time
call edi
lea eax, [esi + 0x548]
push eax
lea eax, [ebp - 0x14]
push str._I64d
push eax
call ebx
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x14]
push 0x14
push eax
push 0x100081c0
push str.360se
push str.Time
call edi
lea eax, [esi + 0x540]
push eax
lea eax, [ebp - 0x14]
push str._I64d
push eax
call ebx
push 0x14
push 0
lea eax, [ebp - 0x14]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x14]
push 0x14
push eax
push 0x100081c0
push str.liebao
push str.Time
call edi
add esi, 0x550
lea eax, [ebp - 0x14]
push esi
push str._I64d
push eax
call ebx
add esp, 0xc
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000606a
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push 0xc750
and dword [esi + 0xc], 0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esi + 8], eax
pop ecx
lea eax, [esp + 4]
mov dword [esi + 0x10], 0x400
push eax
push 0
push esi
push 0x10006024
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
pop esi
je 0x100060ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100060b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
pop eax
pop ecx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
mov byte [esp], bl
lea esp, [esp + 4]
jae fcn.0061403d
seta bh
lea edi, [edx - 0x5478548a]
setge bl
mov ebx, eax
xadd ecx, edi
sar di, cl
pushfd
mov edi, eax
call fcn.0057de79
lea edi, [ecx + 0x6973b4b7]
mov edi, dword [edx + 0x1c]
clc
add edi, eax
pushfd
pushal
mov edi, dword [edi + ecx*4]
cmc
cmp si, si
test edi, edi
lea esp, [esp + 0x24]
jle 0x57f21f
pushal
pushfd
pushal
lea esp, [esp + 0x44]
je 0x614030
pushfd
add eax, edi
mov byte [esp], 0x4e
cmc
cmp eax, edx
push 0x2a2f2df
lea esp, [esp + 8]
jb fcn.0061403d
pushfd
cmp eax, dword [esp + 4]
jmp 0x57f2d0
movsx si, al
mov esi, dword [esp + 0x34]
pushfd
pushfd
mov byte [esp + 4], bh
lea esp, [esp + 0x40]
jne 0x57e639
clc
stc
stc
movzx ecx, word [edi + ecx*2]
btr di, 2
jmp 0x5ffea9
Function at 0x10021ea
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x2710
push esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov edi, 0x1388
mov dword [ebp - 8], ebx
call fcn.0100cbb3
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x1002224
xor eax, eax
jmp 0x100234e
push esi
call fcn.0100cbb3
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x100223c
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
jmp 0x100221d
push dword [ebp - 4]
call fcn.0100cc5c
mov ecx, dword [ebp - 4]
cmp eax, ebx
je 0x1002251
mov byte [ecx], bl
inc ecx
dec eax
jne 0x100224b
push dword [ebp - 8]
call fcn.0100cc5c
mov ecx, dword [ebp - 8]
cmp eax, ebx
je 0x1002266
mov byte [ecx], bl
inc ecx
dec eax
jne 0x1002260
mov dword [ebp - 0xc], esi
push dword [ebp + 8]
push edi
push dword [ebp - 4]
push 0x1001330
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [edi - 2]
cmp esi, eax
jne 0x10022e3
add dword [ebp - 0xc], 0xc8
add edi, 0x64
cmp dword [ebp - 4], ebx
je 0x10022a3
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call fcn.0100cbb3
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x10022d2
cmp dword [ebp - 8], ebx
je 0x10022c3
lea eax, [ebp - 8]
push eax
call fcn.0100cf4f
mov dword [ebp - 8], ebx
push dword [ebp - 0xc]
call fcn.0100cbb3
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1002269
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
lea eax, [ebp - 8]
jmp 0x1002234
call fcn.0100e7b7
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x10022d2
cmp esi, ebx
jbe 0x1002339
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add eax, eax
mov cx, word [eax + ecx]
inc dword [ebp - 0x10]
mov word [edx + edi*2], cx
mov ecx, dword [ebp - 4]
cmp word [eax + ecx], bx
jne 0x1002331
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x18]
call fcn.0100eb79
push ebx
push dword [ebp - 8]
call fcn.0100c9b2
test eax, eax
je 0x1002355
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jb 0x10022f3
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
lea eax, [ebp - 8]
push eax
call fcn.0100cf4f
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
lea eax, [ebp - 8]
push eax
call fcn.0100cf4f
lea eax, [ebp - 0x18]
push eax
call fcn.0100e82c
jmp 0x100221d
Function at 0x100275e
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x100276d
xor eax, eax
jmp 0x10027b8
test byte [0x10134a0], 1
je 0x100277f
or dword [0x10134a0], 0x21
jmp 0x1002786
or dword [0x10134a0], 0x20
push dword [0x10134a0]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x10027b5
push 0x8d
call fcn.0100e6e4
push eax
call dword [sym.imp.msvcrt.dll___iob_func]
add eax, 0x40
push eax
call fcn.0100d36f
jmp 0x1002769
xor eax, eax
inc eax
pop ebp
ret 4

Function at 0x1002b78
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, 0x1388
push 0x2710
call fcn.0100cbb3
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002ba8
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0100c783
jmp 0x1002c26
push dword [ebp + 8]
push esi
push eax
push 0x10013ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 2]
cmp eax, ecx
jne 0x1002be1
add esi, 0x64
cmp dword [ebp - 4], 0
je 0x1002bdb
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
and dword [ebp - 4], 0
lea eax, [esi + esi]
push eax
jmp 0x1002b8d
push 0
push dword [ebp - 4]
call fcn.0100c9b2
mov ecx, 0xfe
cmp eax, ecx
ja 0x1002c0d
push ecx
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.0100d2e9
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
xor eax, eax
jmp 0x1002c29
lea eax, [ebp - 4]
push eax
call fcn.0100cf4f
push 0xe80
call fcn.0100e6e4
push eax
call fcn.0100c71c
xor eax, eax
inc eax
pop esi
leave
ret 0x10
Function at 0x100c0e0
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1012220
call fcn.0100c2d4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x10134b0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100bef5
cmp eax, esi
jne 0x100bee8
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x100bef8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100becf
xor esi, esi
inc esi
mov eax, dword [0x10134ac]
cmp eax, esi
jne 0x100bf0b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100bf46
mov eax, dword [0x10134ac]
test eax, eax
jne 0x100bf40
mov dword [0x10134ac], esi
push 0x100122c
push 0x1001220
call fcn.0100be4a
pop ecx
pop ecx
test eax, eax
je 0x100bf46
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100c010
mov dword [0x1013050], esi
mov eax, dword [0x10134ac]
cmp eax, esi
jne 0x100bf6a
push 0x100121c
push 0x1001214
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10134ac], 2
cmp dword [ebp - 0x1c], ebx
jne 0x100bf77
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10134b4], ebx
je 0x100bf98
push 0x10134b4
call fcn.0100c249
pop ecx
test eax, eax
je 0x100bf98
push ebx
push 2
push ebx
call dword [0x10134b4]
push dword [0x1013038]
push dword [0x101303c]
push dword [0x1013034]
call fcn.0100bbc3
add esp, 0xc
mov dword [0x101304c], eax
cmp dword [0x1013040], ebx
jne 0x100bff6
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1013050], ebx
jne 0x100c004
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x101304c]
call fcn.0100c319
ret
call fcn.0100c421
jmp 0x100bead
Function at 0x10107d7
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov esi, eax
cmp esi, 1
jne 0x101084c
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp eax, esi
jne 0x1010841
cmp dword [ebp - 0x14], esi
je 0x1010843
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100c0ef
leave
ret
Function at 0x101095a
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa08
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x9e4], eax
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xa04]
mov dword [ebp - 0xa08], esi
mov dword [ebp - 0x9e8], edx
mov dword [ebp - 0x9e0], esi
mov dword [ebp - 0x9dc], esi
rep stosd dword es:[edi], eax
mov word [ebp - 0x46], ax
cmp dword [ebp - 0x9e4], esi
je 0x1010ade
cmp ebx, esi
je 0x1010ade
mov eax, dword [ebx]
cmp eax, esi
je 0x10109d7
cmp eax, 2
jb 0x1010ade
cmp edx, esi
je 0x1010ade
cmp dword [0x101338c], esi
jne 0x1010a0b
lea eax, [ebp - 0x9d8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1010a01
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
jmp 0x1010aea
mov dword [0x101338c], 1
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0xa08]
push eax
push esi
push dword [ebp - 0x9e4]
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x1010af0
mov esi, dword [ebp - 0x9dc]
xor edi, edi
jmp 0x1010a78
push 4
xor eax, eax
mov word [ebp - 0x848], ax
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x401
lea eax, [ebp - 0x848]
push eax
push dword [esi + 0x10]
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_GetNameInfoW]
cmp eax, edi
je 0x1010a7e
cmp eax, 0x2afc
jne 0x1010a75
cmp word [ebp - 0x848], di
jne 0x1010a7e
mov esi, dword [esi + 0x1c]
cmp esi, edi
jne 0x1010a38
jmp 0x1010aca
lea esi, [ebp - 0x848]
cmp dword [ebp + 0x14], edi
jne 0x1010a9b
mov eax, esi
push 0x1001a18
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
pop ecx
pop ecx
mov esi, eax
push edi
push esi
call fcn.0100c9b2
mov ecx, dword [ebx]
inc eax
cmp ecx, eax
jae 0x1010ab7
mov dword [ebx], eax
mov dword [ebp - 0x9e0], 1
jmp 0x1010aca
push ecx
push esi
push dword [ebp - 0x9e8]
call fcn.0100d2e9
mov dword [ebp - 0x9e0], eax
push dword [ebp - 0x9dc]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, dword [ebp - 0x9e0]
jmp 0x1010af2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1010af0
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100c0ef
leave
ret 0x10
Function at 0x1010f0c
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x1011067
push esi
call fcn.01010cd3
cmp eax, 1
je 0x1011067
push esi
mov dword [ebp + 8], esi
call fcn.01010861
cmp eax, 1
jne 0x1010f46
add esi, 4
mov dword [ebp + 8], esi
push dword [ebp + 8]
call fcn.01010e3a
test eax, eax
jne 0x1010f62
call fcn.0100c783
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101109b
cmp dword [ebp + 0x14], ebx
je 0x1010f8b
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1010f8b
push dword [ebp + 0x14]
push dword [ebp + 8]
push 0x1001a38
push 2
call fcn.0100db34
add esp, 0x10
jmp 0x1010f9d
push dword [ebp + 8]
push 0x1001a1c
push 1
call fcn.0100db34
add esp, 0xc
test eax, eax
jne 0x1010fc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1010fb3
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0100c783
push 8
pop eax
jmp 0x101109b
call fcn.0100c6f0
cmp eax, ebx
jne 0x1010fd2
push 0x12
call fcn.0100c67f
jmp 0x1010fdc
push ebx
push ebx
push eax
push 0x12
call fcn.0100d843
mov edx, eax
cmp edx, ebx
je 0x1010fa1
push edi
push 8
pop ecx
push ebx
push dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 0x10]
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
pop edi
cmp esi, ebx
je 0x101102d
cmp esi, 0x4b8
je 0x1011026
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0100c783
jmp 0x1011095
call fcn.0100dbc6
jmp 0x1011095
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
call fcn.01010b08
push eax
call fcn.0100c8cb
test eax, eax
jne 0x1011095
push dword [ebp + 8]
call fcn.01010eef
push 0x1580
call fcn.0100e6e4
push eax
call fcn.0100c71c
mov esi, 0x4b8
jmp 0x1011095
cmp dword [ebp + 0xc], ebx
je 0x1011099
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1011099
push 0x157e
call fcn.0100e6e4
push eax
call fcn.0100c71c
mov esi, 0xa0010001
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x101109b
xor eax, eax
pop esi
pop ebx
leave
ret 0x10
Function at 0x10110c7
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
push 0
call ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x1011251
push 0
push edi
call fcn.0100c9b2
test eax, eax
je 0x1011251
xor esi, esi
inc esi
cmp dword [ebp + 0x1c], esi
jne 0x1011130
cmp dword [ebp + 0xc], 0
je 0x1011116
cmp dword [ebp + 0x10], 2
jb 0x1011116
cmp dword [ebp + 0x14], 0
je 0x1011116
cmp dword [ebp + 0x18], 2
jae 0x1011130
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1011124
push 0x57
call ebx
call fcn.0100c783
xor eax, eax
jmp 0x1011254
push edi
mov dword [ebp - 4], edi
call fcn.01010861
cmp eax, esi
jne 0x1011143
lea eax, [edi + 4]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], esi
jne 0x1011174
cmp dword [ebp + 0x14], 0
je 0x1011174
push 0
push esi
push 0x10015a4
push dword [ebp + 0x14]
call fcn.0100c9d3
test eax, eax
jne 0x1011174
push dword [ebp - 4]
call fcn.01010e3a
test eax, eax
jne 0x1011268
jmp 0x1011124
push dword [ebp - 4]
and dword [ebp - 8], 0
call fcn.01010e3a
test eax, eax
je 0x1011124
cmp dword [ebp + 0xc], 0
je 0x10111b9
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10111b9
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.010110a6
mov edi, eax
cmp dword [ebp + 0x1c], esi
jne 0x10111c8
mov dword [ebp - 8], esi
jmp 0x10111c8
push 0
push 0
push edi
mov dword [ebp - 8], esi
call fcn.010110a6
mov edi, eax
cmp edi, 0x55
jne 0x10111d8
push 0x50010001
call ebx
mov eax, esi
jmp 0x1011254
test edi, edi
jne 0x10111e4
cmp dword [ebp - 8], esi
je 0x10111cd
push edi
jmp 0x10111d2
mov eax, 0x4c3
cmp edi, eax
ja 0x1011211
je 0x101120e
cmp edi, 0x34
je 0x1011300
cmp edi, 0x56
je 0x101125b
cmp edi, 0x4be
je 0x1011300
jmp 0x1011124
push eax
jmp 0x10111d2
cmp edi, 0x4cf
jb 0x1011124
cmp edi, 0x4d1
jbe 0x1011300
cmp edi, 0x52e
je 0x101125b
mov esi, 0xa0010001
cmp edi, esi
jne 0x1011124
push 0x157e
call fcn.0100e6e4
push eax
call fcn.0100c71c
push esi
call ebx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x18
cmp dword [ebp + 0x1c], 0
je 0x1011129
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x101128b
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x1011124
push dword [ebp + 0xc]
push 0x157d
call fcn.0100e6e4
push eax
push esi
push esi
call dword [sym.imp.msvcrt.dll___iob_func]
add eax, 0x20
push eax
call fcn.0100e591
add esp, 0x14
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0100d5d4
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.010110a6
mov edi, eax
test edi, edi
je 0x10111d4
cmp edi, 0x34
je 0x1011300
cmp edi, 0x4be
je 0x1011300
mov eax, 0x4c3
cmp edi, eax
je 0x101120e
cmp edi, 0x4ce
jbe 0x1011124
cmp edi, 0x4d1
ja 0x1011231
push 0x4c6
call ebx
call fcn.0100c783
push edi
call ebx
jmp 0x1011129
Function at 0xde6700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x969015
lea edi, [esi - 0x568015]
lea eax, [edi + 0x9a68d0]
push dword [eax]
mov dword [eax], 0x7c074b0e
push eax
push edi
or ebp, 0xffffffff
jmp 0xde6732
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xde6739
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xde6728
mov eax, 1
add ebx, ebx
jne 0xde674b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xde6740
jne 0xde675c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xde6740
xor ecx, ecx
sub eax, 3
jb 0xde6770
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xde67e2
mov ebp, eax
add ebx, ebx
jne 0xde677b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xde6788
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xde67ac
inc ecx
add ebx, ebx
jne 0xde6798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xde678d
jne 0xde67a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xde678d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xde67cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xde67bd
jmp 0xde672e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xde67cc
add edi, ecx
jmp 0xde672e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x560bd0
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xde680b
cmp byte [edi], 0x8f
jne 0xde67f0
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xde67ee
lea edi, [esi + 0x9d4000]
mov eax, dword [edi]
or eax, eax
je 0xde6853
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9f798c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9f7c58]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xde6811
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9f7c60]
or eax, eax
je 0xde684d
mov dword [ebx], eax
add ebx, 4
jmp 0xde682e
call dword [esi + 0x9f7c5c]
mov ebp, dword [esi + 0x9f7c64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x9e68ae]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xde689f
sub esp, 0xffffff80
jmp 0x401480