joyce8/EMBER2024-capa huggingface dataset:
Function at 0x990970
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x9f0230]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [edi + 0xc]
mov eax, dword [esi + 0x14c]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x1c], eax
or ebx, 0xffffffff
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x9909c6
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edx
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
push edi
call fcn.00979d00
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x9909fc
push str.Error_accept__ing_server_connect
push edi
call fcn.009730c0
add esp, 8
pop esi
mov eax, 0x1e
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00956bd0
mov esp, ebp
pop ebp
ret
push str.Connection_accepted_from_server
push edi
call fcn.00973050
push 1
push ebx
mov dword [esi + 0x2c0], 0
mov dword [esi + 0x14c], ebx
call fcn.009a5830
add esp, 0x10
mov dword [esi + 0x30c], 1
cmp dword [edi + 0x1d8], 0
je 0x990a7e
push 1
push edi
call fcn.00970bf0
mov ecx, dword [edi + 0x1dc]
mov edx, dword [edi + 0x1d8]
push 1
push ebx
push ecx
call edx
push 0
push edi
mov ebx, eax
call fcn.00970bf0
add esp, 0x1c
test ebx, ebx
je 0x990a7e
push edi
call fcn.009908d0
add esp, 4
pop esi
mov eax, 0x2a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00956bd0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00956bd0
mov esp, ebp
pop ebp
ret
Function at 0x9941f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
push edi
mov edi, dword [ebx + 0xc]
cmp eax, 2
je 0x994229
push str.Couldnt_set_desired_mode
push ebx
call fcn.009730c0
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x994240
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push ebx
call fcn.00973050
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x994259
push edi
push ebx
call fcn.00994170
add esp, 8
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x99426a
call fcn.00991600
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x99427d
mov eax, ebx
call fcn.009941d0
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x99428b
mov eax, ebx
call fcn.009941e0
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x99c330
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, eax
test ebx, ebx
je 0x99c342
cmp dword [ebx], 0
jne 0x99c354
test edi, edi
je 0x99c34b
cmp dword [edi], 0
jne 0x99c354
test esi, esi
je 0x99c3b7
cmp dword [esi], 0
je 0x99c3b7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 8]
push edx
call fcn.009add40
add esp, 0xc
test esi, esi
je 0x99c371
cmp dword [esi], 0
jne 0x99c373
xor esi, esi
test edi, edi
je 0x99c380
cmp dword [edi], 0
je 0x99c380
mov edx, edi
jmp 0x99c382
xor edx, edx
test ebx, ebx
je 0x99c3a1
cmp dword [ebx], 0
je 0x99c3a1
push eax
mov eax, dword [ebp + 8]
push esi
push edx
mov ecx, ebx
push ecx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [ebp + 8]
push esi
push edx
xor ecx, ecx
push ecx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call fcn.0099c2e0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x9a4370
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0097e7b0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
call fcn.00983db0
mov ecx, dword [ebp + 0xc]
push ecx
mov esi, eax
call fcn.00983db0
add esp, 0xc
push 1
push eax
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x9a4428
jmp 0x9a43c0
lea edx, [ebp - 0x24]
push edx
call fcn.0097e7b0
mov edx, dword [ebp - 0xc]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0097e850
add esp, 0x20
test edx, edx
ja 0x9a444e
jb 0x9a440f
cmp eax, 0x3e8
ja 0x9a444e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
push 1
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x9a43c0
test esi, esi
je 0x9a4435
push esi
call fcn.00952015
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x9a4445
push eax
call fcn.00952015
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x9a445b
push esi
call fcn.00952015
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x9a446b
push eax
call fcn.00952015
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9a8be0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x9f0230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
push edi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x108], ecx
xor ebx, ebx
xor esi, esi
call fcn.00983db0
add esp, 4
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x9a8c5a
push 0x100
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.009a33d0
push eax
mov eax, dword [ebp - 0x108]
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push eax
call fcn.009730c0
add esp, 0x1c
lea esi, [ebx + 0x4d]
jmp 0x9a8dc3
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10c], eax
cmp eax, 0xffffffff
jne 0x9a8cb6
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.009a33d0
mov edx, dword [ebp - 0x108]
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push edx
call fcn.009730c0
add esp, 0x1c
mov esi, 0x4d
jmp 0x9a8dc3
lea ecx, [ebp - 0x124]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x9a8d00
push 0x100
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.009a33d0
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov eax, dword [ebp - 0x108]
push eax
call fcn.009730c0
add esp, 0x1c
mov esi, 0x4d
jmp 0x9a8db6
mov edi, dword [ebp - 0x124]
cmp dword [ebp - 0x120], ebx
jl 0x9a8d38
jg 0x9a8d18
cmp edi, 0x100000
jbe 0x9a8d38
mov ecx, dword [ebp - 0x108]
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ecx
call fcn.009730c0
mov esi, 0x4d
jmp 0x9a8db3
lea edx, [edi + 1]
push edx
call dword [0x9f133c]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x9a8d50
lea esi, [eax + 0x1b]
jmp 0x9a8db6
test edi, edi
je 0x9a8d91
push 0
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x10c]
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esi + ebx]
push edx
push eax
mov dword [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x9a8df7
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x9a8df3
add esi, eax
cmp esi, edi
jb 0x9a8d54
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x11c]
push ecx
push ebx
push edx
mov edx, dword [ebp - 0x110]
mov ecx, edi
mov byte [edi + ebx], 0
call fcn.009a8970
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x9f1340]
mov eax, dword [ebp - 0x118]
add esp, 4
test eax, eax
je 0x9a8de0
push eax
call fcn.00952015
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00956bd0
mov esp, ebp
pop ebp
ret
mov edi, esi
jmp 0x9a8d91
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.009a33d0
mov edx, dword [ebp - 0x110]
push eax
push edx
push str.schannel:_failed_to_read_from_CA_file__s:__s
jmp 0x9a8ce7
Function at 0x9a97b0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x9f0230]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0x1c]
mov esi, 8
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9a9841
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
lea esi, [ebp - 0xc]
mov eax, ebx
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
call fcn.009a9720
mov ecx, esi
push 8
push ecx
call fcn.009aee70
mov ecx, dword [ebp - 0x1c]
add esp, 8
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x9a9852
mov edx, dword [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00956bd0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x24]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00956bd0
mov esp, ebp
pop ebp
ret

