joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484238
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x484240
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x484432
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x484448
mov eax, esi
call fcn.00481fb4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004048f4
lea ecx, [ebp - 0x10]
mov edx, 0x48445c
mov eax, esi
call fcn.00481fb4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004048f4
lea ecx, [ebp - 0x14]
mov edx, 0x484474
mov eax, esi
call fcn.00481fb4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004048f4
lea ecx, [ebp - 0x18]
mov edx, 0x484490
mov eax, esi
call fcn.00481fb4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004048f4
lea ecx, [ebp - 0x1c]
mov edx, 0x4844ac
mov eax, esi
call fcn.00481fb4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004048f4
lea ecx, [ebp - 0x24]
mov edx, 0x4844c4
mov eax, esi
call fcn.00481fb4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408c7c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409180
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4844dc
mov eax, esi
call fcn.00481fb4
mov eax, dword [ebp - 0x28]
call fcn.00478848
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4844ec
mov eax, esi
call fcn.00481fb4
mov eax, dword [ebp - 0x2c]
call fcn.00478848
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x484504
mov eax, esi
call fcn.00481fb4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409180
inc eax
je 0x4843d5
lea ecx, [ebp - 0x34]
mov edx, 0x484504
mov eax, esi
call fcn.00481fb4
mov eax, dword [ebp - 0x34]
call fcn.00409144
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a850
fstp qword [ebp - 0x3c]
wait
call fcn.0040abb4
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4843f0
lea ecx, [ebp - 0x40]
mov edx, 0x484504
mov eax, esi
call fcn.00481fb4
mov eax, dword [ebp - 0x40]
call fcn.00478848
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x484514
mov eax, esi
call fcn.00481fb4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004048f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484439
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004048c4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004048c4
ret
Function at 0x48fac8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48fb22
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048fab8
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004772d4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00476ed4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fb29
lea eax, [ebp - 4]
call fcn.004048a0
ret

Function at 0x493b10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x493b99
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b683c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x493b83
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c100
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x493bb0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4b4188]
mov dl, 1
mov eax, dword [0x493314]
call fcn.0040ca30
call fcn.0040421c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493ba0
lea eax, [ebp - 0x1c]
call fcn.004048a0
ret

Function at 0x494240
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00494164
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c8c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4942a4
call fcn.00493a58
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x494296
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c8c
pop esi
pop ebx
ret

Function at 0x4942c8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404d60
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0040312c
test ebx, ebx
je 0x494313
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x4943f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x494421
mov ecx, dword [0x4b3fec]
mov dl, 1
mov eax, dword [0x493314]
call fcn.0040c9f4
call fcn.0040421c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x49444e
mov ecx, dword [0x4b3f28]
mov dl, 1
mov eax, dword [0x493314]
call fcn.0040c9f4
call fcn.0040421c
xor eax, eax
push ebp
push 0x4944ca
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c8c
cmp byte [ebp + 8], 0
je 0x4944a6
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00494358
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00494240
jmp 0x4944c0
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00493d44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4944e7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4946ac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00494000
xor eax, eax
push ebp
push 0x49481d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x494807
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4946f7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x494701
call fcn.004042c8
jmp 0x494824
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041be8c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x4947fc
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4947af
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x49479c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00494664
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x494830]
cmp dl, byte [eax + 0x28]
je 0x494803
call fcn.0040c90c
jmp 0x494803
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041beac
jmp 0x494803
cmp ecx, ebx
jge 0x4947cb
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041beac
jmp 0x494701
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041be8c
cmp edx, dword [esp + 4]
jne 0x4947eb
cmp eax, dword [esp]
pop edx
pop eax
jne 0x494701
push ebp
call fcn.00494664
pop ecx
jmp 0x494803
push ebp
call fcn.00494664
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494824
mov eax, dword [ebp - 4]
call fcn.0049400c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494834
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x494956
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00494000
xor eax, eax
push ebp
push 0x494939
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x494884
call fcn.004042c8
jmp 0x494940
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x494923
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x494923
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x494923
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c100
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x494970
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b4188]
mov dl, 1
mov eax, dword [0x493314]
call fcn.0040ca30
call fcn.0040421c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494940
mov eax, dword [ebp - 4]
call fcn.0049400c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49495d
lea eax, [ebp - 0x28]
call fcn.004048a0
ret
Function at 0x4949bc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x494b06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00494000
xor eax, eax
push ebp
push 0x494ae9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x494a21
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x494a21
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x494ad3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x494a34
call fcn.004042c8
jmp 0x494af0
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x494ad3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x494ad3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x494ad3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c100
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x494b20
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b4188]
mov dl, 1
mov eax, dword [0x493314]
call fcn.0040ca30
call fcn.0040421c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494af0
mov eax, dword [ebp - 4]
call fcn.0049400c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494b0d
lea eax, [ebp - 0x28]
call fcn.004048a0
ret
Function at 0x4ad3f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x4ad40d
mov eax, dword [0x4b4074]
mov eax, dword [eax]
call fcn.004549ec
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp esi, eax
ja 0x4ad401
pop esi
pop ebx
ret

