joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x73
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x45
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x5c
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x37
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x56
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x65
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc9
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc6
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x30
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc0
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6b
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 6
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x3a
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf2
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40b400
Capabilities:
Encode data using xor

Disassembly:
push ebp
cmp ch, ah
mov esp, dword [edx + 0x10]
jp 0x40b435
or al, 0x41
push ebp
or byte [eax + 0x51], dl
push ds
call 0x40b400
pop ebp
insd dword es:[edi], dx
or al, 0
nop
nop
nop
nop
test dword [eax - 0x74aa2070], edx
in al, dx
push ebp
adc byte [ebx + 0x56530845], cl
lea edx, [eax - 2]
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
jle 0x40b463
rcl edx, 0x33
sbb al, 0x8a
invalid
mov edx, 0x3e283fe
les esi, [edi]
and dword [eax - 0x77ffbf0d], ebp
push eax
dec dword [edx + 0x26216854]
loop 0x40b4b1
loop 0x40b4af
int1
mov dl, byte [edx + 0x4025a9]
mov byte [eax - 1], dl
jl 0x40b418
mov edx, dword [ebp + 0x10]
cmp esi, edx
jge 0x40b4e6
xor ecx, ecx
mov cl, byte [esi + edi]
shr ecx, 2
inc eax
dec edx
mov cl, byte [ecx + 0x40c718]
cmp esi, edx
mov byte [esi - 1], ch
mov dl, byte [esi + edi]
jne 0x40b4b6
and dword [ecx + 0x4e2c17d], 0x40
mov cl, byte [edx + 0x6b9318]
mov byte [ecx + 0x3d00c6ff], bh
mov ecx, 0x3d00c6ff
mov byte [eax], 0x3d
jmp 0x40b4e1
lea ecx, [esi + edi + 0x3e]
xor ecx, ebp
and edx, 3
mov bl, byte [ecx]
shl edx, 4
shr ebx, 4
or esp, ecx
inc eax
mov dl, byte [edx + 0x40c718]
mov byte [eax - 0x52], dl
mov ah, byte [edi - 0x75f01e7d]
add byte [ecx + 0x18], ch
mov dword [eax], 0xc6400b88
add byte [eax + eax*2 - 0x75], bh
push ebp
adc al, dh
add byte [eax], al
inc eax
mov byte [eax], 0x7c
inc eax
mov edx, dword [ebp + 0x12]
mov byte [eax], 0
sub eax, edx
pop edi
pop esi
inc eax
pop ebx
jl 0x40b4b6
or al, 0
nop
nop
insb byte es:[edi], dx
nop
nop
nop
nop
nop
or edx, dword [eax + 0x40583d83]
inc ecx
add bh, bh
jne 0x40b515
push dword [esp + 4]
call dword [sym.imp.MSVCRT.dll__onexit]
pop ecx
ret
push 0xc8414054
push 0x774058
push dword [esp + 0xc]
call fcn.0040b916
add esp, 0x2f
ret
Function at 0x409390
Capabilities:
Encode data using xor
Get file size
Hash data with crc32
Read file via mapping

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 7
push 0x80000000
push 0x432470
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
jne 0x4093ed
mov byte [esp + 0x13], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
jmp 0x409497
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x40942a
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x13], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call ebp
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
jmp 0x409497
push 0
push 0
push 0
push 2
push 0
push edi
mov dword [esp + 0x54], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jne 0x409465
mov byte [esp + 0x13], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call ebp
mov ebx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
jmp 0x409493
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x409491
mov byte [esp + 0x13], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebp
push edi
call ebp
mov al, byte [esp + 0x13]
jmp 0x409493
xor al, al
mov ecx, dword [esp + 0x14]
test al, al
je 0x4094a5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
or esi, 0xffffffff
test ecx, ecx
je 0x409577
mov ebp, dword [esp + 0x14]
xor edi, edi
movzx eax, byte [ebx + edi]
xor esi, eax
mov eax, esi
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr esi, 1
and ecx, 0xedb88320
xor ecx, esi
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx esi, al
neg esi
sbb esi, esi
shr ecx, 1
and esi, 0xedb88320
inc edi
xor esi, ecx
cmp edi, ebp
jb 0x4094b6
mov edi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
not esi
mov eax, 1
test esi, esi
push ebx
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x18]
call ebp
push edi
call ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x4095a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x425004]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4095e5
xor al, al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040a51f
add esp, 0x20c
ret
cmp word [esi], 0
mov ecx, dword [esp + 0x214]
je 0x4095fc
add esi, 2
dec ecx
cmp word [esi], 0
jne 0x4095f2
cmp word [esp + 4], 0
je 0x409627
lea edx, [esp + 4]
sub edx, esi
nop word [eax + eax]
cmp ecx, 1
jb 0x409644
mov ax, word [edx + esi]
dec ecx
mov word [esi], ax
add esi, 2
cmp word [edx + esi], 0
jne 0x409610
mov ecx, dword [esp + 0x20c]
xor eax, eax
mov word [esi], ax
mov al, 1
pop esi
xor ecx, esp
call fcn.0040a51f
add esp, 0x20c
ret
call fcn.0040d6f1
int3
Function at 0x409d60
Capabilities:
Create directory

