joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52af10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1a4], 0
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.0052d2d0
add esp, 4
mov dword [ebp - 0x1a8], 0
lea ecx, [ebp - 0x1a0]
call fcn.00404d60
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x1b0]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x1b0]
cmp dword [eax + 0x38], 0
je 0x52afbe
push 0x57cce0
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x1b0]
xor eax, eax
cmp dword [edx + 0x3c], 0
setne al
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1ac], ecx
lea ecx, [ebp - 0x1a0]
call fcn.00404d70
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret

Function at 0x52dea6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x5a9520], 0
push esi
jne 0x52de14
call fcn.0052dd28
test eax, eax
je 0x52de57
mov eax, dword [0x5a9520]
cmp eax, 1
jne 0x52de35
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x52de57
pop esi
ret
push eax
call dword [0x5a9528]
test eax, eax
jne 0x52de9f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x52de5b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x5a9520]
call dword [0x5a9528]
mov edi, eax
test edi, edi
je 0x52de80
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x52de9c
mov edi, esi
add esi, 0xff0
push edi
push dword [0x5a9520]
call dword [0x5a9524]
add edi, 0x10
cmp edi, esi
jb 0x52de88
mov eax, edi
pop edi
pop esi
ret
jmp 0x52de01

Function at 0x5308cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a53f4]
jne 0x5308d5
repz ret
jmp fcn.0053f117
Function at 0x557060
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.0053e77e
and dword [ebp - 4], 0
cmp dword [0x5aa358], 0
mov ebx, eax
jne 0x557111
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5571c2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5571c2
push eax
call fcn.0053e70c
mov dword [esp], 0x580420
push edi
mov dword [0x5aa358], eax
call esi
push eax
call fcn.0053e70c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5aa35c], eax
call esi
push eax
call fcn.0053e70c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5aa360], eax
call esi
push eax
call fcn.0053e70c
pop ecx
mov dword [0x5aa368], eax
test eax, eax
je 0x557111
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0053e70c
pop ecx
mov dword [0x5aa364], eax
mov eax, dword [0x5aa364]
cmp eax, ebx
je 0x557169
cmp dword [0x5aa368], ebx
je 0x557169
push eax
call fcn.0053e787
push dword [0x5aa368]
mov esi, eax
call fcn.0053e787
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x557169
test edi, edi
je 0x557169
call esi
test eax, eax
je 0x557160
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x557160
test byte [ebp - 0xc], 1
jne 0x557169
or dword [ebp + 0x10], 0x200000
jmp 0x5571a2
mov eax, dword [0x5aa35c]
cmp eax, ebx
je 0x5571a2
push eax
call fcn.0053e787
pop ecx
test eax, eax
je 0x5571a2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5571a2
mov eax, dword [0x5aa360]
cmp eax, ebx
je 0x5571a2
push eax
call fcn.0053e787
pop ecx
test eax, eax
je 0x5571a2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5aa358]
call fcn.0053e787
pop ecx
test eax, eax
je 0x5571c2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5571c4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x561ce0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.005308e0
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x561e4b
cmp dword [esp + 0x2c20], edi
je 0x561e4b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00514b00
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x561e24
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00534b20
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x561e17
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00534b20
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.005638b0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00561600
test eax, eax
jne 0x561e17
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x561e2e
inc ebx
cmp ebx, 0x10
jl 0x561d30
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.005308cb
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.005308cb
add esp, 0x2c14
ret
Function at 0x562130
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x562331
cmp dword [esp + 0x2f8], 0
je 0x562331
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00534b20
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x580738
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5622f8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x5622eb
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5622b9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5622ae
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00534b20
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00562020
add esp, 0x14
test eax, eax
je 0x5622ae
cmp byte [esp + 0x24], 0
je 0x562272
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x5622ae
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x5622a1
mov cl, byte [esi + eax]
test cl, cl
je 0x5622a1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x562286
jmp 0x5622a5
test edx, edx
jne 0x5622a6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x5621d0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x562331
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00561600
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.005308cb
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.005308cb
add esp, 0x2ec
ret
Function at 0x5625a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x56271d
cmp ebp, 0x20
jb 0x56271d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00534b20
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x5807a8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x56271d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x562630
sub eax, edx
cmp eax, 0x40
jne 0x56271d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x56266e
mov cl, byte [esi + eax]
test cl, cl
je 0x56266e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x562656
jmp 0x562672
test edx, edx
jne 0x562673
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x5626ab
mov cl, byte [edx + eax]
test cl, cl
je 0x5626ab
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x562690
jmp 0x5626af
test esi, esi
jne 0x5626b0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00534b20
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00561760
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x56271d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00561600
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.005308cb
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.005308cb
add esp, 0x50c
ret

