joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f7c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x45f7c8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45f9b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45f991
push dword fs:[edx]
mov dword fs:[edx], esp
mov edi, dword [esi + 0x1d]
test edi, edi
je 0x45f81a
mov eax, dword [edi + 0x407]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f81a
push 0
mov eax, dword [esi + 0x1d]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
cmp dword [eax + 0x32], 3
jne 0x45f831
xor edx, edx
mov dword [eax + 0x32], edx
call fcn.004044a8
jmp 0x45f998
cmp ebx, dword [esi + 0x11]
jne 0x45f97e
lea edx, [ebp - 0xc]
mov esi, ebx
mov eax, esi
call fcn.00434a5c
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.004055a0
je 0x45f97e
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00434a5c
mov eax, dword [ebp - 0x10]
call fcn.0040547c
mov dword [ebp - 8], eax
mov eax, esi
call fcn.00436880
mov edi, eax
dec edi
test edi, edi
jl 0x45f97e
inc edi
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x32
jg 0x45f97e
lea edx, [ebp - 0x18]
mov esi, ebx
mov eax, esi
call fcn.00434a5c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00441be8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00436798
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov edx, 1
call fcn.00405624
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00441be8
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.004055a0
jne 0x45f974
mov dword [esi + 0x32], 3
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00434a5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00436798
mov eax, dword [ebp - 0x30]
call fcn.0040547c
push eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00436798
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
inc edx
pop ecx
call fcn.00405624
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00405488
mov edx, dword [ebp - 0x28]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00436798
mov eax, dword [ebp - 0x38]
call fcn.0040547c
movzx edx, word [ebp - 8]
movzx eax, ax
shl eax, 0x10
or edx, eax
mov eax, edx
push eax
push 0
push 0x142
push esi
call fcn.00436e40
jmp 0x45f97e
inc dword [ebp - 4]
dec edi
jne 0x45f885
xor eax, eax
mov dword [ebx + 0x32], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f998
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9ba
lea eax, [ebp - 0x38]
mov edx, 0xc
call fcn.004052b4
ret
Function at 0x460220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4602b5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x1d], 0
je 0x46029f
cmp dword [ebx + 0x11], 0
je 0x46029f
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x11]
call fcn.00434a5c
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004055a0
jne 0x46028e
mov eax, dword [ebx + 0x11]
call fcn.0043514c
test al, al
je 0x46028e
mov edx, dword [ebx + 0xc5]
mov eax, dword [ebx + 0x1d]
mov ecx, dword [eax]
call dword [ecx + 8]
push 4
mov eax, dword [ebx + 0x1d]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x1d]
call fcn.0043a1a0
jmp 0x46029f
push 0
mov eax, dword [ebx + 0x1d]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4602bc
lea eax, [ebp - 4]
call fcn.0040529c
ret

Function at 0x461204
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, eax
mov eax, dword [ebx + 0x15]
mov eax, dword [eax + 0x605]
call fcn.00405ff8
test eax, eax
jl 0x4612be
cmp byte [esi], 0xd
jne 0x4612a6
mov edi, dword [ebx + 0x11]
cmp byte [edi + 0x48b], 0
je 0x46128d
mov eax, edi
call fcn.00436c20
push eax
mov eax, dword [ebx + 0x11]
call fcn.00436880
dec eax
pop edx
cmp edx, eax
jne 0x46125e
mov eax, ebx
call fcn.004612d4
xor edx, edx
mov eax, dword [ebx + 0x11]
call fcn.00437290
jmp 0x4612cd
mov eax, dword [ebx + 0x11]
call fcn.00436c20
mov edi, eax
mov eax, dword [ebx + 0x11]
call fcn.00436880
sub eax, 2
cmp edi, eax
jne 0x461283
xor edx, edx
mov eax, dword [ebx + 0x11]
call fcn.00437290
jmp 0x4612cd
xor edx, edx
mov eax, dword [ebx + 0x11]
call fcn.00437290
push 0
push 0xd
mov eax, dword [0x472588]
push eax
mov eax, dword [ebx + 0x15]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_SendMessageA
cmp byte [esi], 0x1b
jne 0x4612be
mov eax, dword [ebx + 0x11]
cmp byte [eax + 0x48b], 0
je 0x4612be
xor edx, edx
call fcn.00437290
cmp byte [esi], 0x21
jae 0x4612cd
mov eax, dword [ebx + 0x11]
mov dword [eax + 0x32], 3
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4679f4
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
call fcn.00405704
xor eax, eax
push ebp
push 0x467acc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040353c
push ebp
call fcn.0046792c
pop ecx
xor eax, eax
push ebp
push 0x467aa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x40]
call fcn.004400e4
mov eax, dword [ebp - 0x48]
call fcn.00404f78
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x41], al
mov eax, ebx
mov edx, dword [ebp - 0x2c]
call fcn.00404d04
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404d04
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00404d04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467aae
push ebp
call fcn.004679b4
pop ecx
ret
Function at 0x4029d0
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
mov eax, dword [esi + 0x4fe0]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esi + 0x4fd8]
mov ebx, dword [esi + 0x4fdc]
shr ecx, 0x1c
mov eax, edi
and eax, 0xf
shl ebx, 4
add ecx, ebx
mov edx, edi
shr edx, 4
shl eax, 0x1c
cmp edi, ecx
sbb ecx, ecx
and ecx, 0x10000000
push ecx
push eax
push edx
mov edx, dword [esi + 0x28]
push 4
push edx
mov dword [esi + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0x4fe0], eax
je 0x402a32
mov dword [esi + 0x18], edi
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [0x44e424]
push 0x440ff0
push 0x440fe4
push edi
mov esi, eax
call fcn.00423e6f
mov eax, dword [edi]
push esi
push esi
push str.LastError
push str._s_d__x__n
push eax
call fcn.0042402a
mov ecx, dword [edi]
push ecx
call fcn.00424302
mov edx, dword [0x44f440]
mov eax, dword [0x44e3ac]
add esp, 0x24
push 0x100
shl edx, 9
add edx, 0x44e440
push edx
push 0xdf
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x44f440]
lea ecx, [eax + 1]
and ecx, 0x80000007
jns 0x402aaa
dec ecx
or ecx, 0xfffffff8
inc ecx
shl eax, 9
add eax, 0x44e440
push eax
mov dword [0x44f440], ecx
call fcn.00417b90
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x403950
Capabilities:
Delete file

