joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b3a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b3b7
add esp, 0xfffffff0
call fcn.004037f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b184
mov eax, dword [0x44fd78]
cmp word [eax + 2], 0
jne 0x44b3df
mov eax, dword [0x44fd78]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c9d4
mov eax, dword [0x44fdfc]
cmp word [eax + 2], 0
jne 0x44b3f9
mov eax, dword [0x44fdfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044cbcc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.00403474
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.00403474
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d2c4]
call fcn.00422ed0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b580
mov eax, dword [0x44fcb8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004232a0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44d13c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fcb8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a54c
test eax, eax
je 0x44b4ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040862c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a574
test eax, eax
je 0x44b502
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404460
mov eax, dword [0x44fbe4]
cmp byte [eax], 0
jne 0x44b536
mov eax, ebx
call fcn.0044b6a8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044d318
mov eax, ebx
call fcn.0044dc58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b576
call fcn.00403848
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b91c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450bfc]
cmp dword [eax + 0x30], 0
je 0x44b9c6
cmp dword [ebx + 0x94], 0
jne 0x44b9c0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b8ac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b9c0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44b986
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b9c0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413884
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b995
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c4a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44c4d9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042e8
jmp 0x44c4e6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040424c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d4f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d535
mov eax, esi
call fcn.00433af8
test al, al
je 0x44d535
mov eax, dword [ebx + 0x84]
call fcn.004337f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d535
push 0
mov eax, dword [ebx + 0x84]
call fcn.004337f4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4225b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5cda30
mov dword [ebp - 0x24], 0x73002f
lea esi, [ebp - 0x24]
mov dword [ebp - 0x20], 0x6c0069
push edi
mov dword [ebp - 0x1c], 0x6e0065
mov edx, 0x11
mov dword [ebp - 0x18], 0x5f0074
sub esi, eax
mov dword [ebp - 0x14], 0x6e0069
mov dword [ebp - 0x10], 0x740073
mov dword [ebp - 0xc], 0x6c0061
mov dword [ebp - 8], 0x6c
nop word [eax + eax]
lea ecx, [edx + 0x7fffffed]
test ecx, ecx
je 0x42262e
movzx ecx, word [esi + eax]
test cx, cx
je 0x42262e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x422610
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5cda30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047268d
mov esp, ebp
pop ebp
ret

Function at 0x422660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x48], 0x4b0048
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x48]
mov eax, 0x5cdcb8
mov dword [ebp - 0x44], 0x590045
push edi
mov dword [ebp - 0x40], 0x43005f
mov edx, 0x22
mov dword [ebp - 0x3c], 0x520055
sub esi, eax
mov dword [ebp - 0x38], 0x450052
mov dword [ebp - 0x34], 0x54004e
mov dword [ebp - 0x30], 0x55005f
mov dword [ebp - 0x2c], 0x450053
mov dword [ebp - 0x28], str.HNm_e
mov dword [ebp - 0x24], 0x4f004c
mov dword [ebp - 0x20], 0x410043
mov dword [ebp - 0x1c], 0x5f004c
mov dword [ebp - 0x18], 0x450053
mov dword [ebp - 0x14], 0x540054
mov dword [ebp - 0x10], 0x4e0049
mov dword [ebp - 0xc], 0x530047
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffdc]
test ecx, ecx
je 0x42271e
movzx ecx, word [esi + eax]
test cx, cx
je 0x42271e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x422700
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5cdcb8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047268d
mov esp, ebp
pop ebp
ret

Function at 0x422750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], 0x4f0053
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x2c]
mov eax, 0x5cdd74
mov dword [ebp - 0x28], 0x540046
mov dword [ebp - 0x24], 0x410057
mov edx, 0x14
mov dword [ebp - 0x20], 0x450052
sub esi, eax
mov dword [ebp - 0x1c], 0x4d005c
mov dword [ebp - 0x18], 0x630069
mov dword [ebp - 0x14], 0x6f0072
mov dword [ebp - 0x10], 0x610047
mov dword [ebp - 0xc], 0x65006d
lea ecx, [edx + 0x7fffffea]
test ecx, ecx
je 0x4227d3
movzx ecx, word [esi + eax]
test cx, cx
je 0x4227d3
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4227b5
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5cdd74
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047268d
mov esp, ebp
pop ebp
ret
Function at 0x4548b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x64002f
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x5cf8e0
mov dword [ebp - 0x18], 0x6c0065
mov dword [ebp - 0x14], 0x790061
mov edx, 0xc
mov dword [ebp - 0x10], 0x6c005f
sub esi, eax
mov dword [ebp - 0xc], 0x6b006e
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x45491e
movzx ecx, word [esi + eax]
test cx, cx
je 0x45491e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x454900
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5cf8e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047268d
mov esp, ebp
pop ebp
ret