Function at 0x4ad4e8
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffff54
lea eax, [esp + 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4ad59b
mov dword [esp + 8], 0x94
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4ad59b
mov eax, dword [esp + 0x18]
dec eax
je 0x4ad58f
dec eax
jne 0x4ad59b
lea eax, [esp + 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 0xa0]
push eax
push 0x4ad5a4
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x4ad581
mov dword [esp + 0xa8], 2
mov dword [esp + 0x9c], 1
push esp
push 0
push 0
lea eax, [esp + 0xa8]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0xffff
push 2
call sub.user32.dll_ExitWindowsEx
jmp 0x4ad59b
push 0xffff
push 2
call sub.user32.dll_ExitWindowsEx
add esp, 0xac
ret
Function at 0x421455
Capabilities:
Encode data using xor

Disassembly:
invalid
mov ch, 0x70
cld
add dx, sp
sub al, 0x4a
dec edx
push esi
and eax, 0x7ade5b4b
inc ecx
or eax, 0x1b7f7ad0
fidivr word [eax + ebp*4 + 0x21]
jl 0x421416
test al, 0x21
and dword [ebx], esi
in eax, 0xd0
fdiv qword cs:[ecx + edx*8]
xor esp, ebp
shr byte [esi], 1
fdiv qword [ecx + edx*8]
push es
jae 0x42145d
adc byte [ebx + 0x7c], dh
rcl byte [ebx + 0xd]
inc ebx
ficom dword [eax]
pop es
lodsb al, byte [esi]
xchg dword [esi - 0x59], ecx
ja 0x42146d
pop ecx
pop eax
jns 0x4214c1
invalid
test al, 0xca
je 0x42146c
std
stosb byte es:[edi], al
pop ecx
in al, 0xfe
xor eax, 0x97283edd
fdivr st(5)
test al, 0x50
xchg ebp, eax
adc eax, 0xc470f639
fbld tbyte [ebp + 0x6c5b960b]
je 0x42148a
or dword [edx], 0x72
in eax, dx
rol dword [edx], cl
add al, 0x59
mov word [eax], ss
push edx
and byte [edi + 0x6c], al
dec eax
push ebp
shr esp, 0x14
xor ebp, dword [edi - 0x1f]
invalid
Function at 0x46bc85
Capabilities:
Encode data using xor

Disassembly:
jg 0x46bc7c
xor dl, byte [edi - 0x3b]
pop ss
call 0x3105d6e9
wait
push ss
sbb al, 0xcf
mov eax, 0xa2d9f17
repz ret 0xec4f
jmp 0xf7a5c8f
pop ebp
xor eax, 0xe354850
loopne 0x46bc35
mov bl, bl
leave
adc al, 0xe2
xor dword [ecx + 0x40558666], ebx
sub eax, dword [esi + 0x2075b8]
dec ebx
xor dl, byte [edi + 0x3ae891a0]
sub dword [ecx + 0x72a8e8f9], 0x47
je 0x46bc8f
dec esi
cmp byte [esi], dl
mov al, 0x3d
aas
push ebx
aam 0x60
mov cl, 0xdd
mov word [eax], fs
int3
Function at 0x4e2675
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 0x4e26c1
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e26a6
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e26b6
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 0x4e26d1
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e2710
test ebx, ebx
je 0x4e26e5
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e26da
cmp ecx, 0xfff1
jb 0x4e26f3
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 0x4e27fb
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2735
Function at 0x5017b5
Capabilities:
Authenticate hmac

Disassembly:
dec edx
mov cl, 0xe7
rol dword fs:[0x83744006], cl
invalid
cmp esp, eax
jae 0x50173e
lds ebp, [ebx + 0x55bc8877]
les ebp, [eax + 0x47cf9766]
lea esp, [esi + ecx*8 + 0x3c45c442]
into
inc edx
les eax, [ebp + 0x3c]
mov dl, 0xcf
push ecx
xchg dword [ecx], esp
push es
jmp 0x5e4324eb
and eax, 0x27a7b905
and esi, dword [eax - 0x7caf0a39]
xchg edi, eax
inc eax
invalid
invalid
invalid
Function at 0x6577bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3c8
cmp edx, dword [eax]
je 0x6577df
add eax, 8
inc ecx
cmp eax, 0x65f458
jl 0x6577d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3c8]
jne 0x65790d
mov eax, dword [0xa64d38]
cmp eax, 1
je 0x6578e7
test eax, eax
jne 0x657810
cmp dword [0x65f2f4], 1
je 0x6578e7
cmp edx, 0xfc
je 0x65790d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657847
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006581a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658630
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65788a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658630
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c96c
push edi
call fcn.0065a500
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006581a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006581b0
lea eax, [ebp - 0xa0]
push 0x65c94c
push eax
call fcn.006581b0
push dword [esi + 0x65f3cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.006581b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a474
add esp, 0x2c
pop edi
jmp 0x65790d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3cc]
push 0
push eax
push dword [esi]
call fcn.00658630
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 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x41430b
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x439058
call fcn.004167d4
mov edi, 0x94
mov eax, edi
call fcn.00414b20
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x44f718], ecx
mov eax, dword [esi + 4]
mov dword [0x44f724], eax
mov edx, dword [esi + 8]
mov dword [0x44f728], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x44f71c], esi
cmp ecx, 2
je 0x41436b
or esi, 0x8000
mov dword [0x44f71c], esi
shl eax, 8
add eax, edx
mov dword [0x44f720], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4143a6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4143a6
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4143be
cmp eax, 0x20b
je 0x4143ab
mov dword [ebp - 0x1c], esi
jmp 0x4143d2
cmp dword [ecx + 0x84], 0xe
jbe 0x4143a6
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4143cc
cmp dword [ecx + 0x74], 0xe
jbe 0x4143a6
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00418264
pop ecx
test eax, eax
jne 0x4143e6
push 0x1c
call fcn.004142e7
pop ecx
call fcn.0041815b
test eax, eax
jne 0x4143f7
push 0x10
call fcn.004142e7
pop ecx
call fcn.00417ef5
mov dword [ebp - 4], esi
call fcn.00417cf7
test eax, eax
jge 0x414410
push 0x1b
call fcn.004142c2
pop ecx
call fcn.00417c58
mov dword [0x451110], eax
call fcn.00417aee
mov dword [0x44f70c], eax
call fcn.00417a58
test eax, eax
jge 0x414435
push 8
call fcn.004142c2
pop ecx
call fcn.00417825
test eax, eax
jge 0x414446
xor eax, dword [eax]
add byte [ebp + 0x6a087dc0], al
call 0x12c4eb8
push 0xffffffffffffffe8
je 0x41444c
jmp 0x414444
cmp al, 0xe9
je 0x41444c
inc ebx
dec ecx
jmp 0x414437
mov eax, dword [esi]
jmp 0x414450
cmp byte [esi], 1
jne 0x414448
and al, 0
rol eax, 0x18
sub eax, ebx
mov dword [esi], eax
add ebx, 5
add esi, 4
adc eax, sym.imp.KERNEL32.dll_GetStartupInfoW
call fcn.004177df
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x41447d
movzx eax, word [ebp - 0x40]
jmp 0x414480
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004235f1
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x41449e
push edi
call fcn.00415407
call fcn.00415429
jmp 0x4144d0
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0041680f
ret