joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424d80
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, edx
push edi
mov edi, eax
test esi, esi
je 0x424e8b
test edi, edi
jle 0x424e8b
cmp edi, 3
jl 0x424e25
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx*4]
sub eax, edx
neg eax
add edi, eax
push ebx
jmp 0x424dc0
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edx, 1
jne 0x424dc0
pop ebx
test edi, edi
jle 0x424e83
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
inc ecx
shl al, 4
cmp edi, 1
jle 0x424e4d
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
cmp edi, 2
jge 0x424e6e
mov al, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], al
inc ecx
pop edi
mov byte [ecx], 0
mov al, 1
pop esi
ret
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
pop edi
mov byte [ecx], 0
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x426330
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x488e39
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
call fcn.0043a8f1
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42637d
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x24], edi
push edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x42641b
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x4263d5
push 0x104
mov ecx, esi
call fcn.00401f90
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp eax, edi
jne 0x4263f0
xor eax, eax
jmp 0x4263fe
push ecx
push eax
call fcn.00457ec4
add esp, 8
cmp eax, edi
jl 0x42642f
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42642f
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
push 0x80070057
call fcn.004010b0
int3

Function at 0x426550
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4ada80]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4265a2
cmp dword [esp + 4], 5
jbe 0x4265a2
cmp dword [esp + 8], 4
jae 0x4265a2
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00457b41
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.00457b41
add esp, 0x118
ret
Function at 0x426630
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4890e8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x426674
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.004023a0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
setne cl
mov esi, ecx
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00457ec4
add esp, 8
test eax, eax
jl 0x4266eb
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x4266eb
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4266d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret
push 0x80070057
call fcn.004010b0
int3
Function at 0x426700
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x489b08
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 1
push 0
push 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x6c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x42682c
lea ecx, [esp + 0xc]
push 0x26
push ecx
call fcn.00426330
push str.Internet_Exploreriexplore.exe
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x6c], 1
call fcn.00405790
add esp, 0x14
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426793
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00426630
add esp, 4
test eax, eax
je 0x426807
push 0x3c
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0045c9f0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x24], 0x494af0
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [esp + 0x58], 0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42682c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x54
ret

Function at 0x426970
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x42697d
xor al, al
pop edi
ret
cmp dword [eax + 4], 0
je 0x426979
push esi
lea ecx, [eax + 0xc]
push ecx
push 4
push eax
push 0x426870
push 0
push 0
call fcn.00459984
mov edx, dword [edi]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
add esp, 0x18
cmp dword [eax + 0x10], 0
jne 0x4269d2
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x4269c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], esi
pop esi
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
xor al, al
pop edi
ret
mov byte [eax + 8], 1
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4269f4
mov esi, dword [edi]
call fcn.00426900
mov edx, dword [edi]
mov byte [edx + 8], 0
pop esi
mov al, 1
pop edi
ret
Function at 0x42ad60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x489a48
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x42adca
cmp dword [edi + 0x18], eax
je 0x42adca
push ebx
push eax
call fcn.004022d0
test al, al
je 0x42adca
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x42adc3
mov eax, dword [edi + 4]
jmp 0x42adc6
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
mov dword [esp + 0x18], ecx
cmp esi, ecx
je 0x42afab
jmp 0x42ade6
mov ecx, dword [esp + 0x18]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x20], al
cmp al, 0x22
je 0x42afab
cmp al, 0x5c
jne 0x42aee7
cmp esi, ecx
je 0x42af03
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x8c], esi
cmp eax, 0x53
ja case.0x42ae27.35
movzx eax, byte [eax + 0x42afec]
jmp dword [eax*4 + 0x42afc4]
push 0x22
jmp 0x42aeec
push 0x2f
jmp 0x42aeec
push 0x5c
jmp 0x42aeec
push 8
jmp 0x42aeec
push 0xc
jmp 0x42aeec
push 0xa
jmp 0x42aeec
push 0xd
jmp 0x42aeec
push 9
jmp 0x42aeec
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
lea ecx, [esp + 0x98]
mov edx, ebp
call fcn.0042b040
test al, al
je 0x42af4f
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x5c]
call fcn.004293d0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x8c], ebx
call fcn.00402460
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0x42aec9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00438e87
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jmp 0x42aef4
mov edx, dword [esp + 0x20]
push edx
push ebx
mov ecx, edi
call fcn.00424c50
cmp esi, dword [esp + 0x18]
jne 0x42ade2
jmp 0x42afab
push 0x1f
xor edi, edi
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
call fcn.00402160
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], edi
call fcn.0042b2f0
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0x42afab
mov eax, dword [esp + 0x28]
push eax
jmp 0x42afa3
xor al, al
jmp 0x42afad
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.00402160
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], 2
call fcn.0042b2f0
cmp dword [esp + 0x58], 0x10
mov bl, al
jb 0x42afab
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00438e87
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0x4306a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x488993
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.00474ef5
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x4306f1
mov eax, dword [esi + 0x1c]
push eax
call fcn.00438e87
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4399bf
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4399ea
call fcn.0043c026
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x439a0d
push eax
push dword [esi + 4]
call fcn.00439945
push esi
push eax
mov ecx, 0x4afe44
call fcn.004395cc
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x43a470
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x486536
call fcn.0045c681
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.0043a430
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401840
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x43a4d7
push eax
push dword [esi + 8]
call fcn.00439945
push dword [esi + 0xc]
mov ecx, 0x4afe44
push eax
call fcn.004395cc
mov eax, esi
call fcn.0045c759
ret 0x1c