Function at 0x454940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5cfdb8
mov dword [ebp - 0x60], 0x63005c
lea esi, [ebp - 0x60]
mov dword [ebp - 0x5c], 0x670066
push edi
mov dword [ebp - 0x58], 0x66005f
mov edx, 0x2f
mov dword [ebp - 0x54], 0x650036
sub esi, eax
mov dword [ebp - 0x50], 0x650064
mov dword [ebp - 0x4c], 0x650032
mov dword [ebp - 0x48], 0x2d0035
mov dword [ebp - 0x44], 0x630033
mov dword [ebp - 0x40], 0x650033
mov dword [ebp - 0x3c], 0x34002d
mov dword [ebp - 0x38], 0x300035
mov dword [ebp - 0x34], 0x2d0066
mov dword [ebp - 0x30], str.6_L_v
mov dword [ebp - 0x2c], 0x630030
mov dword [ebp - 0x28], 0x66002d
mov dword [ebp - 0x24], 0x320066
mov dword [ebp - 0x20], 0x330064
mov dword [ebp - 0x1c], 0x340065
mov dword [ebp - 0x18], 0x650064
mov dword [ebp - 0x14], 0x330062
mov dword [ebp - 0x10], 0x2e0036
mov dword [ebp - 0xc], 0x610064
mov dword [ebp - 8], 0x74
lea ecx, [edx + 0x7fffffcf]
test ecx, ecx
je 0x454a21
movzx ecx, word [esi + eax]
test cx, cx
je 0x454a21
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x454a03
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5cfdb8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047268d
mov esp, ebp
pop ebp
ret
Function at 0x1000753d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000a050
cmp edx, dword [eax]
je 0x1000755f
add eax, 8
inc ecx
cmp eax, 0x1000a0e0
jl 0x10007550
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000a050]
jne 0x1000768d
mov eax, dword [0x1000b360]
cmp eax, 1
je 0x10007667
test eax, eax
jne 0x10007590
cmp dword [0x1000b364], 1
je 0x10007667
cmp edx, 0xfc
je 0x1000768d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100075c7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10007f80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10008070
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000760a
lea eax, [ebp - 0x1a4]
push eax
call fcn.10008070
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000939c
push edi
call fcn.10008890
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10007f80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10007f90
lea eax, [ebp - 0xa0]
push 0x1000937c
push eax
call fcn.10007f90
push dword [esi + 0x1000a054]
lea eax, [ebp - 0xa0]
push eax
call fcn.10007f90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10008805
add esp, 0x2c
pop edi
jmp 0x1000768d
lea eax, [ebp + 8]
lea esi, [esi + 0x1000a054]
push 0
push eax
push dword [esi]
call fcn.10008070
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401a93
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
jbe 0x401af1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + eax]
cdq
mov dword [ebp - 8], 8
shld edx, eax, 1
add eax, eax
shld edi, ebx, 1
mov ecx, eax
mov esi, edx
shld esi, ecx, 0x18
xor esi, edi
and esi, 1
xor ecx, ecx
add ebx, ebx
or ecx, esi
je 0x401ae1
xor ebx, 0x4c11db7
xor edi, 1
dec dword [ebp - 8]
jne 0x401ab9
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x401aa7
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401af8
Capabilities:
Hash data using crc32b

Disassembly:
mov ecx, dword [ecx]
push 0x20
pop edx
or eax, 0xffffffff
push esi
mov esi, ecx
xor esi, eax
add eax, eax
test esi, esi
jns 0x401b10
xor eax, 0x4c11db7
add ecx, ecx
dec edx
jne 0x401b01
pop esi
ret

Function at 0x401b46
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43773b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x406c0
call fcn.00422090
mov eax, dword [0x449390]
xor eax, esp
mov dword [esp + 0x406bc], eax
push esi
push edi
mov eax, dword [0x449390]
xor eax, esp
push eax
lea eax, [esp + 0x406d0]
mov dword fs:[0], eax
push 0x43d724
xor edi, edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401bce
push edi
lea eax, [esp + 0x14]
push eax
push 3
push edi
push 0x44
push 0x43d740
push 0x18
push 0x43d784
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push eax
push edi
call sub.WTSAPI32.dll_WTSSendMessageW
jmp 0x401c12
mov ecx, esi
call fcn.0040ba0e
push 0x43d79c
mov ecx, esi
call fcn.0040c9a2
lea eax, [esp + 0x14]
push eax
call fcn.00402df2
lea eax, [esp + 0x14]
mov dword [esp + 0x406d8], edi
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.0040da12
or dword [esp + 0x406d8], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00401c37
xor eax, eax
mov ecx, dword [esp + 0x406d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x406bc]
xor ecx, esp
call fcn.0041ce9c
mov esp, ebp
pop ebp
ret