Function at 0x9ab320
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x9ab353
push 0x2e
push esi
call fcn.00956ce0
add esp, 8
test eax, eax
je 0x9ab351
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x9aeec0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
push esi
mov dword [esi], 0
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9aeef9
mov eax, dword [esi]
push edi
push 0
push 0
push 0x8002
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
ret
Function at 0x9b0380
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x9f133c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x9b03ab
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
add edx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x9b03f2
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebx
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], eax
jmp 0x9b03f5
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
push eax
call ecx
mov eax, dword [ebp + 0x10]
add esp, 8
mov dword [ebp - 4], 0
test eax, eax
je 0x9b0456
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea esp, [esp]
mov dl, byte [ebx]
xor dl, 0x36
mov byte [ebp + 0xb], dl
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
lea eax, [ebp + 0xb]
push eax
push ecx
call edx
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
mov edx, dword [edi + 8]
mov eax, dword [esi + 4]
push 1
lea ecx, [ebp + 0xb]
push ecx
push edx
inc ebx
call eax
add esp, 0x18
dec dword [ebp - 8]
jne 0x9b0420
mov ecx, dword [ebp - 4]
pop ebx
cmp ecx, dword [esi + 0x10]
jae 0x9b048f
nop
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push 1
push 0x9e55f2
push edx
call eax
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
push 0x9e55f3
push ecx
call edx
mov eax, dword [ebp - 4]
inc eax
add esp, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x10]
jb 0x9b0460
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x9b0560
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000040
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9b0593
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x800c
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x9b2725
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9b274c
call fcn.00954c18
mov dword [eax], esi
call fcn.00954c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0095585a
mov eax, esi
jmp 0x9b27a1
test dword [ebp + 0xc], 0xfffffff9
jne 0x9b2732
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9b2779
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00954c2b
pop ecx
call fcn.00954c05
mov eax, dword [eax]
jmp 0x9b27a1
test al, 0x10
jne 0x9b279f
test al, 1
je 0x9b279f
test byte [ebp + 0xc], 2
je 0x9b279f
call fcn.00954c18
mov dword [eax], 5
call fcn.00954c05
mov dword [eax], 0xd
jmp 0x9b2770
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1a07c40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x145e000]
push edi
or ebp, 0xffffffff
jmp 0x1a07c62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a07c69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a07c58
mov eax, 1
add ebx, ebx
jne 0x1a07c7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a07c8c
jne 0x1a07cab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a07cab
dec eax
add ebx, ebx
jne 0x1a07c98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a07c70
add ebx, ebx
jne 0x1a07ca7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a07cfd
xor ecx, ecx
sub eax, 3
jb 0x1a07cc3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a07d32
sar eax, 1
mov ebp, eax
jmp 0x1a07cce
add ebx, ebx
jne 0x1a07cce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a07c9c
inc ecx
add ebx, ebx
jne 0x1a07cdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a07c9c
add ebx, ebx
jne 0x1a07ce9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a07cde
jne 0x1a07cfa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a07cde
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a07d1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a07d0e
jmp 0x1a07c5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a07d1c
add edi, ecx
jmp 0x1a07c5e
pop esi
mov edi, esi
mov ecx, 0x1a8cc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1a07d3a
cmp byte [edi], 0x79
jne 0x1a07d3a
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 0x1a07d3f
lea edi, [esi + 0x15cb000]
mov eax, dword [edi]
or eax, eax
je 0x1a07dae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2573ce8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2573e18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a07d6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2573e20]
or eax, eax
je 0x1a07da8
mov dword [ebx], eax
add ebx, 4
jmp 0x1a07d89
call dword [esi + 0x2573e1c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1a07ddf
cmp al, 0xef
ja 0x1a07dd2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1a07db4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1a07dc1
mov ebp, dword [esi + 0x2573e24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1a07e13
sub esp, 0xffffff80
jmp 0x919f70
Function at 0x1050f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1050f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1050f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1050f06a
add dl, dl
jne 0x1050f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1050f0dc
xor eax, eax
add dl, dl
jne 0x1050f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1050f17d
add dl, dl
jne 0x1050f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1050f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1050f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1050f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1050f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1050f075
mov eax, 1
add dl, dl
jne 0x1050f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1050f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1050f0e1
sub eax, ebx
mov ebx, 1
jne 0x1050f128
mov ecx, 1
add dl, dl
jne 0x1050f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1050f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1050f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1050f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1050f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1050f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1050f136
cmp eax, 0x7d00
jae 0x1050f16d
cmp eax, 0x500
jb 0x1050f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1050f075
cmp eax, 0x7f
ja 0x1050f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1050f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1050f19e
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 0x1050f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48b004]
jne 0x401010
repz ret
jmp fcn.004017e1

Function at 0x406b7e
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.0040250a
and dword [ebp - 4], 0
cmp dword [0x48cffc], 0
mov ebx, eax
jne 0x406c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406ce0
push eax
call fcn.00402498
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48cffc], eax
call esi
push eax
call fcn.00402498
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48d000], eax
call esi
push eax
call fcn.00402498
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48d004], eax
call esi
push eax
call fcn.00402498
pop ecx
mov dword [0x48d00c], eax
test eax, eax
je 0x406c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402498
pop ecx
mov dword [0x48d008], eax
mov eax, dword [0x48d008]
cmp eax, ebx
je 0x406c87
cmp dword [0x48d00c], ebx
je 0x406c87
push eax
call fcn.00402513
push dword [0x48d00c]
mov esi, eax
call fcn.00402513
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406c87
test edi, edi
je 0x406c87
call esi
test eax, eax
je 0x406c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406c7e
test byte [ebp - 0xc], 1
jne 0x406c87
or dword [ebp + 0x10], 0x200000
jmp 0x406cc0
mov eax, dword [0x48d000]
cmp eax, ebx
je 0x406cc0
push eax
call fcn.00402513
pop ecx
test eax, eax
je 0x406cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406cc0
mov eax, dword [0x48d004]
cmp eax, ebx
je 0x406cc0
push eax
call fcn.00402513
pop ecx
test eax, eax
je 0x406cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48cffc]
call fcn.00402513
pop ecx
test eax, eax
je 0x406ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x483f00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x19f
jne 0x483f21
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x483f76
push esi
jmp 0x483f30
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.00483ef0
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x483f30
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x483f91
mov dword [0x2b8b218], 0xa62e7790
mov dword [0x2b8b21c], 0xffffffff
add esp, 8
ret