joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov ecx, dword [ecx]
xor edx, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x401a4f
mov eax, dword [ebp - 0x14]
push 0x4097d0
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x40198a
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x24], 0x36
call fcn.0040271a
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x401984
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 4
push 0x1000
mov eax, dword [ebx + 0xc]
push esi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x401a33
ret
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x28], 0x43
call fcn.0040271a
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x4019c7
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov eax, dword [eax]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov cx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edx]
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jge 0x401bd7
mov eax, dword [edi + 0x24]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401b07
lea edx, [ebp - 0x24]
push 0x4097d0
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4b
call fcn.0040271a
mov eax, dword [ebp - 0x14]
push 0x4000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0x401bbe
ret
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov ecx, dword [edx*4 + 0x527030]
mov dword [ebp - 0x1c], ecx
je 0x401b26
mov eax, ecx
or ah, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x401b81
lea edx, [ebp - 0x28]
push 0x4097d0
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call fcn.0040271a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x401b67
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x401b7c
ret
test al, al
jns 0x401b76
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov eax, 0x401b7c
ret
jbe 0x401bbe
lea ecx, [ebp - 0x2c]
push 0x4097d0
push ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call fcn.0040271a
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x401bbe
ret
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], ecx
add edi, 0x28
jmp 0x401a97
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov al, 0x4f
lea ecx, [esp + 4]
mov byte [esp + 5], al
mov byte [esp + 0xd], al
lea eax, [esp]
mov byte [esp + 4], 0x53
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
mov byte [esp + 0x1a], 0x46
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1d], 0x41
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x20], 0x5c
mov byte [esp + 0x22], 0x44
mov byte [esp + 0x23], 0x42
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4022f3
call fcn.00402210
call fcn.00402220
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x41f0a0
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0041f11f
jae 0x41f0ac
xor ecx, ecx
call fcn.0041f11f
jae 0x41f0d6
xor eax, eax
call fcn.0041f11f
jae 0x41f0e7
mov al, 0x10
call fcn.0041f11f
adc al, al
jae 0x41f0c8
jne 0x41f114
stosb byte es:[edi], al
jmp 0x41f0ad
call fcn.0041f12b
dec ecx
loop 0x41f0f3
mov eax, ebp
call fcn.0041f129
jmp 0x41f115
lodsb al, byte [esi]
shr eax, 1
je 0x41f13b
adc ecx, 2
mov ebp, eax
jmp 0x41f115
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0041f129
cmp eax, 0x7d00
jae 0x41f113
cmp eax, 0x500
jae 0x41f114
cmp eax, 0x7f
ja 0x41f115
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41f0ad
pop ebp
ret 8
Function at 0x100012b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 8]
mov byte [edx + eax - 2], 0
push 0x100040dc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
call entry0
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esp, ebp
pop ebp
ret
Function at 0x10001b30
Capabilities:
Contain obfuscated stackstrings
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push 0x74e3bb2e
call fcn.10001220
add esp, 4
mov dword [ebp - 0x14c], eax
push 0x3749ca10
call fcn.10001220
add esp, 4
mov dword [ebp - 4], eax
push 0x49f43cb7
call fcn.10001220
add esp, 4
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x18], 0x23ec5044
mov dword [ebp - 0x14], 0x33af2093
push 0
push 2
call dword [ebp - 0x14c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 4]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x140]
push eax
call fcn.10001a00
add esp, 8
test eax, eax
je 0x10001c24
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call fcn.10001a00
add esp, 8
test eax, eax
je 0x10001c24
lea eax, [ebp - 0x124]
push eax
push str.PubwinClient.exe
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10001c24
mov dword [0x10006110], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x154]
push edx
push 0x10001af0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x10006110], 0xa
jbe 0x10001c20
mov eax, 1
jmp 0x10001c86
xor eax, eax
jmp 0x10001c86
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 0x150]
test eax, eax
jne 0x10001ba2
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x66
mov byte [ebp - 8], 0x66
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10001c84
mov eax, 1
jmp 0x10001c86
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100023d0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x42
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x62
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 0xd], 0x50
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x76
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x67
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0
push 0x7a45fbd8
call fcn.10001220
add esp, 4
mov dword [ebp - 0x20], eax
push 0x486274a4
call fcn.10001220
add esp, 4
mov dword [ebp - 0x18], eax
push 0x672f331f
call fcn.10001220
add esp, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1f0001
call dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10002471
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
call dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x10002476
push 0
call dword [ebp - 0x28]
push 0
push 0
push 0
push 0x100021f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x100023a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x10003010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5330a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdc000]
push edi
jmp 0x5330ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5330c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5330b0
mov eax, 1
add ebx, ebx
jne 0x5330d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5330e4
jne 0x533103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x533103
dec eax
add ebx, ebx
jne 0x5330f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5330c8
add ebx, ebx
jne 0x5330ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x533155
xor ecx, ecx
sub eax, 3
jb 0x53311b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53318a
sar eax, 1
mov ebp, eax
jmp 0x533126
add ebx, ebx
jne 0x533126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5330f4
inc ecx
add ebx, ebx
jne 0x533134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5330f4
add ebx, ebx
jne 0x533141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x533136
jne 0x533152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x533136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x533174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x533166
jmp 0x5330b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x533174
add edi, ecx
jmp 0x5330b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x533192
cmp byte [edi], 0x11
jne 0x533192
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 0x533197
lea edi, [esi + 0x12c000]
mov eax, dword [edi]
or eax, eax
je 0x53320f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18d4d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18d650]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5331c4
mov ecx, edi
jns 0x5331f3
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 + 0x18d654]
or eax, eax
je 0x533209
mov dword [ebx], eax
add ebx, 4
jmp 0x5331e1
call dword [esi + 0x18d664]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x533240
cmp al, 0xef
ja 0x533233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x533215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x533222
mov ebp, dword [esi + 0x18d658]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x533274
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x402400
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0040d390
add esp, 0xc
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
je 0x4024e6
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
lea edi, [ebp - 0x224]
xor al, al
mov ecx, 0x208
rep stosb byte es:[edi], al
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x2c]
shr ecx, 1
add ecx, 1
cmp ecx, 0x103
jbe 0x40247e
mov dword [ebp - 0x10], 0x103
jmp 0x40248d
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x2c]
shr eax, 1
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, eax
call fcn.00402e00
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 0x63716c6b
jne 0x4024d9
cmp dword [ebp - 0x18], 0xbcfd
jne 0x4024d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
jmp 0x4024e8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x402440
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x402e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x402e21
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi]
xor dl, dl
movzx esi, word [edi]
mov cl, 0x46
mov byte [esp + 0x17], al
mov al, 0x9e
mov byte [esp + 0x24], 0xbf
mov bl, 0xa9
test si, si
je 0x402ec5
mov ecx, 0xa99ebf46
mov dword [esp + 0x1c], 0xa44fdb7a
mov eax, esi
mov ebp, ecx
mov edx, 0xa44fdb7a
mov dword [esp + 0x18], eax
nop word [eax + eax]
xor esi, esi
movzx eax, ax
and ecx, 0x1ffffff
lea edi, [edi + 2]
shld esi, ecx, 7
shrd ebp, edx, 0x19
shl ecx, 7
shr edx, 0x19
or ecx, ebp
or esi, edx
cdq
xor ecx, eax
xor edx, esi
mov ebx, ecx
mov eax, edx
shrd ebx, eax, 0x18
mov eax, edx
mov esi, ecx
shrd esi, eax, 0x10
mov eax, edx
mov ebp, ecx
mov dword [esp + 0x28], esi
mov esi, ecx
shrd esi, eax, 8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x16], al
movzx eax, word [edi]
mov dword [esp + 0x24], esi
mov esi, eax
mov dword [esp + 0x18], esi
test ax, ax
jne 0x402e60
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x16]
mov dh, byte [esp + 0x17]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x28], dh
mov byte [esp + 0x29], dl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2b], cl
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2d], bl
mov edx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x402f1f
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [edi]
xor bh, bh
mov byte [esp + 0xf], bl
mov cl, 0x46
mov byte [esp + 0x10], 0xbf
mov al, 0xa9
mov byte [esp + 0x14], 0x9e
test bl, bl
je 0x402fab
mov ecx, 0xa99ebf46
mov dword [esp + 0x24], 0xa44fdb7a
mov eax, ecx
mov edx, 0xa44fdb7a
nop dword [eax]
xor esi, esi
lea edi, [edi + 1]
shrd eax, edx, 0x19
and ecx, 0x1ffffff
mov bh, bl
shld esi, ecx, 7
shr edx, 0x19
or esi, edx
shl ecx, 7
or ecx, eax
movsx eax, bl
mov bl, byte [edi]
cdq
xor ecx, eax
xor edx, esi
mov eax, edx
mov esi, ecx
shrd esi, eax, 0x18
mov eax, edx
mov dword [esp + 0x18], esi
mov esi, ecx
shrd esi, eax, 0x10
mov eax, edx
mov dword [esp + 0x14], esi
mov esi, ecx
shrd esi, eax, 8
mov eax, ecx
mov dword [esp + 0x10], esi
test bl, bl
jne 0x402f50
mov bl, byte [esp + 0xf]
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov byte [esp + 0x1a], cl
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1b], cl
mov ecx, dword [esp + 0x14]
pop edi
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bh
mov byte [esp + 0x19], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov edx, 0x75
push edi
push 0x536d
push 0x670f576c
lea ecx, [edx - 0x74]
call fcn.00402800
mov ebp, dword [esp + 0x34]
add esp, 8
push ebp
call eax
xor ecx, ecx
mov edx, 2
lea esi, [eax + 0x32]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b190
add esp, 4
lea ecx, [esi + esi]
mov ebx, eax
mov edx, 0x82
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push 0x5288
push 0x2c8f576c
mov ecx, 1
call fcn.00402800
add esp, 8
push ebp
push ebx
call eax
mov byte [esp + 0x11], 0x2c
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x13], 0x1e
mov byte [esp + 0x14], 0x73
mov byte [esp + 0x15], 0x7d
mov byte [esp + 0x16], 0x73
mov byte [esp + 0x17], 0x54
mov byte [esp + 0x18], 0x73
mov byte [esp + 0x19], 0x67
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0x34
mov byte [esp + 0x1c], 0x73
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 0x73
mov byte [esp + 0x1f], 0x14
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], 0x21
mov byte [esp + 0x22], 0x73
mov byte [esp + 0x23], 0x4a
mov byte [esp + 0x24], 0x73
mov byte [esp + 0x25], 0x73
mov byte [esp + 0x26], 0x73
mov al, byte [esp + 0x11]
mov byte [esp + 0x27], 0
cmp byte [esp + 0x27], 0
jne 0x40501b
xor esi, esi
lea edi, [esi + 0x7f]
mov al, byte [esp + esi + 0x11]
mov ecx, 0x73
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 3
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x11], dl
inc esi
cmp esi, 0x16
jb 0x404ff4
mov edx, 0x22
push 0x528c
push 0x6a0f576c
lea ecx, [edx - 0x21]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x11]
push ecx
push ebx
call eax
mov edx, 0x7a
push 0x360b
push 0x1644574d
lea ecx, [edx - 0x79]
call fcn.00402800
add esp, 8
push ebx
push ebp
call eax
test eax, eax
jne 0x40507b
push 0x360b
push 0x1644574d
lea edx, [eax + 0x7a]
lea ecx, [eax + 1]
call fcn.00402800
add esp, 8
push ebx
push ebp
call eax
push ebx
call fcn.0040b1b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x405f50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
nop dword [eax]
mov eax, dword [0x455ee4]
test eax, eax
jne 0x405f9d
push 0xc8
call fcn.0040b190
add esp, 4
test eax, eax
je 0x405f96
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x405f98
xor eax, eax
mov dword [0x455ee4], eax
test byte [eax + 0x10], 1
je 0x405faf
cmp dword [ebp + 0x98], 1
sete cl
jmp 0x405fb1
mov cl, 1
mov eax, dword [eax + 0x10]
shr eax, 1
test al, 1
je 0x405fc6
cmp dword [ebp + 0x9c], 2
sete al
jmp 0x405fc8
mov al, 1
test cl, cl
je 0x405fd0
test al, al
jne 0x405ff3
mov edx, 0x78
push 0x7366
push 0x89057053
lea ecx, [edx - 0x77]
call fcn.00402800
add esp, 8
push 0xa
call eax
jmp 0x405f60
xor eax, eax
mov ecx, dword [eax + 0x413638]
cmp ecx, 0xffffffff
je 0x406008
test ecx, ecx
jne 0x40609a
add eax, 0x110
cmp eax, 0x42680
jl 0x405ff5
mov esi, dword [0x455c80]
mov eax, dword [0x455c84]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x40605b
nop dword [eax]
push 0
push dword [esi]
call edi
mov edx, 0x78
push 0x7366
push 0x89057053
lea ecx, [edx - 0x77]
call fcn.00402800
add esp, 8
push 0xa
call eax
add esi, 4
cmp esi, ebx
jne 0x406030
push 0
push dword [ebp + 0x20]
call edi
push 0
push dword [ebp + 0x24]
call edi
push 0
push dword [ebp + 0x28]
call edi
mov esi, dword [ebp + 0x1c]
mov edx, 0x24
push 0x8dd1
push 0x75ee6543
lea ecx, [edx - 0x23]
call fcn.00402800
add esp, 8
push esi
call eax
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x78
push 0x7366
push 0x89057053
lea ecx, [edx - 0x77]
call fcn.00402800
add esp, 8
push 0x64
call eax
jmp 0x405ff3
Function at 0x40ab70
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x455ee0]
push ebp
mov ebp, ecx
test eax, eax
jne 0x40abde
push edi
push 0x427
call fcn.0040b190
mov edi, eax
add esp, 4
mov dword [0x455ee0], edi
test edi, edi
jne 0x40ab9b
pop edi
pop ebp
pop ecx
ret
push ebx
push esi
mov ebx, 0x40e0f0
mov dword [esp + 0x10], 0x31
xor esi, esi
sub ebx, edi
nop
mov eax, esi
lea ecx, [edi + esi]
xor edx, edx
inc esi
div dword [esp + 0x10]
mov al, byte [edx + 0x40e0b0]
xor al, byte [ebx + ecx]
mov byte [ecx], al
cmp esi, 0x427
jb 0x40abb0
pop esi
pop ebx
mov eax, edi
mov dword [ebp + 0xc4], 0x427
pop edi
pop ebp
pop ecx
ret
Function at 0xabe996
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00abea15
jae 0xabe9a2
xor ecx, ecx
call fcn.00abea15
jae 0xabe9cc
xor eax, eax
call fcn.00abea15
jae 0xabe9dd
mov al, 0x10
call fcn.00abea15
adc al, al
jae 0xabe9be
jne 0xabea0a
stosb byte es:[edi], al
jmp 0xabe9a3
call fcn.00abea21
dec ecx
loop 0xabe9e9
mov eax, ebp
call fcn.00abea1f
jmp 0xabea0b
lodsb al, byte [esi]
shr eax, 1
je 0xabea31
adc ecx, 2
mov ebp, eax
jmp 0xabea0b
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00abea1f
cmp eax, 0x7d00
jae 0xabea09
cmp eax, 0x500
jae 0xabea0a
cmp eax, 0x7f
ja 0xabea0b
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xabe9a3
pop ebp
ret 8