joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b430
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42b455
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
jmp 0x42b487
cmp dword [ebp - 4], 0
jle 0x42b484
mov eax, 1
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 6], cx
push 4
lea edx, [ebp - 8]
push edx
push 0x80
push 0xffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42b840
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x118], edx
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x120], 0
jmp 0x42b89d
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x110]
jae 0x42b8c1
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp + ecx*4 - 0x10c]
cmp edx, dword [ebp + 8]
jne 0x42b8bf
jmp 0x42b8c1
jmp 0x42b88e
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x110]
jne 0x42b8f7
cmp dword [ebp - 0x110], 0x40
jae 0x42b8f7
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp + 8]
mov dword [ebp + ecx*4 - 0x10c], edx
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
xor ecx, ecx
jne 0x42b882
mov dword [ebp - 0x114], 0
cmp dword [ebp + 0xc], 0xffffffff
jne 0x42b92a
push 0
push 0
push 0
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x114], eax
jmp 0x42b94c
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x42b95f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
jmp 0x42b965
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret

Function at 0x42ba30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x42ba62
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x42b970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 4], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x42ba80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x42eb3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42eb5f
cmp dword [edi + 0x54], 0
jne 0x42eb5f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004373a4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042eafc
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4342a6
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 0x4342ed
call fcn.004373a4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4342ed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x434309
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00433e20
mov esi, eax
test edi, edi
je 0x434307
test ebx, ebx
je 0x434307
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x434ad1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47bb8a
call fcn.0044f850
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x434af6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x434b3c
lea ecx, [ebp - 0x10]
call fcn.00402490
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.0043433c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402580
mov eax, esi
call fcn.0044f928
ret 8
Function at 0x43adec
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 0x43ae34
call fcn.004373a4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43ae34
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43ae77
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 0x43ae60
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 0x43ae60
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43ae74
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 0x44cd51
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4985a0]
jne 0x44cd5b
repz ret
jmp fcn.00452e2f

Function at 0x462637
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.00455101
and dword [ebp - 4], 0
cmp dword [0x49d3c0], 0
mov ebx, eax
jne 0x4626e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x462799
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x487184
push edi
call esi
test eax, eax
je 0x462799
push eax
call fcn.0045508f
mov dword [esp], 0x487174
push edi
mov dword [0x49d3c0], eax
call esi
push eax
call fcn.0045508f
mov dword [esp], 0x487160
push edi
mov dword [0x49d3c4], eax
call esi
push eax
call fcn.0045508f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49d3c8], eax
call esi
push eax
call fcn.0045508f
pop ecx
mov dword [0x49d3d0], eax
test eax, eax
je 0x4626e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045508f
pop ecx
mov dword [0x49d3cc], eax
mov eax, dword [0x49d3cc]
cmp eax, ebx
je 0x462740
cmp dword [0x49d3d0], ebx
je 0x462740
push eax
call fcn.0045510a
push dword [0x49d3d0]
mov esi, eax
call fcn.0045510a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x462740
test edi, edi
je 0x462740
call esi
test eax, eax
je 0x462737
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x462737
test byte [ebp - 0xc], 1
jne 0x462740
or dword [ebp + 0x10], 0x200000
jmp 0x462779
mov eax, dword [0x49d3c4]
cmp eax, ebx
je 0x462779
push eax
call fcn.0045510a
pop ecx
test eax, eax
je 0x462779
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x462779
mov eax, dword [0x49d3c8]
cmp eax, ebx
je 0x462779
push eax
call fcn.0045510a
pop ecx
test eax, eax
je 0x462779
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49d3c0]
call fcn.0045510a
pop ecx
test eax, eax
je 0x462799
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46279b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401dc0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x401dc5
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae fcn.00401dc0
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
cli
add byte [eax], dh
add byte [eax], al
jne 0x401daa
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
push edi
xor al, 3
into
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x401db2
cmp edx, ebx
jne 0x401f00
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x401d81
add eax, dword [eax + 4]
jmp 0x401d6e
mov dword [ebp + 0xc], ebx
jmp 0x401dd0
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x401de8
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x401e06
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
inc ebp
invalid
ja 0x401e64
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x401e4b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x401e54
cmp dword [ebp + 0x10], ebx
je 0x401e5e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x401e40
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x401dca
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x401eb1
dec eax
je 0x401ea8
sub eax, 3
je 0x401e9f
mov dword [ebp - 4], 0x40
jmp 0x401ece
mov dword [ebp - 4], 4
jmp 0x401eb4
mov dword [ebp - 4], 0x20
jmp 0x401eb4
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x401f00
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x401e80
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00401711
sub byte [0x75fff55d], 0x14
push 1
push esi
call edi
mov eax, esi
jmp 0x401f0c
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28

Function at 0x40265d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00401721
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004016d6
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00401711
movsb byte es:[edi], byte [esi]
add byte [eax + 0x10468bb], dh
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.00401711
int3

Function at 0x40a413
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40a456
call fcn.0040affb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40a456
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a471
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00409fcd
test ebx, ebx
mov esi, eax
je 0x40a46f
test edi, edi
je 0x40a46f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40c67f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40c6ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40c6cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040c5e9
jmp 0x40c6cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40c6cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040c5e9
test edi, edi
mov eax, edi
jne 0x40c6b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x42ed20]
test ecx, ecx
je 0x40c78e
jmp 0x40c67e
ret 8

Function at 0x40f98c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42bda8]
jne 0x40f996
repz ret
jmp fcn.00413f9d