Function at 0x444059
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4440a0
call fcn.0043c026
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4440a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4440bc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00443bd1
mov esi, eax
test edi, edi
je 0x4440ba
test ebx, ebx
je 0x4440ba
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4447bb
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x486756
call fcn.0045c681
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4447e0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x444826
lea ecx, [ebp - 0x10]
call fcn.00401840
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439200
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401180
mov eax, esi
call fcn.0045c759
ret 8
Function at 0x44704c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x447094
call fcn.0043c026
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x447094
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4470d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4470c0
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4470c0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4470d4
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x457b41
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ada80]
jne 0x457b4b
repz ret
jmp fcn.00460d8e

Function at 0x46c8b0
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.004606f2
and dword [ebp - 4], 0
cmp dword [0x4b28fc], 0
mov ebx, eax
jne 0x46c961
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46ca12
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46ca12
push eax
call fcn.00460680
mov dword [esp], 0x491ce8
push edi
mov dword [0x4b28fc], eax
call esi
push eax
call fcn.00460680
mov dword [esp], 0x491cd4
push edi
mov dword [0x4b2900], eax
call esi
push eax
call fcn.00460680
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b2904], eax
call esi
push eax
call fcn.00460680
pop ecx
mov dword [0x4b290c], eax
test eax, eax
je 0x46c961
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00460680
pop ecx
mov dword [0x4b2908], eax
mov eax, dword [0x4b2908]
cmp eax, ebx
je 0x46c9b9
cmp dword [0x4b290c], ebx
je 0x46c9b9
push eax
call fcn.004606fb
push dword [0x4b290c]
mov esi, eax
call fcn.004606fb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46c9b9
test edi, edi
je 0x46c9b9
call esi
test eax, eax
je 0x46c9b0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46c9b0
test byte [ebp - 0xc], 1
jne 0x46c9b9
or dword [ebp + 0x10], 0x200000
jmp 0x46c9f2
mov eax, dword [0x4b2900]
cmp eax, ebx
je 0x46c9f2
push eax
call fcn.004606fb
pop ecx
test eax, eax
je 0x46c9f2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46c9f2
mov eax, dword [0x4b2904]
cmp eax, ebx
je 0x46c9f2
push eax
call fcn.004606fb
pop ecx
test eax, eax
je 0x46c9f2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b28fc]
call fcn.004606fb
pop ecx
test eax, eax
je 0x46ca12
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46ca14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c5b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xcd000
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x42c5d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42c5d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42c5c8
mov eax, 1
add ebx, ebx
jne 0x42c5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42c5e0
jne 0x42c5fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42c5e0
xor ecx, ecx
sub eax, 3
jb 0x42c610
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42c682
mov ebp, eax
add ebx, ebx
jne 0x42c61b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42c628
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42c64c
inc ecx
add ebx, ebx
jne 0x42c638
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42c62d
jne 0x42c649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42c62d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42c66c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42c65d
jmp 0x42c5ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42c66c
add edi, ecx
jmp 0x42c5ce
pop esi
mov edi, esi
mov ecx, 0x730
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42c68a
cmp byte [edi], 5
jne 0x42c68a
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 0x42c68f
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42c6fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3293c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x329f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42c6bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x32a00]
or eax, eax
je 0x42c6f8
mov dword [ebx], eax
add ebx, 4
jmp 0x42c6d9
call dword [esi + 0x329fc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42c72f
cmp al, 0xef
ja 0x42c722
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42c704
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42c711
mov ebp, dword [esi + 0x32a04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x42c763
sub esp, 0xffffff80
jmp 0x40a5e5
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x261c441d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x13ee6e0a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219