joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40916a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6e1760]
jne 0x409174
repz ret
jmp fcn.0041213c

Function at 0x413cba
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x6e1e38]
je 0x413cd5
inc edi
cmp edi, 0x17
jb 0x413cc6
cmp edi, 0x17
jae 0x413e55
push ebp
push 3
call fcn.0041afe9
cmp eax, 1
pop ecx
je 0x413e21
push 3
call fcn.0041afe9
test eax, eax
pop ecx
jne 0x413d09
cmp dword [0x6e1774], 1
je 0x413e21
cmp ebx, 0xfc
je 0x413e54
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x71d940
push ebp
call fcn.0040fb2f
add esp, 0xc
test eax, eax
je 0x413d3f
push esi
push esi
push esi
push esi
push esi
call fcn.0040b5a5
add esp, 0x14
push 0x104
mov esi, 0x71d959
push esi
push 0
mov byte [0x71da5d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x413d83
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040fb2f
add esp, 0xc
test eax, eax
je 0x413d83
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040b5a5
add esp, 0x14
push esi
call fcn.00408570
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x413dc8
push esi
call fcn.00408570
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x71dc54
push 0x638f08
sub ecx, eax
push ecx
push eax
call fcn.00416ee6
add esp, 0x14
test eax, eax
je 0x413dc8
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040b5a5
add esp, 0x14
jmp 0x413dca
xor esi, esi
push 0x637ab0
push ebx
push ebp
call fcn.00416e2a
add esp, 0xc
test eax, eax
je 0x413dea
push esi
push esi
push esi
push esi
push esi
call fcn.0040b5a5
add esp, 0x14
push dword [edi*8 + 0x6e1e3c]
push ebx
push ebp
call fcn.00416e2a
add esp, 0xc
test eax, eax
je 0x413e0c
push esi
push esi
push esi
push esi
push esi
call fcn.0040b5a5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041ae2c
add esp, 0xc
jmp 0x413e54
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x413e54
cmp ebp, 0xffffffff
je 0x413e54
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x6e1e3c]
push dword [esi]
call fcn.00408570
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41ae2c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00411ad4
xor ebx, ebx
cmp dword [0x71de00], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41af02
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41afe2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41afe2
push eax
call fcn.00411a66
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x71de00], eax
call esi
push eax
call fcn.00411a66
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x71de04], eax
call esi
push eax
call fcn.00411a66
mov dword [0x71de08], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00412447
test eax, eax
pop ecx
pop ecx
je 0x41aed0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040b5a5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41af02
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00411a66
cmp eax, ebx
pop ecx
mov dword [0x71de10], eax
je 0x41af02
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411a66
pop ecx
mov dword [0x71de0c], eax
mov eax, dword [0x71de0c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41af87
cmp dword [0x71de10], ecx
je 0x41af87
push eax
call fcn.00411add
push dword [0x71de10]
mov esi, eax
call fcn.00411add
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41af87
cmp edi, ebx
je 0x41af87
call esi
cmp eax, ebx
je 0x41af54
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41af54
test byte [ebp - 0x18], 1
jne 0x41af87
lea eax, [ebp - 0x10]
push eax
call fcn.0041247e
test eax, eax
pop ecx
je 0x41af6f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040b5a5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41af7e
or dword [ebp + 0x10], 0x200000
jmp 0x41afc2
or dword [ebp + 0x10], 0x40000
jmp 0x41afc2
mov eax, dword [0x71de04]
cmp eax, dword [ebp - 8]
je 0x41afc2
push eax
call fcn.00411add
cmp eax, ebx
pop ecx
je 0x41afc2
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41afc2
mov eax, dword [0x71de08]
cmp eax, dword [ebp - 8]
je 0x41afc2
push eax
call fcn.00411add
cmp eax, ebx
pop ecx
je 0x41afc2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x71de00]
call fcn.00411add
cmp eax, ebx
pop ecx
je 0x41afe2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41afe4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x429910
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
push esi
push str.computeCrc32Str
lea ecx, [esp + 8]
call fcn.00553ab0
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx]
test al, al
mov esi, dword [esp + 0xc]
je 0x42994b
nop
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x6e3980]
mov al, byte [ecx + 1]
add ecx, 1
test al, al
jne 0x429930
lea ecx, [esp + 4]
call fcn.00553477
mov eax, esi
pop esi
pop ecx
ret
Function at 0x429960
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push esi
push str.computeCrc32
lea ecx, [esp + 8]
call fcn.00553ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0x6e3980
push eax
push ecx
push edx
call fcn.0042cafc
add esp, 0x10
lea ecx, [esp + 4]
mov esi, eax
call fcn.00553477
mov eax, esi
pop esi
pop ecx
ret

