joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4469e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446a18]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4469f9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446a08
or bl, 4
test esi, 0x20000000
je 0x446a13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44d0dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d0ee
add esp, 0xfffffff0
call fcn.00403960
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419eb0
mov eax, dword [0x4595cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d480
mov eax, dword [0x4595d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d48c
mov eax, ebx
call fcn.0044d498
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411f10]
call fcn.00403610
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411f10]
call fcn.00403610
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411f10]
call fcn.00403610
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411f10]
call fcn.00403610
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411f10]
call fcn.00403610
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4498b0
push eax
push 0
push 0
mov eax, dword [0x459778]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b8d8]
call fcn.0041cd40
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b8d8]
call fcn.0041cd40
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b8d8]
call fcn.0041cd40
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d8e8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d7b0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d7b0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d7b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d22b
call fcn.004039b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d594
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d73f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d720
mov dl, 1
mov eax, dword [0x41232c]
call fcn.00403610
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043b4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d70f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043b4ac
test al, al
je 0x44d702
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44d750
lea eax, [ebp - 0x254]
call fcn.004091bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d702
xor eax, eax
push ebp
push 0x44d6fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44d788
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d6e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404624
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44d6e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d702
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d605
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415f18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d746
lea eax, [ebp - 0x260]
call fcn.004043b4
ret

