joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100362a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x100362c0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x100362f2
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x100362ef
inc esi
cmp esi, edx
jb 0x100362e0
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x1003641c
cmp ecx, 3
jbe 0x10036332
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x10036370
cmp cl, 0xff
je 0x10036370
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x100362d4
dec ecx
shl eax, cl
and eax, 7
je 0x1003630a
movzx ecx, byte [eax + 0x1018080c]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x10180804], 0
mov cl, byte [edx + 4]
je 0x1003635a
test cl, cl
je 0x1003635a
cmp cl, 0xff
jne 0x1003630a
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x100362d4
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x1003639e
lea edx, [edi + ebx]
add edx, esi
jmp 0x100363a4
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x100363e2
movzx edi, byte [eax + 0x1018080c]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x100363ce
cmp cl, 0xff
jne 0x100363e2
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x10036391
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x100362d4
pop edi
pop esi
cmp ecx, 3
jbe 0x10036431
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10038360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c5d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101df230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x101ea97c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x101ea97c
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x1017f8b1
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1003bec0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003c8c8
Capabilities:
Enumerate processes

Disassembly:
push 0x284
mov eax, 0x1017ca16
call fcn.10077149
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x290], ebx
test eax, eax
je 0x1003ca9a
push eax
lea ecx, [ebp - 0x40]
call fcn.1001fed0
lea eax, [ebp - 0x40]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.10041229
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push esi
push eax
call fcn.10054b20
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x28c], eax
cmp eax, 0xffffffff
je 0x1003ca8c
call fcn.1003db43
test al, al
je 0x1003c95c
push esi
push edi
push esi
pop eax
push ecx
push ecx
push ebx
pop ecx
push ecx
pop edi
push edx
push edx
push eax
push esp
push eax
pop esp
pop edi
pop ebp
pop esp
pop edx
push ecx
push edi
push ebp
pop esi
pop esi
push eax
pop edx
pop ebp
pop ebx
pop ebx
mov ebx, dword [ebp - 0x290]
call fcn.1003d7c2
test al, al
je 0x1003c977
push ebx
push ecx
push edx
push ebp
pop esi
pop esp
push eax
push eax
pop edi
push edx
push ecx
push eax
pop edx
push esp
push ebp
push edi
push esp
push esp
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x284]
push eax
push esi
mov dword [ebp - 0x284], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1003ca55
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x1003c9c0
lea eax, [ebp - 0x260]
push eax
call fcn.10064038
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.10020030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.10041229
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1003d127
test eax, eax
je 0x1003ca14
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10040416
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.1003d127
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x1003ca1b
mov byte [ebp - 0x285], 1
test bl, 1
je 0x1003ca2f
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.1001ff70
cmp byte [ebp - 0x285], 0
jne 0x1003caa0
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.1001ff70
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1003c999
call fcn.1003d9ea
test al, al
je 0x1003ca83
pop eax
push eax
push edi
push esi
push eax
pop esp
push ecx
push edx
pop esi
pop ecx
pop esp
pop edx
pop ecx
push ebp
push edx
push esi
pop edi
pop ebp
pop edi
pop eax
pop eax
push edi
pop esi
mov esi, dword [ebp - 0x28c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.1001ff70
mov eax, esi
call fcn.10077104
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.1001ff70
jmp 0x1003ca8c
Function at 0x1003cdd6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.1003c8c8
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jg 0x1003cdf5
xor eax, eax
jmp 0x1003ce93
call fcn.1003d4cb
test al, al
je 0x1003ce1a
pop ecx
push eax
pop edi
pop eax
pop esi
push ecx
push esi
pop esi
pop edx
pop esp
push esp
pop ecx
pop ecx
push esp
pop ebx
push edx
push esp
pop esp
pop ebx
pop ecx
pop ecx
push edx
pop eax
push ebp
pop eax
pop ecx
pop eax
pop esi
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x1003cdee
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
call fcn.1003db43
test al, al
je 0x1003ce69
push eax
pop eax
push eax
push eax
push ebx
push ebx
push eax
pop esi
pop ecx
push ebp
pop esi
pop edi
pop esp
pop esi
push edi
pop ebx
push edi
push edi
pop eax
pop edx
push ecx
push ebx
pop ebp
pop eax
push ecx
pop esi
push ebx
push esi
pop ebp
pop edx
push ebx
pop edi
mov edi, dword [ebp - 4]
call fcn.1003d510
test al, al
je 0x1003ce89
push eax
pop esp
push edx
push eax
pop ecx
pop esp
pop eax
pop ebp
pop eax
pop eax
push ebp
pop ebx
pop eax
pop ebp
push ecx
push eax
pop ebx
pop ebp
pop ecx
push eax
push edi
push ebp
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003f088
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
xor edi, edi
inc edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1003f0bc
xor eax, eax
jmp 0x1003f151
call fcn.1003d891
test al, al
je 0x1003f0e7
pop eax
push ebp
pop esi
push ebx
pop esi
pop eax
push esi
push eax
push ebp
push ebp
push esp
push eax
push ebp
push ebx
push esp
push esp
pop edi
push eax
push edi
pop esp
push ecx
pop eax
pop ebx
pop edx
push ecx
push ebx
push ebp
pop ebx
pop edx
push esp
pop ebp
xor edi, edi
inc edi
call fcn.1003d6f3
test al, al
je 0x1003f101
pop ebx
pop esi
push edx
pop eax
pop eax
push esp
push ecx
push ebx
push ebx
pop eax
push esi
pop esi
push ebx
pop ebp
push esp
push edi
push eax
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov esi, dword [ebp - 8]
and dword [ebp - 4], 0
push 0
push eax
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1003d6f3
test al, al
je 0x1003f142
push ecx
pop eax
push ebp
pop ebx
push ebp
push edx
pop edx
pop esp
pop ebp
push edx
push ebx
push ebp
pop eax
push esp
pop ebx
pop edx
mov ebx, dword [ebp + 0x10]
cmp dword [ebp - 8], 0
je 0x1003f14d
cmp ebx, dword [ebp - 4]
je 0x1003f14f
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10041d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10041d7f
push ebx
push edi
xor edi, edi
push str.GUANGSU
mov dword [ebp + 8], edi
call fcn.100641d0
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x10041d3c
mov cl, byte [edi + str.GUANGSU]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x10041d26
cmp ebx, 1
jle 0x10041d73
cmp byte [esi], 0x37
jne 0x10041d73
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x10041d51
cmp al, 0x5a
jne 0x10041d73
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.100326c0
test eax, eax
je 0x10041d73
mov edx, dword [ebp + 8]
test edx, edx
je 0x10041d73
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x10041d7d
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10041f89
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101df230]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10054b20
push 0x1017fb84
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.10023cc0
add esp, 0x18
call fcn.1003dab9
test al, al
je 0x10041fe8
pop ebp
push ebx
push ebx
pop ecx
pop edx
pop eax
push ecx
pop ebp
pop edx
pop ecx
push edx
pop edx
pop ebx
pop edi
push edi
pop ebp
pop ecx
pop eax
pop edx
push edi
call fcn.1003d84c
test al, al
je 0x10042008
push edi
push ebx
push ebx
push edi
push ebp
pop edi
pop edi
pop ebx
pop edi
push esi
push ebx
pop ecx
pop eax
pop esp
push ecx
push eax
push esi
pop eax
push eax
pop edx
pop esi
push edi
pop esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.10031bc0
mov esp, ebp
pop ebp
ret
Function at 0x10042abb
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.10064038
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10031bf4
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.10064398
add esp, 0x10
call fcn.1003d555
test al, al
je 0x10042b14
pop edi
push ebp
push ecx
pop ebx
push ebp
push eax
pop esp
push eax
push edx
pop esi
pop esp
pop esi
pop esi
pop eax
pop ebp
push edi
push edi
pop eax
pop ecx
pop esp
pop ecx
push ebx
pop edi
push ebx
call fcn.1003d59a
test al, al
je 0x10042b36
push ebp
push edi
push eax
pop edi
pop eax
push esp
push esp
push ebx
push esi
push esi
pop edx
push ecx
push ebp
pop eax
push edx
pop edx
push ebx
pop ebp
push edi
pop ecx
push edx
pop edx
pop esi
pop ebx
pop esi
call fcn.1003dab9
test al, al
je 0x10042b51
push edx
push edi
push esi
pop ecx
pop esi
pop ebx
pop edi
pop edi
pop ebp
push edx
push edi
pop edx
push edi
pop eax
push ecx
pop ebx
pop ebx
pop edi
mov edi, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test edi, edi
js 0x10042bcc
mov esi, dword [ebp - 4]
cmp word [esi + ebx*2], 0x5c
jne 0x10042bc1
call fcn.1003d624
test al, al
je 0x10042b96
pop edi
pop ebx
push esp
push ecx
pop ecx
pop edi
pop eax
pop eax
pop esi
push edi
push esp
push eax
push esp
push edi
push ecx
push esp
push edi
push esi
push ebp
pop esi
push ebx
pop eax
pop edi
pop edx
push esp
push ecx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [esi + ebx*2]
mov dword [ebp - 0xc], eax
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10042bba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10042bde
mov eax, dword [ebp - 0xc]
mov word [esi + ebx*2], ax
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, edi
jle 0x10042b63
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.10031bfd
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x10042bcc
Function at 0x10042be2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101df230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.10043924
lea eax, [ebp - 0x20c]
push eax
call fcn.10064038
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.1003d8d6
test al, al
je 0x10042c58
pop ebp
pop esp
pop ebp
push edi
pop esi
push ebx
pop eax
push eax
push eax
push edi
push ebx
push edi
pop esi
pop edi
pop edx
pop ebx
push ebp
push ecx
push edx
pop edi
pop esi
pop ebp
push edx
push edi
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x10042d80
mov esi, 0x101d76fc
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10064c83
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10064c83
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10064c83
add esp, 0x18
call fcn.1003dab9
test al, al
je 0x10042cb2
pop esp
pop ecx
pop eax
push edi
pop ebx
pop edx
pop ebp
pop eax
push ebx
push edi
push ebx
push eax
pop ebp
push esi
push eax
push edi
pop ebx
pop esp
pop edi
pop edx
pop eax
call fcn.1003d510
test al, al
je 0x10042cd5
push ebp
pop edx
pop esp
pop esp
pop ecx
push esp
push ecx
push ebx
pop esp
push eax
push eax
push eax
pop ecx
pop ebp
pop esi
push edx
push ebx
push ebx
push edi
pop eax
pop eax
push eax
push eax
push ebp
pop eax
push esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10042cf3
lea eax, [ebp - 0x20c]
push eax
call fcn.10042abb
pop ecx
call fcn.1003d669
test al, al
je 0x10042d1a
pop ecx
pop esi
push esp
pop ebx
pop ebx
pop esp
pop ecx
push edi
pop edx
push esp
push esi
pop ebp
push eax
pop ecx
pop ebp
pop eax
pop edi
push esp
pop esi
pop ecx
push esi
push ebp
push esi
push esi
pop edx
push ecx
push ebx
pop esi
pop ecx
push edx
call fcn.1003dab9
test al, al
je 0x10042d34
push ebx
push ebx
pop ebx
pop ebx
push esp
pop edx
pop eax
push esi
push esi
push eax
pop ebx
push ebx
pop edi
pop ebx
push edx
pop ebp
push edi
call fcn.1003da74
test al, al
je 0x10042d52
pop edx
push edi
pop eax
pop edx
push edi
pop edx
pop edx
pop ebp
pop ecx
pop eax
pop edx
push edx
pop ebp
push edx
push ecx
pop edx
push ecx
push esi
pop eax
pop esp
push edx
cmp word [ebp - 0x20c], 0
jne 0x10042d60
xor eax, eax
jmp 0x10042d6d
lea eax, [ebp - 0x20c]
push eax
call fcn.10064038
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10020030
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031bc0
mov esp, ebp
pop ebp
ret
Function at 0x10042f1f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101df230]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101eaca0], 0
push ebx
push esi
push edi
je 0x10042fa6
call fcn.1003d669
test al, al
je 0x10042f65
pop ecx
pop esi
push esp
pop ebx
pop ebx
pop esp
pop ecx
push edi
pop edx
push esp
push esi
pop ebp
push eax
pop ecx
pop ebp
pop eax
pop edi
push esp
pop esi
pop ecx
push esi
push ebp
push esi
push esi
pop edx
push ecx
push ebx
pop esi
pop ecx
push edx
call fcn.1003dab9
test al, al
je 0x10042f7f
push ebx
push ebx
pop ebx
pop ebx
push esp
pop edx
pop eax
push esi
push esi
push eax
pop ebx
push ebx
pop edi
pop ebx
push edx
pop ebp
push edi
call fcn.1003da74
test al, al
je 0x100430b5
pop edx
push edi
pop eax
pop edx
push edi
pop edx
pop edx
pop ebp
pop ecx
pop eax
pop edx
push edx
pop ebp
push edx
push ecx
pop edx
push ecx
push esi
pop eax
pop esp
push edx
jmp 0x100430b5
call fcn.1003d807
test al, al
je 0x10042fc1
pop edx
push ebx
pop esi
pop ebx
push edx
pop ecx
push esp
pop esp
push eax
push ebp
pop esp
pop ecx
pop eax
push ebp
pop esp
push esi
pop esp
pop esi
call fcn.1003d91b
test al, al
je 0x10042fdb
pop eax
push edi
pop esp
push edi
pop esi
pop edx
push esi
pop ebp
pop esp
push ebp
push esp
push ecx
push ecx
pop esp
pop esp
push eax
pop esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10054b20
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1004304b
lea eax, [ebp - 0x20c]
push eax
call fcn.10064563
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.1005771b
pop ecx
pop ecx
test eax, eax
jne 0x10043044
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.1005771b
pop ecx
pop ecx
test eax, eax
je 0x1004304b
mov byte [0x101eaca0], 1
call fcn.1003d84c
test al, al
je 0x10043072
pop ebx
pop edi
pop esp
push ebp
pop ebp
pop ebx
pop esi
pop edi
push esi
pop esp
pop ebx
pop edi
push edi
push edx
push esi
pop esp
pop edi
push edx
push ebp
push edi
push ecx
push eax
push esi
push edi
push ebx
push eax
push ebp
pop esi
push edx
push eax
call fcn.1003d807
test al, al
je 0x10043093
push edx
push edi
push esi
push edx
pop ebp
push esp
push ebx
push ebp
pop esi
pop edi
pop esp
push eax
push ebp
pop ebx
push ecx
push ebx
pop esp
pop esp
pop esp
push ebp
pop esi
pop esi
push edi
push ebx
call fcn.1003d624
test al, al
je 0x100430b5
pop edi
push eax
pop eax
push ecx
pop ebp
push eax
push esp
push esp
push ecx
push edi
pop ecx
push esp
pop ebx
pop esp
pop ebp
pop edx
push ebx
pop ebp
push edi
pop ebx
pop esi
push esi
push esi
pop ebp
push eax
mov ecx, dword [ebp - 4]
mov al, byte [0x101eaca0]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10031bc0
mov esp, ebp
pop ebp
ret
Function at 0x10044613
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10044627
xor eax, eax
jmp 0x10044765
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x10044650
dec edx
sub edx, 1
jne 0x10044652
add eax, 2
jmp 0x10044652
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x10044665
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x10044764
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x100446fb
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x10182c28]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x10182c28]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x10182c28]
mov byte [edi + 2], al
mov al, byte [esi + 0x10182c28]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x10044690
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x100446fe
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x10044757
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x10044713
movzx ecx, byte [eax + 1]
jmp 0x10044715
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x10182c28]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x10182c28]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x1004474c
and ecx, 0xf
mov al, byte [ecx*4 + 0x10182c28]
mov byte [edi + 2], al
jmp 0x10044750
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004495e
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x1017d29b
call fcn.10077149
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.10061c7c
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x1004499a
push 0x1017f8b1
mov ecx, esi
call fcn.100283d0
jmp 0x10044b02
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x100449bf
push ebx
call fcn.100615c3
push dword [ebp - 0x54]
call fcn.10061c7c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10044989
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10044ad7
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x10044ab0
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.1002af90
lea eax, [edi + 0x10c]
push eax
call fcn.10175595
push 0x10182d04
push eax
call fcn.10057a50
add esp, 0x2c
test eax, eax
jne 0x10044b0c
cmp dword [edi + 0x1a0], 0x47
je 0x10044b0c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.100283d0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.1003d45e
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.1003cfda
mov edi, dword [edi]
test edi, edi
jne 0x10044a07
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x10044acf
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x10044acf
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.100239a0
lea ecx, [ebp - 0x60]
call fcn.1003d02f
push ebx
call fcn.100615c3
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.1002af20
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.1003cfda
mov eax, esi
call fcn.10077104
ret 4
cmp byte [ebp - 0x20], 0
jne 0x10044b16
xor eax, eax
jmp 0x10044b20
lea eax, [ebp - 0x20]
push eax
call fcn.100641d0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.10023ad0
jmp 0x10044acf