Function at 0x42cafc
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, ecx
xor eax, eax
shr ecx, 2
je 0x42cb40
xor edx, dword [edi]
add edi, 4
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
dec ecx
jne 0x42cb18
mov ecx, ebx
and ecx, 3
je 0x42cb55
xor dl, byte [edi]
inc edi
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
dec ecx
jne 0x42cb47
pop ebx
pop esi
pop edi
mov eax, edx
ret

Function at 0x430558
Capabilities:
Encode data using xor

Disassembly:
push edi
mov eax, dword [esp + 8]
mov dh, al
mov dl, ah
shr eax, 0x10
shl edx, 0x10
mov dh, al
mov dl, ah
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor eax, eax
shr ecx, 2
xor edx, dword [edi]
add edi, 4
mov al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x6e4a50]
mov al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x6e4a50]
mov al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x6e4a50]
mov al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x6e4a50]
dec ecx
jne 0x430578
mov ah, dl
mov al, dh
shl eax, 0x10
shr edx, 0x10
mov ah, dl
mov al, dh
pop edi
ret
Function at 0x45b30e
Capabilities:
Get disk information

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
shr eax, 2
mov cl, 0x43
je 0x45b32e
test al, 1
je 0x45b327
shr eax, 1
inc cl
test eax, eax
jne 0x45b31b
cmp cl, 0x5a
mov al, 0x2d
jg 0x45b330
mov al, cl
ret

Function at 0x45c12f
Capabilities:
Get disk information

Disassembly:
push 0x70
mov eax, 0x5fcb4a
call fcn.004091e2
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x34], edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.00402875
push 0x637898
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], edi
call fcn.00404087
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x7c]
push str.Ghost::DriveLetterAssign
push eax
mov byte [ebp - 4], 1
call fcn.0040274d
mov ecx, eax
call fcn.00421102
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403c71
push edi
push 1
lea ecx, [ebp - 0x7c]
call fcn.0040349d
push edi
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.0040349d
mov ecx, ebx
call fcn.0053062c
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jae 0x45c1c4
mov ecx, ebx
call fcn.0053062c
mov dword [ebp - 0x38], eax
jmp 0x45c1c7
mov dword [ebp - 0x38], ecx
mov ecx, ebx
call fcn.0053062c
cmp eax, dword [ebp - 0x38]
jbe 0x45c1e1
mov ecx, ebx
call fcn.0053062c
mov esi, eax
sub esi, dword [ebp - 0x38]
jmp 0x45c1e3
xor esi, esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004e6b50
push 0x2a
push esi
push dword [eax + 4]
lea ecx, [ebp - 0x2c]
push dword [eax]
call fcn.0045c0b9
mov ecx, ebx
call fcn.0053062c
test eax, eax
jbe 0x45c2dd
push edi
lea ecx, [ebp - 0x2c]
call fcn.00428a02
cmp byte [eax], 0x2d
je 0x45c2cd
push edi
lea ecx, [ebp - 0x2c]
call fcn.00428a02
cmp byte [eax], 0x2a
jne 0x45c293
call fcn.0045b30e
cmp al, 0x2d
mov byte [ebp - 0x2e], al
je 0x45c265
push edi
mov ecx, ebx
call fcn.005aa4c1
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x30]
push dword [eax]
or dword [ebp - 0x34], 1
mov byte [ebp - 4], 3
call fcn.0045b4ff
test al, al
pop ecx
mov byte [ebp - 0x2d], 0
je 0x45c269
mov byte [ebp - 0x2d], 1
and dword [ebp - 4], 0
test byte [ebp - 0x34], 1
je 0x45c27f
and dword [ebp - 0x34], 0xfffffffe
lea ecx, [ebp - 0x3c]
call fcn.004d6118
cmp byte [ebp - 0x2d], 0
jne 0x45c2cd
push edi
lea ecx, [ebp - 0x2c]
call fcn.00428a02
mov cl, byte [ebp - 0x2e]
mov byte [eax], cl
push edi
mov ecx, ebx
call fcn.005aa4c1
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
call dword [eax + 0x30]
mov esi, dword [eax]
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00428a02
movzx eax, byte [eax]
push eax
push esi
call fcn.0045b4c4
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004d6118
mov ecx, ebx
inc edi
call fcn.0053062c
cmp edi, eax
jb 0x45c20e
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040349d
call fcn.00409265
ret
Function at 0x48a637
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push 4
mov eax, 0x601716
call fcn.00409179
push str.OpenTCP
lea ecx, [ebp - 0x10]
call fcn.00553ab0
and dword [ebp - 4], 0
cmp dword [0x6e9518], 0xffffffff
jne 0x48a61d
push 0x5f2
call fcn.0040213b
pop ecx
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [0x6e9518], eax
jne 0x48a5cc
push 0x1fd
call esi
push eax
push 0x4ddb
call fcn.0048a3ed
add esp, 0xc
push dword [0x734bf4]
mov byte [0x734bbe], 1
push 0x734b9c
push dword [0x6e9518]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x48a604
push 0x1f8
call esi
push eax
push 0x4ddc
call fcn.0048a3ed
add esp, 0xc
push 0x5a9
call fcn.0040213b
and dword [0x734bec], 0
pop ecx
mov byte [0x734bbd], 0
lea ecx, [ebp - 0x10]
call fcn.00553477
call fcn.00409251
ret
jmp 0x48a566

