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

Disassembly:
add byte [eax], al
add byte [eax], al
pushfd
xor byte [eax], al
add dword [eax + 0x1010011], esp
add byte [eax], al
add byte [edx + 0x53], dl
push edx
push ebx

Function at 0x40775a
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x407776
jmp loc.0040d6df
pop esi
pop ebp
ret 0xc

Function at 0x4077a5
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp loc.0040c6c2

Function at 0x40784b
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100309c]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
jmp loc.0040c772

Function at 0x4078e9
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [ebp + 8], esi
jle 0x407952
mov eax, dword [ebp + 0xc]
push dword [eax + esi*4]
call dword [0x100107c]
pop ecx
jmp loc.0040ec47
cmp dword [0x10039dc], 0
jne 0x407962
mov byte [0x10039da], 1
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x408116
Capabilities:
Packed with generic packer

Disassembly:
cmp ecx, dword [0x100309c]
jne 0x408127
test ecx, 0xffff0000
jne 0x408127
ret
jmp loc.0040f8e5

Function at 0x40c7dc
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
xor al, 0
pop edi
push ebx
dec edi
pop edi
dec edi
aas
popal
popfd
add byte [eax], al
add byte [edi], 0
jmp loc.004011c2

Function at 0x40dc6b
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4050c8
push 0x40204c
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
pop ecx
test eax, eax
add esp, 0x14
leave
popal
popfd
call dword [fcn.004011e0]
jmp fcn.00403f01

Function at 0x40efbf
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
mov eax, dword [0x407da7]
shl eax, 2
push edi
push ecx
xor eax, eax
mov edi, 0x40de08
mov ecx, 0x41105c
cmp ecx, edi
add esp, 8
leave
popal
popfd
and byte [ecx + 0x6e], ch
and byte [edi + ecx*2 + 0x53], al
jmp loc.00407220
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7d2504cd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x23dc7353
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x67421db2
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..tls
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7c001248
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40a700
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4263d4]
jne 0x40a70a
repz ret
jmp fcn.004108fc

Function at 0x4165ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4263d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d59f
and dword [ebp - 0x14], 0
cmp dword [0x44908c], 0
mov dword [ebp - 0x18], eax
jne 0x41665f
push 0x403804
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416707
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037f8
push ebx
call edi
test eax, eax
je 0x416707
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037e8
push ebx
mov dword [0x44908c], eax
call edi
push eax
call esi
push 0x4037d4
push ebx
mov dword [0x449090], eax
call edi
push eax
call esi
push 0x4037b8
push ebx
mov dword [0x449094], eax
call edi
push eax
call esi
mov dword [0x44909c], eax
test eax, eax
je 0x41665f
push 0x4037a0
push ebx
call edi
push eax
call esi
mov dword [0x449098], eax
mov eax, dword [0x449098]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4166b8
cmp dword [0x44909c], ecx
je 0x4166b8
push eax
call esi
push dword [0x44909c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4166b8
test ebx, ebx
je 0x4166b8
call edi
test eax, eax
je 0x4166af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4166af
test byte [ebp - 8], 1
jne 0x4166b8
or dword [ebp + 0x10], 0x200000
jmp 0x4166eb
mov eax, dword [0x449090]
cmp eax, dword [ebp - 0x18]
je 0x4166eb
push eax
call esi
test eax, eax
je 0x4166eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4166eb
mov eax, dword [0x449094]
cmp eax, dword [ebp - 0x18]
je 0x4166eb
push eax
call esi
test eax, eax
je 0x4166eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44908c]
call esi
test eax, eax
je 0x416707
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416709
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a700
leave
ret
Function at 0x41e8d0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041da70
cmp dword [0x7e9e10], 0x37
jne 0x41e961
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x404410
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404430
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7e9e14]
mov edx, dword [0x7e6280]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0xf349f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf34a02
pushal
call 0xf34a08
pop ebp
sub ebp, 0x10
sub ebp, 0xb349f8
jmp 0xf34a1e
mov eax, 0xb349f8
add eax, ebp
add eax, 0x4c
mov ecx, 0x596
mov edx, 0x524f6dd3
xor byte [eax], dl
inc eax
dec ecx
jne 0xf34a35
jmp 0xf34a48
pop eax
push ds
pop eax
pop edx
out dx, eax
rcl ebx, cl
rcl dword [edx + 0x12], cl
sub edx, ebx
rcl ebx, cl
rcr byte [esi], 1
imul ebx, edx, 0xffffffd3
rcl ebx, cl
imul edi, ebx, 0x24d3d3d3
xor eax, edx
sbb ebx, dword [eax + 0x52]
invalid

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x404e30
Capabilities:
Get disk information