Function at 0x401e1a
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [0x514d0c]
push ebp
push esi
mov esi, dword [0x514d08]
push edi
mov dword [esp + 0x10], 0x40
xor edi, edi
xor ebp, ebp
movzx ecx, byte [ebp + 0x48106c]
mov eax, esi
mov edx, ebx
call fcn.00432dd0
xor edi, eax
inc ebp
cmp ebp, 9
jb 0x401e37
shld ebx, esi, 1
add esi, esi
xor edi, esi
and edi, 1
or esi, edi
dec dword [esp + 0x10]
jne 0x401e33
pop edi
mov dword [0x514d08], esi
pop esi
pop ebp
mov dword [0x514d0c], ebx
pop ebx
pop ecx
ret

Function at 0x401e74
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
call fcn.00401e1a
mov eax, dword [esp + 8]
mov ecx, dword [0x514d08]
lea eax, [eax + esi*8]
xor dword [eax], ecx
mov ecx, dword [0x514d0c]
xor dword [eax + 4], ecx
inc esi
cmp esi, 8
jb 0x401e77
pop esi
ret
Function at 0x401e9c
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
push 8
inc esi
pop edi
call fcn.00401e1a
mov eax, dword [0x514d08]
xor dword [esi], eax
mov eax, dword [0x514d0c]
xor dword [esi + 4], eax
add esi, 8
dec edi
jne 0x401ea4
pop edi
pop esi
ret

Function at 0x402091
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x449390]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x41
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00421a10
lea eax, [ebp - 0x47]
push eax
call fcn.00401e74
mov eax, dword [ebp + 8]
xor dword [ebp - 0x45], eax
mov edx, dword [ebp + 0xc]
xor byte [ebp - 0x47], 0x33
xor byte [ebp - 0x46], 0x20
add esp, 0x10
lea eax, [ebp - 0x41]
push esi
xor ecx, ecx
mov byte [ebp - 0x48], 0
sub edx, eax
push edi
lea eax, [ebp + ecx - 0x41]
movzx si, byte [edx + eax + 1]
movzx di, byte [edx + eax]
shl si, 8
or si, di
xor word [eax], si
inc ecx
inc ecx
cmp ecx, 0x20
jb 0x4020d8
lea eax, [ebp - 0x48]
push eax
call fcn.0040a39c
test eax, eax
jne 0x402109
xor eax, eax
jmp 0x40213c
lea eax, [ebp - 0x48]
push eax
call fcn.0040a47d
test eax, eax
je 0x402105
xor esi, esi
call fcn.00401e1a
mov eax, dword [0x514d08]
cmp eax, dword [ebp + esi*8 - 0x47]
jne 0x402105
mov eax, dword [0x514d0c]
cmp eax, dword [ebp + esi*8 - 0x43]
jne 0x402105
inc esi
cmp esi, 8
jb 0x402118
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041ce9c
leave
ret
Function at 0x404a6b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x20
pop edi
xor edx, edx
xor esi, esi
mov cl, byte [esi + 0x44aa18]
mov ebx, eax
shr ebx, cl
xor edx, ebx
inc esi
cmp esi, 8
jb 0x404a75
add eax, eax
xor edx, eax
and edx, 1
or eax, edx
dec edi
jne 0x404a71
pop edi
pop esi
pop ebx
ret

Function at 0x404a97
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x20
pop edi
xor edx, edx
xor esi, esi
mov cl, byte [esi + 0x44aa58]
mov ebx, eax
shr ebx, cl
xor edx, ebx
inc esi
cmp esi, 8
jb 0x404aa1
add eax, eax
xor edx, eax
and edx, 1
or eax, edx
dec edi
jne 0x404a9d
pop edi
pop esi
pop ebx
ret