Function at 0x48a7b2
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x6e1760]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x48a7e0
xor eax, eax
jmp 0x48a80d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x48a7dc
cmp word [eax + 0xa], 4
jne 0x48a7dc
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp dword [eax], 0
je 0x48a80b
inc ecx
add eax, 4
cmp ecx, 0x10
jb 0x48a7fd
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040916a
leave
ret

Function at 0x48a819
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x6e1760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.MCastCheckForPktDrv
lea ecx, [ebp - 0x198]
call fcn.00553ab0
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x48a86c
xor esi, esi
lea ecx, [ebp - 0x198]
call fcn.00553477
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040916a
leave
ret
call fcn.0048a7b2
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
test esi, esi
je 0x48a850
xor esi, esi
inc esi
jmp 0x48a852

Function at 0x48a882
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x6e1760]
xor eax, ebp
mov dword [ebp + 0x84], eax
push str.MCastGetLocalIPAddress
lea ecx, [ebp - 0x80]
call fcn.00553ab0
push 0xff
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x48a8df
lea ecx, [ebp - 0x80]
call fcn.00553477
mov eax, 0x637898
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.0040916a
add ebp, 0x88
leave
ret
push esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x48a900
mov esi, 0x637898
lea ecx, [ebp - 0x80]
call fcn.00553477
mov eax, esi
pop esi
jmp 0x48a8ca
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
jmp 0x48a8f3
Function at 0x48aa67
Capabilities:
Send data
Send data on socket

Disassembly:
push 8
mov eax, 0x6017c5
call fcn.00409179
push str.MCastFlushSend
lea ecx, [ebp - 0x14]
call fcn.00553ab0
mov eax, dword [0x734c08]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x48ab08
cmp byte [0x734bbe], bl
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x734bc4
push dword [0x6e9518]
je 0x48aad2
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x48aabf
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x734c0c]
je 0x48ab02
push 0x200
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x4de8
jmp 0x48aafa
call fcn.0054d4c1
add esp, 0x1c
cmp eax, 0xffffffff
je 0x48aaea
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x734c0c]
je 0x48ab02
push 0x200
call fcn.0054d7a3
push eax
push 0x4de9
call fcn.0048a3ed
add esp, 0xc
mov dword [0x734c08], ebx
lea ecx, [ebp - 0x14]
call fcn.00553477
call fcn.00409251
ret

