joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.0040c2f0
mov eax, dword [0x59c024]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x54]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x14], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x5250a5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x48], eax
test esi, esi
jne 0x525035
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.005248f0
mov ebx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x524fd0
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x52508c
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0040c19b
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040c19b
add esp, 0x2c
ret
Function at 0x52f620
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.0040c2f0
mov eax, dword [0x59c024]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [ecx]
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x52f729
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
lea esi, [edx + 2]
lea edi, [ebx + 3]
sub ebx, edx
nop dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.0052f9e0
movzx ecx, byte [edi - 3]
lea edi, [edi + 8]
movzx eax, byte [esp + 0x28]
lea esi, [esi + 8]
xor ecx, eax
add esp, 0xc
movzx eax, byte [esp + 0x1d]
mov byte [esi - 0xa], cl
mov byte [esp + 0x14], cl
movzx ecx, byte [edi - 0xa]
xor ecx, eax
movzx eax, byte [esp + 0x1e]
mov byte [esi - 9], cl
mov byte [esp + 0x15], cl
movzx ecx, byte [esi + ebx - 8]
xor ecx, eax
movzx eax, byte [esp + 0x1f]
mov byte [esi - 8], cl
mov byte [esp + 0x16], cl
movzx ecx, byte [edi - 8]
xor ecx, eax
movzx eax, byte [esp + 0x20]
mov byte [esi - 7], cl
mov byte [esp + 0x17], cl
movzx ecx, byte [edi - 7]
xor ecx, eax
movzx eax, byte [esp + 0x21]
mov byte [esi - 6], cl
mov byte [esp + 0x18], cl
movzx ecx, byte [edi - 6]
xor ecx, eax
movzx eax, byte [esp + 0x22]
mov byte [esi - 5], cl
mov byte [esp + 0x19], cl
movzx ecx, byte [edi - 5]
xor ecx, eax
movzx eax, byte [esp + 0x23]
mov byte [esi - 4], cl
mov byte [esp + 0x1a], cl
movzx ecx, byte [edi - 4]
xor ecx, eax
mov byte [esi - 3], cl
mov byte [esp + 0x1b], cl
sub ebp, 1
jne 0x52f670
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop ebp
xor ecx, esp
call fcn.0040c19b
add esp, 0x18
ret
Function at 0x5319f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.0040c2f0
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
je 0x531ae5
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
cmp edx, 0x20
jb 0x531abe
push ebp
lea eax, [ebx - 1]
lea ebp, [esi - 1]
add eax, edx
add ebp, edx
cmp esi, eax
ja 0x531a37
cmp ebp, ebx
jae 0x531abd
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x531a44
cmp ebp, edi
jae 0x531abd
mov eax, edx
lea ebp, [esi + 0x10]
mov edx, edi
and eax, 0xffffffe0
sub edx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov eax, ebx
mov edx, esi
sub edx, ebx
mov dword [esp + 0x14], edx
mov edx, edi
mov edi, dword [esp + 0x14]
sub edx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
nop word [eax + eax]
movups xmm0, xmmword [eax]
add ecx, 0x20
lea eax, [eax + 0x20]
lea ebp, [ebp + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [edi + eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ebp - 0x20]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [ebp - 0x20], xmm1
cmp ecx, dword [esp + 0x1c]
jb 0x531a80
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
pop ebp
cmp ecx, edx
jae 0x531ae2
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
nop dword [eax + eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x531ad0
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40cdc9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40cdd3
repz ret
jmp fcn.004135f9

Function at 0x413b3e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104a0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413bef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ca0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ca0
push eax
call fcn.0041042e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041042e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041042e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041042e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413bef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041042e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c47
cmp dword [0x423e2c], ebx
je 0x413c47
push eax
call fcn.004104a9
push dword [0x423e2c]
mov esi, eax
call fcn.004104a9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c47
test edi, edi
je 0x413c47
call esi
test eax, eax
je 0x413c3e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c3e
test byte [ebp - 0xc], 1
jne 0x413c47
or dword [ebp + 0x10], 0x200000
jmp 0x413c80
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413c80
push eax
call fcn.004104a9
pop ecx
test eax, eax
je 0x413c80
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413c80
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413c80
push eax
call fcn.004104a9
pop ecx
test eax, eax
je 0x413c80
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104a9
pop ecx
test eax, eax
je 0x413ca0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ca2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405c83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4345c0
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x405caf
push edi
call esi
cmp eax, 0xffffffff
jne 0x405cf1
test ebx, ebx
je 0x405cee
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
push dword [ebp - 0x18]
je 0x405ce8
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
pop ecx
mov eax, esi
jmp 0x405cf1
call fcn.00401abd
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406306
Capabilities:
Get disk information

Disassembly:
mov eax, 0x434664
call fcn.004339e0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041c900
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4063d4
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406342
mov eax, ebx
add eax, eax
push eax
call fcn.004066d0
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4063cd
cmp ebx, dword [ebp - 0x14]
ja 0x4063cd
lea ecx, [ebp - 0x2c]
call fcn.004028e9
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x4063b5
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4063aa
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.004066d0
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406380
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401abd
push esi
call fcn.00401abd
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4063d6
push esi
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4066d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4066df
pop dword [ebp - 0x3c]
mov eax, 0xb23cf96c
add eax, 0x4e036d73
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3d3aa
push 0
mov eax, 0x5103da5f
sub eax, 0x50c05a2f
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x65dffe54
add ecx, 0x9a2053f5
mov edi, eax
mov edx, 0x30313ca4
sub edx, 0x2fec76a4
add edx, dword [ebp - 0x3c]
mov esi, 0x89f9e3f2
add dword [ebp - 0xc], ebx
mov ebx, dword [edx]
sub dword [ebp - 0x14], ecx
xor ebx, esi
sub dword [ebp - 8], 0xc83c2a5c
mov dword [edi], ebx
add dword [ebp - 0x24], edi
add edi, 4
add edx, 0xe5f6418
add edx, 0xf1a09bec
loop 0x406738
add eax, 0xcc2e9a02
sub eax, 0xcc2d5e0b
mov ebx, eax
add eax, 0xe0ea2f70
sub eax, 0xe0ea2f6b
mov ecx, 0xf131c574
sub ecx, 0xf0f1c574
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10020c07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10020c16
pop dword [ebp - 0xc]
mov eax, 0x10020c16
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x7f51d3f5
sub dword [ebp - 0x1c], 0x30ff8eaa
mov dword [ebp - 0x18], 0xd860847c
add dword [ebp - 0x18], 0x59d2c7c9
mov dword [ebp - 0x14], 0x97df76d0
sub dword [ebp - 0x14], 0x4b9332a2
mov dword [ebp - 0x10], 0xa3748f05
sub dword [ebp - 0x10], 0xa3748f05
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x2db5de62
add eax, 0xe24d132a
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xa5b5d55c
sub dword [ebp - 0x1c], 0x31436c06
mov dword [ebp - 0x18], 0x79fc8df
add dword [ebp - 0x18], 0x39cc9896
mov dword [ebp - 0x14], 0x98631e78
sub dword [ebp - 0x14], 0x34f3b20c
mov dword [ebp - 0x10], 0xef4777c5
sub dword [ebp - 0x10], 0xef4777c5
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xed03610
add eax, 0x132badc
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x432e7
push 0
call eax
mov ecx, 0x42ac
xor ebx, ebx
add ebx, eax
mov esi, 0x10046400
add esi, dword [ebp - 0xc]
mov edx, 0x3d54848e
add dword [ebp - 4], 0x61a4804
mov edi, dword [esi]
sub dword [ebp - 8], ebx
sub edi, edx
xor dword [ebp - 8], 0xa80aa259
mov dword [ebx], edi
add dword [ebp - 8], edx
add ebx, 0x8ee4c03b
sub ebx, 0x8ee4c037
add esi, 0xb81f9dd4
sub esi, 0xb81f9dd0
loop 0x10020d23
add eax, 0xe1f1fe40
add eax, 0x1e0eff43
xor ebx, ebx
add ebx, eax
add eax, 0x597233c
sub eax, 0x5972337
mov ecx, 0xa3d912ed
sub ecx, 0x93d912ed
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4179b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4179c3
pop dword [ebp - 0x28]
mov eax, 0xef00a24
sub eax, 0xeae9061
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x408c5
push 0
mov eax, 0xdfc880d1
add eax, 0x2079d147
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x5329
mov ebx, eax
mov edx, 0x62bfcc95
sub edx, 0x627c7895
add edx, dword [ebp - 0x28]
mov edi, 0x63afcd9b
xor dword [ebp - 0x24], 0xefcc0fff
mov esi, dword [edx]
xor dword [ebp - 8], 0xac541e85
sub esi, edi
add dword [ebp - 8], edx
mov dword [ebx], esi
add dword [ebp - 0x18], esi
add ebx, 0xe14c6aec
sub ebx, 0xe14c6ae8
add edx, 0xa9b0d44
sub edx, 0xa9b0d40
loop 0x417a16
add eax, 0xead0f4d6
sub eax, 0xeacfb55f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10008ec9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10008ed8
pop dword [ebp - 0x2c]
mov eax, 0x10008ed8
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xd083c591
sub dword [ebp - 0x3c], 0x82318046
mov dword [ebp - 0x38], 0x45803ce
add dword [ebp - 0x38], 0x2ddb4877
mov dword [ebp - 0x34], 0x36345e05
sub dword [ebp - 0x34], 0xe9e819d7
mov dword [ebp - 0x30], 0x236f8ac9
sub dword [ebp - 0x30], 0x236f8ac9
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x767bdc5f
add eax, 0x9984e3c5
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xa0f0a07e
add dword [ebp - 0x3c], 0xd381c8d8
mov dword [ebp - 0x38], 0x9db2c2b
sub dword [ebp - 0x38], 0xc86ecab6
mov dword [ebp - 0x34], 0x13a8b263
add dword [ebp - 0x34], 0x4fc6ba09
mov dword [ebp - 0x30], 0xbd5238cb
add dword [ebp - 0x30], 0x42adc735
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x384d4
push 0
call eax
mov ecx, 0x4947
xor ebx, ebx
add ebx, eax
mov esi, 0x10047400
add esi, dword [ebp - 0x2c]
mov edi, 0x879bf11a
sub edi, 0x50bcf2ed
xor dword [ebp - 0x1c], 0xa322caf9
mov edx, dword [esi]
add dword [ebp - 0x24], esi
add edx, edi
add dword [ebp - 0x28], 0xc738ff81
mov dword [ebx], edx
sub dword [ebp - 0x10], 0x2eaa1615
add ebx, 0xf8303240
add ebx, 0x7cfcdc4
add esi, 4
loop 0x10008fe6
add eax, 0x117ef
xor ebx, ebx
add ebx, eax
add eax, 0xe9434b4a
sub eax, 0xe9434b45
mov ecx, 0x938def7
add ecx, 0x6c72109
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x7afe50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1fa000]
mov dword [edi + 0x2cd47c], 0x460d0c35
push edi
jmp 0x7afe7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7afe81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afe70
mov eax, 1
add ebx, ebx
jne 0x7afe93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7afea4
jne 0x7afec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afec3
dec eax
add ebx, ebx
jne 0x7afeb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7afe88
add ebx, ebx
jne 0x7afebf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7aff15
xor ecx, ecx
sub eax, 3
jb 0x7afedb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7aff4a
sar eax, 1
mov ebp, eax
jmp 0x7afee6
add ebx, ebx
jne 0x7afee6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afeb4
inc ecx
add ebx, ebx
jne 0x7afef4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7afeb4
add ebx, ebx
jne 0x7aff01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7afef6
jne 0x7aff12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7afef6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7aff34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7aff26
jmp 0x7afe76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7aff34
add edi, ecx
jmp 0x7afe76
pop esi
mov edi, esi
mov ecx, 0xef8e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7aff52
cmp byte [edi], 0x26
jne 0x7aff52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7aff57
lea edi, [esi + 0x39e000]
mov eax, dword [edi]
or eax, eax
je 0x7affcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3cd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3cd1d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7aff84
mov ecx, edi
jns 0x7affb3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3cd1dc]
or eax, eax
je 0x7affc9
mov dword [ebx], eax
add ebx, 4
jmp 0x7affa1
call dword [esi + 0x3cd1d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7b0000
cmp al, 0xef
ja 0x7afff3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7affd5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7affe2
mov ebp, dword [esi + 0x3cd1e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x26f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7b0034
sub esp, 0xffffff80
jmp 0x5c9f5a