Disassembly:
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40395e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esi + 0x4fe0]
push eax
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [esi + 0x10], 0
je 0x4039a0
cmp dword [esi + 0x2c], 0
je 0x4039a0
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [esi + 0x48], 0x7e
lea eax, [esi + 0x48]
mov dword [esi + 0x10], 0
jne 0x4039a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret
Function at 0x40c6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43db78
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x449ad4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
call fcn.00417df0
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x14], eax
mov ebx, esi
mov dword [esi], vtable.TAG_Plot.0
mov dword [esi + 0x10cc078], ecx
mov dword [esi + 0x1097a10], eax
call fcn.0040eb00
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x41a8b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x4c
push esi
xor esi, esi
cmp word [0x44fa68], si
push edi
mov edi, eax
jne 0x41a8d4
push 0x44fa68
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x41a8ea
push 0x5c
push 0x44fa68
call fcn.0042458c
add esp, 8
cmp eax, esi
je 0x41a8ea
mov word [eax], si
mov eax, 0x44fa68
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41a8f2
sub eax, edx
sar eax, 1
cmp eax, 3
jne 0x41a917
cmp word [0x44fa6c], 0x5c
jne 0x41a917
mov word [0x44fa6c], si
cmp edi, esi
je 0x41a92e
push edi
push 0x208
push 0x44fa68
call fcn.00424223
add esp, 0xc
mov eax, dword [esp + 0x64]
push eax
push 0x208
push 0x44fa68
call fcn.00424fb7
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], eax
add esp, 0xc
mov dword [esp + 8], 0x4c
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x44fa68
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], 0x88002c
mov word [esp + 0x40], si
mov word [esp + 0x42], si
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0x41a780
mov dword [esp + 0x50], esi
mov ecx, str.OPEN
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a9ec
cmp dx, si
je 0x41a9e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a9ec
add eax, 4
add ecx, 4
cmp dx, si
jne 0x41a9c6
xor eax, eax
jmp 0x41a9f1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x41aa02
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
jmp 0x41aa06
mov eax, dword [esp + 0x58]
mov edx, str.SAVE
mov ecx, ebx
lea ecx, [ecx]
mov di, word [ecx]
cmp di, word [edx]
jne 0x41aa36
cmp di, si
je 0x41aa32
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x41aa36
add ecx, 4
add edx, 4
cmp di, si
jne 0x41aa10
xor ecx, ecx
jmp 0x41aa3b
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, esi
jne 0x41aa4a
lea edx, [esp + 8]
push edx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
cmp eax, esi
jne 0x41aa56
pop edi
xor eax, eax
pop esi
add esp, 0x4c
ret
mov ecx, str.SAVE
mov eax, ebx
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41aa86
cmp dx, si
je 0x41aa82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41aa86
add eax, 4
add ecx, 4
cmp dx, si
jne 0x41aa60
xor eax, eax
jmp 0x41aa8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x41aadb
cmp word [esp + 0x42], si
mov edx, dword [esp + 0x14]
jne 0x41aadb
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + ecx - 1]
xor eax, eax
cmp ecx, esi
jbe 0x41aac5
jmp 0x41aab0
mov si, word [edx]
add edx, 2
test si, si
jne 0x41aab0
add eax, 1
movzx esi, ax
cmp esi, ecx
jb 0x41aab0
add edx, 2
push edx
push 0x208
push 0x44fa68
call fcn.00424fb7
add esp, 0xc
pop edi
mov eax, 0x44fa68
pop esi
add esp, 0x4c
ret