Function at 0x48b286
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0x6018a9
call fcn.00409179
push str.Encode
lea ecx, [ebp - 0x10]
call fcn.00553ab0
and dword [ebp - 4], 0
call fcn.004ce0e7
movzx ecx, word [ebp + 0xc]
movzx esi, si
xor edx, edx
test esi, esi
jle 0x48b2dd
mov eax, dword [ebp + 8]
add eax, edx
xor byte [eax], cl
mov al, byte [eax]
movzx edi, cx
movzx eax, al
shr edi, 8
xor edi, eax
xor eax, eax
mov ah, cl
xor ax, word [edi*2 + 0x739ea0]
inc edx
cmp edx, esi
movzx ecx, ax
jl 0x48b2b5
lea ecx, [ebp - 0x10]
call fcn.00553477
call fcn.00409251
ret

Function at 0x48b2eb
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0x6018cc
call fcn.00409179
push str.Decode
lea ecx, [ebp - 0x10]
call fcn.00553ab0
xor edi, edi
mov dword [ebp - 4], edi
call fcn.004ce0e7
movzx eax, word [ebp + 0xc]
cmp eax, edi
movzx ecx, word [ebp + 0x10]
jle 0x48b350
movzx eax, cx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
mov al, byte [esi]
movzx edx, cx
movzx ebx, al
xor al, byte [ebp + 0x10]
shr edx, 8
xor edx, ebx
xor ebx, ebx
mov bh, cl
xor bx, word [edx*2 + 0x739ea0]
mov byte [esi], al
movzx eax, word [ebp + 0xc]
inc edi
cmp edi, eax
movzx ecx, bx
jl 0x48b31a
lea ecx, [ebp - 0x10]
call fcn.00553477
call fcn.00409251
ret
Function at 0x4ab250
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push str.GetCountryInfo
lea ecx, [ebp - 8]
call fcn.00553ab0
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 2
lea eax, [ebx + 7]
push eax
push 0xf
mov edi, 0x400
push edi
call esi
test eax, eax
jne 0x4ab291
lea ecx, [ebp - 8]
call fcn.00553477
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push 2
lea eax, [ebx + 9]
push eax
push 0xe
push edi
call esi
test eax, eax
je 0x4ab282
push 2
lea eax, [ebx + 0xb]
push eax
push 0x1d
push edi
call esi
test eax, eax
je 0x4ab282
push 2
lea eax, [ebx + 0xd]
push eax
push 0x1e
push edi
call esi
test eax, eax
je 0x4ab282
push 2
lea eax, [ebp - 4]
push eax
push 0x21
push edi
call esi
test eax, eax
je 0x4ab282
movsx ax, byte [ebp - 4]
sub ax, 0x30
push 2
mov word [ebx], ax
lea eax, [ebp - 4]
push eax
push 0x23
push edi
call esi
test eax, eax
jne 0x4ab2f6
xor bl, bl
lea ecx, [ebp - 8]
call fcn.00553477
mov al, bl
jmp 0x4ab28c
mov al, byte [ebp - 4]
sub al, 0x30
mov byte [ebx + 0x11], al
mov bl, 1
jmp 0x4ab2ea

Function at 0x4afdcb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.ChecksumMapFile
lea ecx, [ebp - 4]
call fcn.00553ab0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], 0xabcd
inc ecx
mov dx, word [eax + ecx*2]
xor word [eax], dx
inc ecx
cmp ecx, 0x200
jl 0x4afde7
lea ecx, [ebp - 4]
call fcn.00553477
leave
ret 4
Function at 0x4c9e5f
Capabilities:
Manipulate boot configuration

Disassembly:
push 4
mov eax, 0x607e08
call fcn.00409179
push str.NTFSFindFiles
lea ecx, [ebp - 0x10]
call fcn.00553ab0
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp byte [0x734a74], bl
mov dword [ebp - 4], ebx
jne 0x4c9ea6
cmp esi, ebx
jne 0x4c9ea6
push 0x7a
push str..._ntcheck.cpp
push 0x64e514
push str.Assertion_failed:__s__file__s__line__d
push ebx
call fcn.0045aaff
add esp, 0x14
push dword [esi + 0xc4]
push ebx
push 5
push esi
call fcn.004bea7c
add esp, 0x10
test al, al
jne 0x4c9ee4
cmp byte [0x72e181], bl
je 0x4c9ed4
call fcn.0051104d
push 0x22e
call fcn.00487aa5
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00553477
mov eax, ebx
call fcn.00409251
ret
lea edi, [esi + 0x68]
push edi
push 8
push str.BOOT.INI
push dword [esi + 0xc4]
or ebx, 0xffffffff
push esi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
call fcn.004c0635
add esp, 0x14
test al, al
jne 0x4c9f10
mov dword [edi], ebx
mov dword [edi + 4], ebx
push 2
pop ebx
jmp 0x4c9ed4