Function at 0x562740
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.00534b20
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00561760
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x5627ab
mov cl, byte [esi + eax]
test cl, cl
je 0x5627ab
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x562790
jmp 0x5627af
test edx, edx
jne 0x5627b0
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00561670
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5627d6
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x5807a8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.005308cb
add esp, 0x188
ret
Function at 0x42ff70
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.0042ff19
test eax, eax
je 0x4300c9
lea ecx, [esp + 0x18]
call fcn.0042ff19
lea ecx, [esp + 0x18]
test eax, eax
je 0x430038
call fcn.0042ff19
test eax, eax
je 0x42fffa
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.0042ff19
lea edi, [eax + edi*2]
dec ebx
jne 0x42ffd0
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x42fff1
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x42fff4
mov byte [edx], 0
inc edx
jmp 0x4300db
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x430030
test ecx, ecx
je 0x4300c4
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x430022
jmp 0x4300c0
xor ebp, ebp
inc ebp
jmp 0x4300c4
call fcn.0042ff4f
test edi, edi
jne 0x43006d
cmp eax, 2
jne 0x430068
lea ecx, [esp + 0x18]
call fcn.0042ff4f
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x4300c4
mov ecx, edx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x43005d
jmp 0x4300c0
sub eax, 3
jmp 0x430070
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.0042ff4f
mov ecx, eax
cmp esi, 0x7d00
jb 0x430097
inc ecx
cmp esi, 0x500
jb 0x4300a0
inc ecx
cmp esi, 0x80
jae 0x4300ab
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x4300c4
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x4300b7
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x4300e1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x42ffa0
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430266
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x430298
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x430279
jmp 0x43029c
mov eax, dword [esp + 0x10]
test edi, edi
je 0x4302a6
xor byte [esi], al
inc esi
dec edi
jne 0x4302a0
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x43034b
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
sub esp, 0x820
push ebx
push ebp
push esi
push edi
xor eax, eax
mov word [esp + 0x30], ax
push 0x400
xor edi, edi
lea eax, [esp + 0x34]
push eax
mov ebp, edi
mov ebx, edi
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x30]
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4303eb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x14], ebp
call fcn.004305d6
mov ebx, eax
push edi
lea eax, [esp + 0x30]
push eax
push ebp
push ebx
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4303d1
cmp dword [esp + 0x2c], ebp
je 0x4303e4
mov ecx, ebx
call fcn.004305c6
mov ebx, edi
mov dword [esp + 0x10], ebx
mov ebp, edi
mov dword [esp + 0x14], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.004301b9
mov esi, dword [esp + 0x18]
push 0x40
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x50]
mov dword [esp + 0x2c], eax
add eax, 0x14
push 0x3000
add eax, ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x430542
push 0x40
mov edx, esi
mov ecx, edi
jmp section..htext
mov ecx, esi
call fcn.004305c6
mov ecx, ebx
call fcn.004305c6
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x820
ret
Function at 0x300115e9
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
call fcn.3001158f
test al, al
jne 0x30011646
push esi
push edi
mov ecx, ebx
call fcn.3001164b
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.3001164b
lea esi, [eax + edi + 1]
push esi
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.30012deb
push dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebx + 8]
sub esi, edi
push esi
lea eax, [eax + edi*2]
push eax
call fcn.30012d4c
test eax, eax
jne 0x3001608b
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x30028a2a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, 0xc6
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.30028640
push eax
push esi
push dword [ebp + 8]
call fcn.300285f5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
jecxz 0x30028af7
mov byte [ebp - 0x1c], 0x2b
call fcn.30028640
push eax
push esi
push dword [ebp + 8]
call fcn.300285f5
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.30028630
jo 0x30028a8b
mov ecx, dword ds:[eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.30028630
ror dword [0x858d6204], cl
jl 0x30028b1b
invalid
invalid
Function at 0x6e8024c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x6e802684
pushal
mov esi, 0x6e7f6015
lea edi, [esi - 0x35015]
push edi
or ebp, 0xffffffff
jmp 0x6e8024ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6e8024f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e8024e0
mov eax, 1
add ebx, ebx
jne 0x6e802503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6e8024f8
jne 0x6e802514
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6e8024f8
xor ecx, ecx
sub eax, 3
jb 0x6e802528
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6e80259a
mov ebp, eax
add ebx, ebx
jne 0x6e802533
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6e802540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6e802564
inc ecx
add ebx, ebx
jne 0x6e802550
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6e802545
jne 0x6e802561
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6e802545
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6e802584
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6e802575
jmp 0x6e8024e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6e802584
add edi, ecx
jmp 0x6e8024e6
pop esi
mov edi, esi
mov ecx, 0x95
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6e8025a2
cmp byte [edi], 0
jne 0x6e8025a2
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 0x6e8025a7
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x6e802616
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x505a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5066c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6e8025d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x50670]
or eax, eax
je 0x6e802610
mov dword [ebx], eax
add ebx, 4
jmp 0x6e8025f1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6e802647
cmp al, 0xef
ja 0x6e80263a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6e80261c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6e802629
mov ebp, dword [esi + 0x50674]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x6e80267b
sub esp, 0xffffff80
jmp 0x6e7c36c0
Function at 0x41d600
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x41d622
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d618
mov eax, 1
add ebx, ebx
jne 0x41d63b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d630
jne 0x41d64c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d630
xor ecx, ecx
sub eax, 3
jb 0x41d660
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d6d2
mov ebp, eax
add ebx, ebx
jne 0x41d66b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d678
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d69c
inc ecx
add ebx, ebx
jne 0x41d688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d67d
jne 0x41d699
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d67d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d6bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d6ad
jmp 0x41d61e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d6bc
add edi, ecx
jmp 0x41d61e
pop esi
mov edi, esi
mov ecx, 0x979
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d6da
cmp byte [edi], 1
jne 0x41d6da
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 eax, ebx
loop 0x41d6df
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41d757
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1dc60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1dd14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d70c
mov ecx, edi
jns 0x41d73b
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 + 0x1dd18]
or eax, eax
je 0x41d751
mov dword [ebx], eax
add ebx, 4
jmp 0x41d729
call dword [esi + 0x1dd1c]
popal
jmp 0x4028d1