Disassembly:
mov eax, 0x200c
call fcn.0041cb80
mov eax, dword [0x425004]
xor eax, esp
mov dword [esp + 0x2004], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x426440]
mov ebp, ecx
test edi, edi
jne 0x409dc7
push 0x1000
mov edx, str._HOME_
lea ecx, [esp + 0x14]
call fcn.00409650
add esp, 4
test al, al
je 0x409ea4
lea eax, [esp + 0x10]
push eax
call fcn.004113dd
mov edi, dword [0x426440]
add esp, 4
mov dword [edi*4 + 0x429460], eax
inc edi
mov dword [0x426440], edi
xor esi, esi
test edi, edi
jle 0x409e14
nop dword [eax]
mov eax, dword [esi*4 + 0x429460]
mov ecx, ebp
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409e06
test dx, dx
je 0x409e02
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409e06
add ecx, 4
add eax, 4
test dx, dx
jne 0x409de0
xor eax, eax
jmp 0x409e0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x409e3b
inc esi
cmp esi, edi
jl 0x409dd0
mov ecx, ebp
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409e20
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jne 0x409e3f
cmp word [ebp + 2], 0x3a
jne 0x409e3f
mov al, 1
jmp 0x409e8b
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x409e60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409e89
mov bl, 1
cmp dword [0x426440], 0x400
jge 0x409e89
push ebp
call fcn.004113dd
mov ecx, dword [0x426440]
add esp, 4
mov dword [ecx*4 + 0x429460], eax
inc ecx
mov dword [0x426440], ecx
mov al, bl
mov ecx, dword [esp + 0x2014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a51f
add esp, 0x200c
ret
mov ecx, str._HOME_
call fcn.00409c00
int3

Function at 0x409fb0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x426444]
test eax, eax
je 0x409fe3
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x409fd7
push 0
push dword [0x426444]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x426444]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x40ad4f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ad8e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ad8e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ad8e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40ad8e
cmp dword [ecx + 0x74], 0xe
jbe 0x40ad8e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41297c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41eabc
push 0x41eab4
push str.FlsAlloc
push 0x1f
call fcn.004128b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4129b0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d14c]
call esi
jmp 0x4129b6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4129fa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41eacc
push 0x41eac4
push str.FlsGetValue
push 0x21
call fcn.004128b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412a31
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d14c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x412a39
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ead4
push 0x41eacc
push str.FlsSetValue
push 0x22
call fcn.004128b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412a73
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41d14c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x414939
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x414984
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00414ad4
test al, al
jne 0x41497e
sub edx, 2
cmp edx, edi
jne 0x414964
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4149a6
lea eax, [edi + 2]
cmp edx, eax
je 0x4149a6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00414885
add esp, 0x10
jmp 0x414aa0
push esi
lea ecx, [ebp - 0x255]
call fcn.00414ad4
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4149e9
push dword [ebp - 0x25c]
jmp 0x414996
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x414a26
cmp word [ebp - 0x226], 0
je 0x414a47
cmp word [ebp - 0x226], ax
jne 0x414a26
cmp word [ebp - 0x224], 0
je 0x414a47
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00414885
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x414a93
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x414a00
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x414a7b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x414aa0
push 0x4146b5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00419650
add esp, 0x10
jmp 0x414a70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a51f
leave
ret
Function at 0x41c780
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c7ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c7ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408920
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop ebx
and eax, edi
call fcn.0040893e
xor dword [ecx], ebx
inc edi
inc ecx
cmp ecx, esi
jne fcn.00408920
ret
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 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
mov ecx, 0x1c3c3f85
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x505484
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x2018
call fcn.1000ae80
mov esi, ecx
mov edi, dword [esp + 0x202c]
mov eax, dword [0x10026554]
xor eax, esp
mov dword [esp + 0x2014], eax
call fcn.100119f3
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
xor edi, edi
mov dword [esp + 0x10], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov ebp, ecx
test ecx, ecx
je 0x100010f8
mov eax, 0x1ff0
cmp ebp, eax
mov ebx, 0x1ff0
cmovl ebx, ebp
mov ecx, dword [esi + 8]
call fcn.1000111a
mov ecx, dword [esp + 0x202c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
add eax, edi
push ebx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1000f6f0
add esp, 0xc
mov eax, ebx
add eax, 0x10
je 0x100010c6
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
lea edi, [esp + 0x14]
mov dword [esp], eax
mov ebp, eax
push 0
push ebp
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100010cf
add edi, eax
sub ebp, eax
jne 0x100010ac
jmp 0x100010d5
mov dword [esp], 0
jmp 0x100010dd
xor eax, eax
dec eax
mov dword [esp], eax
mov edi, dword [esp + 8]
mov ebp, dword [esp + 4]
push dword [esi + 8]
call fcn.1000c6a1
add esp, 4
add edi, ebx
mov ecx, ebp
sub ecx, ebx
cmp dword [esp], 0xffffffff
jne 0x1000103c
test ebp, ebp
sete bl
mov ecx, dword [esp + 0x2014]
xor ecx, esp
call fcn.1000adb2
mov eax, ebx
add esp, 0x2018
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1000116e
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x1000a780
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov dword [eax + 8], 0
push 0x10
call fcn.1000ad4c
add esp, 4
xor esi, esi
inc esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax], vtable.std::_Ref_count_obj2_struct_std::atomic_bool__.0
mov ecx, eax
add ecx, 0xc
mov byte [eax + 0xc], 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x4c]
mov dword [edx], ecx
lea ecx, [ebp + 8]
add ecx, 0x30
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x48]
mov esi, dword [ebp - 0x20]
mov dword [eax], esi
lea esi, [ebp - 0x28]
push ecx
push edx
push eax
lea eax, [ebp + 0x10]
push eax
push 3
push esi
call fcn.100065a1
add esp, 0x18
xor eax, eax
lea edx, [ebp - 0x3c]
mov dword [edx - 8], eax
mov dword [edx - 4], eax
mov ecx, dword [ebp - 0x34]
lock inc dword [ecx + 4]
movsd xmm0, qword [ebp - 0x30]
movsd qword [edx - 8], xmm0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [edx], ecx
mov byte [edx + 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x54]
lea edx, [ebp + 8]
push edx
push eax
call fcn.1000624a
mov esi, dword [ebp - 0x54]
lea ecx, [esi + 0x18]
lea edi, [ebp - 0x44]
push edi
call fcn.10004996
add esi, 0x20
mov ecx, esi
lea esi, [ebp - 0x3c]
push esi
call fcn.100049d4
mov ecx, esi
call fcn.10001334
mov esi, dword [edi + 4]
test esi, esi
je 0x10001280
lock dec dword [esi + 4]
jne 0x10001280
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock dec dword [esi + 8]
jne 0x10001280
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10001334
mov esi, dword [ebp - 0x2c]
test esi, esi
lea edi, [ebp + 0x10]
lea ebx, [ebp + 8]
je 0x100012ae
lock dec dword [esi + 4]
jne 0x100012ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock dec dword [esi + 8]
jne 0x100012ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x100012c2
xor eax, eax
cmp ecx, edi
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret 0x34