Function at 0x4cda1a
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xc
mov eax, 0x608479
call fcn.00409179
push str.TcpipFlushSend
lea ecx, [ebp - 0x18]
call fcn.00553ab0
mov ecx, dword [0x739e9c]
xor esi, esi
xor ebx, ebx
xor eax, eax
cmp ecx, esi
mov dword [ebp - 4], esi
jle 0x4cda52
add ebx, dword [eax*8 + 0x739e64]
inc eax
cmp eax, ecx
jl 0x4cda46
mov dword [ebp - 0x14], esi
jmp 0x4cdaee
mov edi, dword [ebp - 0x14]
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
sub ecx, edi
push ecx
lea eax, [edi*8 + 0x739e64]
push eax
push dword [0x6ed7e0]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x4cdab0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004f1822
push eax
push 0x663208
push str...dctcpip.cpp:432
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
push 0x84d4
call fcn.0045ab8f
add esp, 0x1c
sub ebx, dword [ebp - 0x10]
mov ecx, dword [0x739e9c]
jmp 0x4cdae9
cmp edi, ecx
jge 0x4cdaee
mov edx, dword [ebp - 0x10]
lea eax, [edi*8 + 0x739e64]
mov esi, dword [eax]
cmp edx, esi
jbe 0x4cdad1
mov edx, esi
sub dword [eax], edx
mov eax, dword [eax]
add dword [edi*8 + 0x739e68], edx
sub dword [ebp - 0x10], edx
xor esi, esi
cmp eax, esi
jne 0x4cdae8
inc dword [ebp - 0x14]
inc edi
cmp dword [ebp - 0x10], esi
ja 0x4cdabb
cmp ebx, esi
jg 0x4cda5a
lea ecx, [ebp - 0x18]
mov dword [0x739e9c], esi
call fcn.00553477
call fcn.00409251
ret

Function at 0x4cdfac
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
cmp dword [esp + 8], edx
mov ecx, 0x7a2
jle 0x4cdfe6
push esi
mov eax, dword [esp + 8]
add eax, edx
xor byte [eax], cl
mov al, byte [eax]
movzx esi, cx
movzx eax, al
shr esi, 8
xor esi, eax
xor eax, eax
mov ah, cl
xor ax, word [esi*2 + 0x739ea0]
inc edx
cmp edx, dword [esp + 0xc]
movzx ecx, ax
jl 0x4cdfba
pop esi
ret
Function at 0x4cdfe7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov ecx, 0x7a2
jle 0x4ce02f
push ebx
push esi
movzx eax, cx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
mov al, byte [esi]
movzx edx, cx
movzx ebx, al
xor al, byte [ebp - 4]
shr edx, 8
xor edx, ebx
xor ebx, ebx
mov bh, cl
xor bx, word [edx*2 + 0x739ea0]
inc edi
cmp edi, dword [ebp + 0xc]
movzx ecx, bx
mov byte [esi], al
jl 0x4cdffa
pop esi
pop ebx
pop edi
leave
ret

Function at 0x4ce0a7
Capabilities:
Encode data using xor

Disassembly:
movzx eax, word [0x73a0a0]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x4ce0e0
push ebx
push esi
mov edx, dword [esp + 0xc]
movzx edx, byte [ecx + edx]
xor ebx, ebx
movzx esi, ax
mov bh, al
shr esi, 8
xor edx, esi
xor bx, word [edx*2 + 0x739ea0]
inc ecx
cmp ecx, dword [esp + 0x10]
movzx eax, bx
jl 0x4ce0b8
pop esi
pop ebx
mov word [0x73a0a0], ax
ret

Function at 0x4d34d6
Capabilities:
Get file attributes

Disassembly:
push 0x24
mov eax, 0x608d0d
call fcn.004091e2
mov esi, dword [ebp + 8]
mov eax, 0x8001
push eax
push eax
lea ecx, [ebp - 0x30]
call fcn.0055da1e
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004d34b7
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x4d3510
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 1
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0040349d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0055da62
mov eax, esi
call fcn.00409265
ret