Disassembly:
sub esp, 0x83c
mov eax, dword [esp + 0x840]
mov edx, dword [eax]
push ebx
push ebp
mov ebp, dword [0x43d768]
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x43d76c]
xor ebx, ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0x9e3779b9
call fcn.00404e00
mov ecx, dword [0x43d770]
mov eax, dword [0x43d774]
add dword [esp + 0x14], 0x23f
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x20
jmp 0x404ea4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], 2
add dword [esp + 0x1c], 3
mov eax, dword [0x6fd7f4]
mov ecx, edx
shl ecx, 4
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
cmp eax, 0xfa9
jne 0x404ed6
mov dword [0x6fd7f0], 0xedeb2e40
jmp 0x404ee3
cmp eax, 0x3eb
jne 0x404ee3
mov dword [0x6fa6f8], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
mov dword [0x6fd7ec], 0xf4ea3dee
mov dword [esp + 0x24], edx
call fcn.00404e10
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov esi, dword [esp + 0x24]
xor esi, dword [esp + 0x10]
cmp dword [0x6fd7f4], 0x213
jne 0x404f76
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
lea edx, [esp + 0x4c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
sub edi, esi
mov eax, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edi
call fcn.00404df0
add dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
nop
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
cmp dword [0x6fd7f4], 0x121
jne 0x404fcb
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
mov ecx, dword [esp + 0x10]
xor ecx, esi
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
call fcn.00404e20
mov eax, dword [esp + 0x30]
sub dword [esp + 0x14], eax
sub dword [esp + 0x2c], 1
jne 0x404ea0
mov eax, dword [esp + 0x850]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x83c
ret 4
Function at 0x405010
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x203c
call fcn.00416910
mov eax, dword [0x6fd7f4]
mov ecx, dword [0x6fa6fc]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40519b
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x6fd7f4], 0x959
jne 0x405181
push 0
push 0
call edi
push 0
lea eax, [esp + 0x4c]
push eax
push 0x40370c
call ebx
lea ecx, [esp + 0x28]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x84c]
push eax
push 0x403738
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x144c]
push edx
push 0
push 0x403744
push 0x403760
push 0x40379c
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
lea ecx, [esp + 0xc50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea edx, [esp + 0x184c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0x4037b4
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push 0
push 0x4037bc
push 0x4037e8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0
push 0
call esi
mov eax, dword [esp + 0x14]
push eax
call fcn.00404e30
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x405054
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x203c
ret
Function at 0x40913d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c208]
jne 0x409147
repz ret
jmp fcn.00410f5c

Function at 0x414b51
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.0040e608
and dword [ebp - 4], 0
cmp dword [0x43fa30], 0
mov ebx, eax
jne 0x414c02
push 0x402dd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414cb3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402dc4
push edi
call esi
test eax, eax
je 0x414cb3
push eax
call fcn.0040e596
mov dword [esp], 0x402db4
push edi
mov dword [0x43fa30], eax
call esi
push eax
call fcn.0040e596
mov dword [esp], 0x402da0
push edi
mov dword [0x43fa34], eax
call esi
push eax
call fcn.0040e596
mov dword [esp], 0x402d84
push edi
mov dword [0x43fa38], eax
call esi
push eax
call fcn.0040e596
pop ecx
mov dword [0x43fa40], eax
test eax, eax
je 0x414c02
push 0x402d6c
push edi
call esi
push eax
call fcn.0040e596
pop ecx
mov dword [0x43fa3c], eax
mov eax, dword [0x43fa3c]
cmp eax, ebx
je 0x414c5a
cmp dword [0x43fa40], ebx
je 0x414c5a
push eax
call fcn.0040e611
push dword [0x43fa40]
mov esi, eax
call fcn.0040e611
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414c5a
test edi, edi
je 0x414c5a
call esi
test eax, eax
je 0x414c51
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414c51
test byte [ebp - 0xc], 1
jne 0x414c5a
or dword [ebp + 0x10], 0x200000
jmp 0x414c93
mov eax, dword [0x43fa34]
cmp eax, ebx
je 0x414c93
push eax
call fcn.0040e611
pop ecx
test eax, eax
je 0x414c93
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414c93
mov eax, dword [0x43fa38]
cmp eax, ebx
je 0x414c93
push eax
call fcn.0040e611
pop ecx
test eax, eax
je 0x414c93
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43fa30]
call fcn.0040e611
pop ecx
test eax, eax
je 0x414cb3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414cb5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x570cf0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0xca0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xca01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xca007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xca006a
add dl, dl
jne 0xca0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xca00dc
xor eax, eax
add dl, dl
jne 0xca0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xca017d
add dl, dl
jne 0xca00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xca00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xca0075
mov eax, 1
add dl, dl
jne 0xca00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xca00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xca00e1
sub eax, ebx
mov ebx, 1
jne 0xca0128
mov ecx, 1
add dl, dl
jne 0xca010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xca0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xca0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xca0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xca013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xca014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xca0136
cmp eax, 0x7d00
jae 0xca016d
cmp eax, 0x500
jb 0xca0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xca0075
cmp eax, 0x7f
ja 0xca0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xca0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xca019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xca0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x10904a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10bceb6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.10904640
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, 1
mov dword [esp + 0x20], 1
jle 0x10904a6c
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 4], 0x5c
je 0x10904a6c
push 0x10c10924
mov ecx, esi
call fcn.10904930
mov edx, dword [esp + 0x30]
push edx
mov ecx, esi
call fcn.10904930
push eax
mov ecx, edi
call fcn.10904640
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x20], 0
call fcn.109048b0
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x10905e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10bceb38
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
mov dword [esi + 4], 0x10c0dc2c
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
push edi
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push edx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], edi
mov dword [esi], fcn.10968f20
mov dword [esi + 4], 0x10c0e720
call fcn.109046c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], eax
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0xc

Function at 0x10906140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10bceb38
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
mov dword [esi + 4], 0x10c0dc2c
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov ecx, 1
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
lea edx, [esi + 0x3c]
push edx
mov dword [esp + 0x10], eax
mov dword [esi], fcn.10968f20
mov dword [esi + 4], 0x10c0e2e0
call fcn.10906260
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8