Function at 0x404fef
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push 0x43d6e4
mov dword [esi + 0x40244], 0xf0000000
call fcn.00401565
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041d2e1
add esp, 0xc
test eax, eax
jne 0x405082
push edi
xor edi, edi
push dword [ebp - 8]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.0041d5d4
add esp, 0x10
cmp eax, 1
jne 0x40505d
lea eax, [edi + 1]
cmp dword [esi + 8], eax
jae 0x405042
mov dword [esi + 8], eax
mov cl, byte [ebp - 1]
mov byte [edi + esi + 0x10], cl
mov edi, eax
cmp edi, 0x40000
jb 0x40501f
mov dword [esi + 0x40244], 0xf0000003
push dword [ebp - 8]
call fcn.0041d668
pop ecx
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
call fcn.0040157f
xor eax, eax
cmp dword [esi + 0x40244], 0xf0000000
pop edi
sete al
jmp 0x405098
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
mov dword [esi + 0x40244], 0xf0000007
call fcn.0040157f
xor eax, eax
leave
ret 4
Function at 0x40513e
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x449390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x288
push esi
call fcn.0041e4d8
mov ebx, eax
xor eax, eax
mov edi, 0x50cae4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
push eax
push ebx
mov dword [ebp - 0x1c], esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x40518e
push ebx
call fcn.0041e3fb
push dword [ebp - 0x1c]
call fcn.0041e4d8
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x40520b
jmp 0x405207
mov byte [ebp - 8], 0
lea esi, [ebx + 0x1b0]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
push 0x43e004
push eax
movsd dword es:[edi], dword [esi]
call fcn.0041e5b0
pop ecx
pop ecx
test eax, eax
jne 0x405205
movzx eax, byte [ebx + 0x199]
push eax
movzx eax, byte [ebx + 0x198]
push eax
movzx eax, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push eax
movzx eax, byte [ebx + 0x195]
push eax
movzx eax, byte [ebx + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0x50cae4
call fcn.00405872
add esp, 0x20
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40519e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x50cae4
pop ebx
call fcn.0041ce9c
leave
ret
Function at 0x4062bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x114
mov eax, dword [0x449390]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
push ebx
push esi
push edi
mov esi, 0x43d688
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0xa0], eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa4]
push eax
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x70]
push eax
xor ebx, ebx
push str.Ports
mov dword [ebp - 0x98], 0x64
mov dword [0x514d58], ebx
mov dword [ebp - 0xa4], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameW]
push 2
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
push 7
mov dword [ebp - 0x90], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp + 0x7c]
mov dword [ebp - 0x8c], 0x1c
push dword [ebp - 0x90]
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x406483
push esi
push esi
push ebx
push esi
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x90]
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov edi, eax
cmp edi, ebx
je 0x40646f
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
push str.PortName
push edi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x9c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40646f
cmp dword [ebp - 0x94], esi
jne 0x40646f
lea eax, [ebp - 0x60]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4063d6
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x40646f
push 3
lea eax, [ebp - 0x60]
push 0x440080
push eax
call fcn.0041ec46
add esp, 0xc
test eax, eax
jne 0x40646f
lea eax, [ebp - 0x5a]
push eax
call fcn.0041eb51
pop ecx
mov ecx, dword [ebp - 0xa0]
push edi
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
lea eax, [ebp - 0x94]
push dword [ebp - 0xa8]
push eax
push ebx
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x90]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov ebx, esi
push dword [ebp - 0x90]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [ebp + 0x68]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041ce9c
add ebp, 0x6c
leave
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [0x514d58], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40644d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x514d58], eax
jmp 0x40644d
Function at 0x408e20
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov esi, 0x14
mov edi, eax
lea ebx, [ebx]
movzx edx, byte [ecx]
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
inc eax
sub esi, 1
je 0x408ea3
movzx ebx, byte [ecx + 1]
lea edx, [ecx + 1]
movzx ecx, byte [ecx]
and ecx, 3
shl ecx, 4
shr ebx, 4
or ecx, ebx
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
inc eax
sub esi, 1
je 0x408ec3
movzx ebx, byte [edx + 1]
lea ecx, [edx + 1]
movzx edx, byte [edx]
and edx, 0xf
add edx, edx
add edx, edx
shr ebx, 6
or edx, ebx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
movzx edx, byte [ecx]
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], dl
inc eax
inc ecx
sub esi, 1
jne 0x408e30
sub eax, edi
pop edi
pop esi
pop ebx
ret
movzx ecx, byte [ecx]
and ecx, 3
shl ecx, 4
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
inc eax
mov byte [eax], 0x3d
inc eax
sub eax, edi
pop edi
pop esi
pop ebx
ret
movzx ecx, byte [edx]
and ecx, 0xf
mov dl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
inc eax
sub eax, edi
pop edi
pop esi
pop ebx
ret