Function at 0x4237b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449ad4]
jne 0x4237c1
repz ret
jmp fcn.004280ab
Function at 0x436976
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042d3ad
xor ebx, ebx
cmp dword [0x44e2f8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x436a4b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4369b6
xor eax, eax
jmp 0x436b0f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4369af
push eax
call fcn.0042d34a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44e2f8], eax
call esi
push eax
call fcn.0042d34a
mov dword [esp], 0x440f30
push edi
mov dword [0x44e2fc], eax
call esi
push eax
call fcn.0042d34a
mov dword [0x44e300], eax
lea eax, [ebp - 8]
push eax
call fcn.00427e21
test eax, eax
pop ecx
pop ecx
je 0x436a19
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00428c7c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x436a4b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042d34a
cmp eax, ebx
pop ecx
mov dword [0x44e308], eax
je 0x436a4b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042d34a
pop ecx
mov dword [0x44e304], eax
mov eax, dword [0x44e304]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x436ac4
cmp dword [0x44e308], esi
je 0x436ac4
push eax
call fcn.0042d3b6
pop ecx
call eax
cmp eax, ebx
je 0x436a91
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44e308]
call fcn.0042d3b6
pop ecx
call eax
test eax, eax
je 0x436a91
test byte [ebp - 0x18], 1
jne 0x436ac4
lea eax, [ebp - 0xc]
push eax
call fcn.00427e58
test eax, eax
pop ecx
je 0x436aac
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00428c7c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x436abb
or dword [ebp + 0x10], 0x200000
jmp 0x436af5
or dword [ebp + 0x10], 0x40000
jmp 0x436af5
mov eax, dword [0x44e2fc]
cmp eax, esi
je 0x436af5
push eax
call fcn.0042d3b6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x436af5
mov eax, dword [0x44e300]
cmp eax, esi
je 0x436af5
push dword [ebp - 4]
push eax
call fcn.0042d3b6
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44e2f8]
call fcn.0042d3b6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a5ec
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x449ad4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043a581
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00425ee0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43a63b
cmp dword [ebp - 0x1c], 5
jb 0x43a653
jmp 0x43a64f
cmp dword [ebp - 0x10], 1
jne 0x43a653
cmp dword [ebp - 0x1c], 4
ja 0x43a64f
jne 0x43a653
cmp dword [ebp - 0x18], 0
jbe 0x43a653
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x440fc4
call fcn.0043a455
test eax, eax
jge 0x43a674
mov byte [0x44e384], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004237b7
add ebp, 0x78
leave
ret

Function at 0x1304a2c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1304a36
pushal
call 0x1304a3c
pop ebp
sub ebp, 0x10
sub ebp, 0xf04a2c
jmp 0x1304a52
mov eax, 0xf04a2c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a9
mov edx, 0x873e0bbb
xor byte [eax], dl
inc eax
dec ecx
jne 0x1304a69
jmp 0x1304a7c
add eax, 0x309daca7
jbe 0x1304aaf
xor byte [esi + 0x30], dh
xor al, byte [edi + 0x3abbbbbb]
jp 0x1304aca
mov ebx, 0x76b8bbbb
add edi, dword [esi + 0x1bbbbbb]
xchg ebx, eax
mov ebx, 0x9301bbbb
mov ebx, 0xbb9301bb
mov ebx, 0xb8594cbb
jae 0x1304acb
mov ebx, 0x594cbbbb
mov eax, 0xb73a3073
mov ebx, 0x7eb8bbbb
jmp 0x1304a8f
cmp dh, byte [edi - 0x47444445]
jle 0x1304a8e
jmp 0x1304a78
xchg edi, eax
lahf
rcl dword [eax - 0x79], cl
fdiv dword [ebx]
push ebx
mov esi, 0x52bbbbbb
xchg ebp, eax
mov ebx, 0xdf36bbbb
lahf
inc edi
xor dl, byte [edi + 0x3057309f]
mov bl, 0xbb
mov bl, 0xbb
mov ebx, 0xb72e30bb
mov ebx, 0x3630bbbb
stosd dword es:[edi], eax
mov ebx, 0x527abbbb
mov ecx, 0x7938b98a
mov edi, 0x4f3eb4f2
inc esp
inc esp
inc esp
out 0x79, al
mov bh, 0xbb
xor byte [edi], dh
lahf
mov edi, 0xd3bbbbbb
xchg edx, esp
lcall 0xbb75, 0x4b4bd3bb
mov edx, 0x53ea9f97
mov esi, 0x52bbbbbb
cli
mov ecx, 0x36eebbbb
xlatb
lahf
mov ebx, 0x44b7ce44
into
mov bl, 0x53
leave
mov ebx, 0x630bbbb
mov bl, 0xbb
mov ebx, 0x3a7288bb
dec ecx
leave
hlt
Function at 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push str.GetFirmwareEnvironmentVariableA
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x44a081
test esi, esi
je 0x44a05f
mov ecx, dword [0x650d8c]
push 0x650aa8
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push str.16ED970E_2557_3BC5_46C2_5E562A0CB27F
push 0x850f58
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
pop ecx
ret
pop edi
mov al, bl
pop esi
pop ebx
pop ecx
ret