Function at 0x412dc2
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x42bdc0]
je 0x412ddd
inc edi
cmp edi, 0x17
jb 0x412dce
cmp edi, 0x17
jae 0x412f5d
push ebp
push 3
call fcn.00419f60
cmp eax, 1
pop ecx
je 0x412f29
push 3
call fcn.00419f60
test eax, eax
pop ecx
jne 0x412e11
cmp dword [0x42bc10], 1
je 0x412f29
cmp ebx, 0xfc
je 0x412f5c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x42f038
push ebp
call fcn.00419efb
add esp, 0xc
test eax, eax
je 0x412e47
push esi
push esi
push esi
push esi
push esi
call fcn.0041463f
add esp, 0x14
push 0x104
mov esi, 0x42f051
push esi
push 0
mov byte [0x42f155], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x412e8b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00419efb
add esp, 0xc
test eax, eax
je 0x412e8b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041463f
add esp, 0x14
push esi
call fcn.00419e70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x412ed0
push esi
call fcn.00419e70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42f34c
push 0x425764
sub ecx, eax
push ecx
push eax
call fcn.00419db0
add esp, 0x14
test eax, eax
je 0x412ed0
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041463f
add esp, 0x14
jmp 0x412ed2
xor esi, esi
push 0x425760
push ebx
push ebp
call fcn.00419d3f
add esp, 0xc
test eax, eax
je 0x412ef2
push esi
push esi
push esi
push esi
push esi
call fcn.0041463f
add esp, 0x14
push dword [edi*8 + 0x42bdc4]
push ebx
push ebp
call fcn.00419d3f
add esp, 0xc
test eax, eax
je 0x412f14
push esi
push esi
push esi
push esi
push esi
call fcn.0041463f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00419b82
add esp, 0xc
jmp 0x412f5c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x412f5c
cmp ebp, 0xffffffff
je 0x412f5c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42bdc4]
push dword [esi]
call fcn.00419e70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x419b82
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00413972
xor ebx, ebx
cmp dword [0x42faf0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x419c58
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x419d38
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x419d38
push eax
call fcn.00413904
mov dword [esp], 0x425928
push edi
mov dword [0x42faf0], eax
call esi
push eax
call fcn.00413904
mov dword [esp], 0x425914
push edi
mov dword [0x42faf4], eax
call esi
push eax
call fcn.00413904
mov dword [0x42faf8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00410263
test eax, eax
pop ecx
pop ecx
je 0x419c26
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041463f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x419c58
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00413904
cmp eax, ebx
pop ecx
mov dword [0x42fb00], eax
je 0x419c58
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413904
pop ecx
mov dword [0x42fafc], eax
mov eax, dword [0x42fafc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x419cdd
cmp dword [0x42fb00], ecx
je 0x419cdd
push eax
call fcn.0041397b
push dword [0x42fb00]
mov esi, eax
call fcn.0041397b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x419cdd
cmp edi, ebx
je 0x419cdd
call esi
cmp eax, ebx
je 0x419caa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x419caa
test byte [ebp - 0x18], 1
jne 0x419cdd
lea eax, [ebp - 0x10]
push eax
call fcn.0041029a
test eax, eax
pop ecx
je 0x419cc5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041463f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x419cd4
or dword [ebp + 0x10], 0x200000
jmp 0x419d18
or dword [ebp + 0x10], 0x40000
jmp 0x419d18
mov eax, dword [0x42faf4]
cmp eax, dword [ebp - 8]
je 0x419d18
push eax
call fcn.0041397b
cmp eax, ebx
pop ecx
je 0x419d18
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x419d18
mov eax, dword [0x42faf8]
cmp eax, dword [ebp - 8]
je 0x419d18
push eax
call fcn.0041397b
cmp eax, ebx
pop ecx
je 0x419d18
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42faf0]
call fcn.0041397b
cmp eax, ebx
pop ecx
je 0x419d38
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x419d3a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42159e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42bda8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00421533
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00410980
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4215ed
cmp dword [ebp - 0x1c], 5
jb 0x421605
jmp 0x421601
cmp dword [ebp - 0x10], 1
jne 0x421605
cmp dword [ebp - 0x1c], 4
ja 0x421601
jne 0x421605
cmp dword [ebp - 0x18], 0
jbe 0x421605
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x426b78
call fcn.00421424
test eax, eax
jge 0x421626
mov byte [0x42fccc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040f98c
add ebp, 0x78
leave
ret
Function at 0x407402
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407440
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407416
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x407411
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40746d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40744e
not eax
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x40ad90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40adaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40adb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40ada0
mov eax, 1
add ebx, ebx
jne 0x40adc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40adb8
jne 0x40add4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40adb8
xor ecx, ecx
sub eax, 3
jb 0x40ade8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ae5a
mov ebp, eax
add ebx, ebx
jne 0x40adf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ae00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ae24
inc ecx
add ebx, ebx
jne 0x40ae10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ae05
jne 0x40ae21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ae05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ae44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ae35
jmp 0x40ada6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ae44
add edi, ecx
jmp 0x40ada6
pop esi
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40aea3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc894]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc8d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ae61
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc8d8]
or eax, eax
je 0x40ae9d
mov dword [ebx], eax
add ebx, 4
jmp 0x40ae7e
call dword [esi + 0xc8d4]
mov ebp, dword [esi + 0xc8dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x40aed7
sub esp, 0xffffff80
jmp section.UPX0