Function at 0x44e088
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45ab44]
cmp byte [eax + 0xa5], 0
jne 0x44e0f9
cmp dword [0x45ab5c], 0
jne 0x44e0ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44e044
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ab5c], eax
cmp dword [0x45ab58], 0
jne 0x44e0d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ab58], eax
cmp dword [0x45ab60], 0
jne 0x44e0f9
push esp
push 0
push 0
push 0x44dfe8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45ab60], eax
pop edx
ret
Function at 0x44e78c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45ab44]
cmp dword [eax + 0x30], 0
je 0x44e836
cmp dword [ebx + 0x94], 0
jne 0x44e830
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e71c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e830
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 0x44e7f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e830
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.00414314
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e805
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f394
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 0x44f3c9
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.004044a4
jmp 0x44f3d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404408
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450578
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4505b9
mov eax, esi
call fcn.00436a88
test al, al
je 0x4505b9
mov eax, dword [ebx + 0x84]
call fcn.00436784
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4505b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436784
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456cb8
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404864
xor eax, eax
push ebp
push 0x456d7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x10000
call fcn.00402a28
mov ebx, eax
push 0
push 0
push 0
push 0
push 0x456d8c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404874
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x3e8
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x10], 0
je 0x456d47
mov edx, ebx
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
cmp dword [ebp - 0x10], 0
jne 0x456d22
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, ebx
call fcn.00402a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d83
lea eax, [ebp - 4]
call fcn.004043b4
ret
Function at 0x4017f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x406068]
test esi, esi
jle 0x401910
mov eax, dword [0x40606c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401824
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4018a7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401810
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401937
mov eax, dword [0x40606c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x40606c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401917
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4018a0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x4018b0
add dword [0x406068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40606c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4018a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40182e
mov eax, dword [0x40606c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop

Function at 0x401e50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40607c]
sub esp, 4
test ebx, ebx
je 0x401ea5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401e9e
test esi, esi
je 0x401e9e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e80
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4020d0
Capabilities:
Parse pe header
Terminate process

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_exit]
Function at 0x44d94b
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x44d997
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x44d97c
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x44d98c
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x44d9a7
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x44d9e6
test ebx, ebx
je 0x44d9bb
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x44d9b0
cmp ecx, 0xfff1
jb 0x44d9c9
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x44dad1
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x44da0b
Function at 0x46ca9b
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
sub dword [esp + 0x7c94c925], esp
insb byte es:[edi], dx
dec ecx
test eax, 0x8634c4a1
cmpsd dword [esi], dword es:[edi]
stc
invalid
dec ebp
lds ebx, [ebx]
or eax, 0x8c6505a
pop edx
push eax
invalid
or byte [0xe7f828b5], ch
xchg esp, eax
in al, 0xca
retf 0x6ddf
pop edx
enter 0xffffffffffffc854, 0x67
jnp 0x46ca3c
mov dword [ebp + 0x3a50a579], esi
das
lds esp, [esi - 0x39]
add al, 0xda
inc esi
or ah, ah
adc eax, 0x34b800e8
test eax, 0xca55bea4
push ecx
xchg ebp, eax
lcall 0xf489, 0x5bc48046
js 0x46cace
outsb dx, byte [esi]
stosb byte es:[edi], al
mov cl, pe_nt_image_headers32
push esp
sub byte [ebx + 0xaa43aed], 0xb1
sbb al, 0x14
mov dword [esi - 0x50], edi
cmp ah, byte [edx + ecx - 0x76ebe34f]
jle 0x46ca87
and ecx, dword [ecx + 0x1755b6c1]
and ah, byte [edx + 0x6ca7d879]
adc byte [ecx + 7], cl
pop es
cmpsd dword [esi], dword es:[edi]
xor ebp, ecx
inc eax
sub dh, bh
mov edx, 0x9e6eee04
sub dword [esi], esp
lodsd eax, dword [esi]
and eax, 0x8b6fc589
xlatb
out dx, al
mov dword [edi + ecx*4 + 0x7f], edi
mov edx, 0xc694583b
push esi
or eax, 0xfa26d0b5
mov ch, 0x99
add al, ch
clc
add eax, 0x2ae1ffa8
loopne 0x46cae5
pop ss
dec ecx
fsubr dword [0xf87989ed]
sbb byte [esi + 0x5b], ch
push edi
movsd dword es:[edi], dword [esi]
cmpsb byte [esi], byte es:[edi]
rcr dword [ecx], 1
ror byte [ecx + 0x186aea84], 0xb4
cli
jge 0x46cb4b
mov al, byte [0x84baf6f7]
jp 0x46cb86
pushal
dec ecx
ret 0x9880
inc edi
mov ebp, 0xdec6ae7b
fdivr st(0), st(0)
xchg ecx, eax
and ecx, dword [ecx]
cmp byte [edi + 0x73], ah
invalid
pushal
cmp eax, 0x7770cdc2
sbb eax, eax
imul esp, dword [ebx + 0x5864b040], 0xa3267024
inc edx
wait

Function at 0x49813b
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x498187
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x49816c
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x49817c
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x498197
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4981d6
test ebx, ebx
je 0x4981ab
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4981a0
cmp ecx, 0xfff1
jb 0x4981b9
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4982c1
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4981fb
Function at 0x4e299b
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e29e7
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e29cc
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e29dc
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e29f7
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e2a36
test ebx, ebx
je 0x4e2a0b
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e2a00
cmp ecx, 0xfff1
jb 0x4e2a19
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e2b21
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2a5b
Function at 0x501aeb
Capabilities:
Encode data using xor

Disassembly:
xor ecx, dword [edx - 0x69]
xchg edi, eax
xchg ebx, eax
fcomp dword [edx - 0x7d]
adc ch, ch
mov edi, 0x2d053b2a
dec ecx
call 0xa85059a8
fist dword [edi - 0x15]
rcl dl, cl
pop eax
fidiv word [ebx + 0x14]
pop edx
inc eax
jp 0x501ae9
xor ebx, dword fs:[ebx]
sub al, 0xbd
mov cl, 0xd
fcom st(3)
adc ecx, edx
inc ebp
mov bh, 0xbc
pop ss
ficom word [0xdfa4388b]
adc edx, edx
retf 0x3b17
Function at 0x58e85b
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x418eb775
cli
out 0xe5, eax
jl 0x58e8d0
push esi
jne 0x58e8b6
or byte [edx + edi - 0x5c], cl
cli
inc edx
out 0xd, eax
dec esp
inc ebx
xchg esi, eax
lcall 0xc9b7, 0xbab923ae
arpl word [edx], di
xchg ecx, eax
add al, 0x93
dec esi
mov ebx, 0x41f77317
invalid
push es
xchg ecx, eax
xor ebx, edx
std
cmp bl, byte [edx + 1]
adc al, 0xf5
and dword [ecx + eax*4], edx
xchg dword [eax + 0x3b783ac3], edx
adc eax, dword [ebx + 0x66]
add byte [0xfa0417c3], 0x14
cmc
mov bl, 0xd7
add ebp, dword [edi + 0x3593e67c]
lcall 0x7640, 0xb667b1
out 0x93, al
xor eax, 0xb667b19a
add byte [eax + 0x76], al
pop edx
add al, 0xae
or dword [edi], 0x29ae1492
jl 0x58e893
sub edi, dword [ecx - 0x73]
sbb eax, 0x4d0906a6
or byte [edi + ebp - 0x1b], ch
sbb eax, 0x52a9cf21
push edx
push es
or dword [ebp + 8], ecx
insb byte es:[edi], dx
das
in eax, 0x1d
and edi, ecx
test eax, 0x4634b252
push edx
mov dl, 0x34
inc esi
mov dl, 0x34
inc esi
lodsd eax, dword [esi]
push ebx
or bh, byte [edi + edx*8]
mov edi, 0x1724879e
sal dword [edi], 0x7a
jbe 0x58e91d
cld
neg edi
call 0x34847319
jmp 0x4ee48691
add al, 0xb7
pop esi
inc edi
xor eax, 0x80877dc2
and dword [edx], edx
aas
in al, 0x4d
aad 0x47
js 0x58e928
test eax, 0x21ff3a5
mov ebp, dword [esi]
aas
imul dx, word [ebx], 0xf7b1
lodsd eax, dword [esi]
mov dl, 0x5b
enter 0xfffffffffffff3a5, 0x1f
add cl, byte [ebx + 0x69663f2e]
adc esi, dword [ecx + 0x5bb2adf7]
stosb byte es:[edi], al
xor esp, dword [eax + esi - 0x979999e]
lodsd eax, dword [esi]
salc
enter 0xfffffffffffff078, 0xffffffffffffffb1
lodsb al, byte [esi]
jns 0x58e9a7
into
or eax, 0xe250e7aa
mov bh, 0xd0
test byte [edx + 0x5490e677], dh
mov dword [0xd572574f], eax
enter 0xffffffffffffb71f, 0x17
push edx
xor ah, byte [edi]
lcall 0x4979, 0xcc014046
xor edi, dword [edi - 0x33c4d970]
jg 0x58e930
wait
add eax, 0x61503aa7
pop eax
inc esi
invalid
mov al, byte [0xc0f1de28]
shl dword [edx], 0x3c
movsb byte es:[edi], byte [esi]
pop edi
sti
ficomp word [ecx]
lcall 0xef5c, 0xf923531
inc eax
fsub qword [edx + 5]
mov ah, 0x2b
inc edx
dec esp
push es
pushfd
push es
aaa
mul edi
out 0x51, al
mov dword [eax - 0x36fa1ab], 0xc30d8522
fmul qword [ecx]
fadd qword [ebx]
adc ebp, dword [ecx - 0x448928ee]
nop
sahf
or al, byte [ebx + 0x60]
ret 0x133f
Function at 0x5d9f8b
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x7c
adc al, 0x3a
inc ebx
adc ah, bh
add ah, byte [edi + 0x5d661732]
invalid

Function at 0x5e2e4b
Capabilities:
Encode data using xor

Disassembly:
inc edi
std
mov ecx, ebp
xchg dword [esi + 0x62], ebx
sub bh, bh
das
invalid
Function at 0x65917c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x664480
cmp edx, dword [eax]
je 0x65919e
add eax, 8
inc ecx
cmp eax, 0x664510
jl 0x65918f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x664480]
jne 0x6592cc
mov eax, dword [0xa67cf0]
cmp eax, 1
je 0x6592a6
test eax, eax
jne 0x6591cf
cmp dword [0x6622c4], 1
je 0x6592a6
cmp edx, 0xfc
je 0x6592cc
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659206
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0065a2e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a3d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659249
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a3d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65dd64
push edi
call fcn.0065ad90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0065a2e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a2f0
lea eax, [ebp - 0xa0]
push 0x65dd44
push eax
call fcn.0065a2f0
push dword [esi + 0x664484]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a2f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065ad02
add esp, 0x2c
pop edi
jmp 0x6592cc
lea eax, [ebp + 8]
lea esi, [esi + 0x664484]
push 0
push eax
push dword [esi]
call fcn.0065a3d0
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 0x4125c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443691
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x453ac0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x20
push edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x124], edi
mov dword [ebp - 4], 0
call fcn.0041fdd2
push 8
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.0041f4b9
cmp eax, 8
jne 0x412660
cmp dword [ebp - 0x12c], 0x4e33325a
jne 0x412660
lea ecx, [ebp - 0x13c]
call fcn.004127d0
cmp dword [ebp - 0x128], eax
jne 0x412660
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0
call fcn.0041f8b8
mov al, 1
jmp 0x4126ff
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0
call fcn.0041f8b8
jmp 0x412688
push edi
lea ecx, [ebp - 0x120]
push 0x104
push ecx
call fcn.00425ddd
add esp, 0xc
push str..bak
lea edx, [ebp - 0x120]
push 0x104
push edx
call fcn.00425e42
add esp, 0xc
push 0x20
lea eax, [ebp - 0x120]
mov ebx, 3
push eax
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], ebx
call fcn.0041fdd2
push 8
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.0041f4b9
cmp eax, 8
lea ecx, [ebp - 0x13c]
je 0x41271b
mov byte [ebp - 4], bl
call fcn.0041f8b8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424c71
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x12c], 0x4e33325a
jne 0x4126f5
call fcn.004127d0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x128], eax
lea ecx, [ebp - 0x13c]
jne 0x4126f8
call fcn.0041f8b8
push 0
push edi
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x412659
lea ecx, [ebp - 0x124]
call fcn.00402220
mov dword [ebp - 4], 6
mov eax, dword [0x458af8]
mov esi, dword [eax*4 + 0x454fec]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea ecx, [ebp - 0x124]
push esi
push ecx
call fcn.00412ad0
mov edx, dword [ebp - 0x124]
add esp, 0x10
push 0
push 0
push edx
call fcn.0041cd65
lea ecx, [ebp - 0x124]
call fcn.00402280
jmp 0x4126fd