Function at 0x4dbf28
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x59511f0b
cmpsd dword [esi], dword es:[edi]
or edx, dword [edx - 0x3e603ae4]
jmp 0x982b985
loope 0x4dbef7
retf
fstp xword [edi + 0x55]
stosb byte es:[edi], al
cmpsd dword [esi], dword es:[edi]
rol dword [esi - 4], 1
push ebp
adc eax, dword [esi]
push es
js 0x4dbe89
popal
push ebp
out dx, eax
cli
xchg esi, eax
mov byte [0x1142baf], al
daa
jmp 0xb55fd889
ja 0x4dbf63
sub al, 0x50
popal
or esp, 0xa9aa09de
adc eax, 0x57699dd8
int3
stosb byte es:[edi], al
test eax, 0x699dd815
push edi
ja 0x4dbee4
add dword [eax], eax
jae 0x4dbf6c
dec esp
test edx, ebp
pop esi
mov eax, dword [0x80f5bec1]
dec eax
int1
jle 0x4dbf97
dec edi
stosd dword es:[edi], eax
mov bh, 0x4e
xor byte [ebp + 0x36607518], dl
inc esp
jecxz 0x4dbeed
pop ss
xlatb
sbb ecx, dword [edi]
xlatb
in al, dx
xchg edi, eax
in eax, dx
nop
aaa
aaa
js 0x4dbf2e
rcl byte [ebp + 0x11], cl
insb byte es:[di], dx
jp 0x4dbf9e
xor dword [edi], edi
aas
aas
add dword [esi + esi*2 - 0x7f130738], 0xf06de5e1
mov bh, 0x92
invalid
lahf
invalid
push dword [ecx - 0x23]
mov eax, dword [0x3c45bd77]
inc ecx
xor dl, dl
jnp 0x4dbf31
mov gs, word [ebp + 3]
sub dword ds:[eax + 0x69], edi
xor ah, byte [ecx + 0x14be6f5e]
xchg byte fs:[edi - 0x24db051f], bl
fstp qword [ecx - 0x49]
movsw word es:[edi], word [esi]
fild qword [edi + 0x56]
jo 0x4dbf98
lodsd eax, dword [esi]
bound edi, qword gs:[ecx + 0x4b11d402]
and dword [ecx - 0x267c390c], esp
inc eax
loop 0x4dbf9b
nop
shr dword [ebp*4 - 0x2142e402], 0x9f
add eax, 0x1f338c7c
push cs
int3
Function at 0x6616b30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x6616b62
jl 0x6616b55
test ecx, ecx
jne 0x6616b62
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x6616c22
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.06618540
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x6616bce
jg 0x6616b8d
test esi, esi
je 0x6616bce
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x6616ba5
mov eax, dword [esp + 0x10]
jl 0x6616b9f
cmp eax, esi
jae 0x6616ba5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.06646180
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x6616bef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x6616c0b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x6616b74
jl 0x6616c0b
test ecx, ecx
jne 0x6616b74
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x6616c66
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x6616c66
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.06646180
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x6616cd7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x6616c8c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x6616cc2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0664b022
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x6616cd7
cmp edi, eax
ja 0x6616ca0
test edi, edi
je 0x6616cd7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0664b022
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6618a30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6668f40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x667c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x14], ecx
lea ebx, [ecx + 0x24]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea edi, [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 8
mov dword [eax], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.06644aa8
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0662ca5e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x34], esi
call fcn.06618b90
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
lea esi, [eax + 4]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x1c], ecx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [0x667ec38]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x667ec34]
mov dword [ebx], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret