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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
je 0x40df97
xor edi, edi
mov esi, 0xffffffff
mov ebp, 1
mov dword [esp], 0
jmp 0x40df1a
movzx eax, byte [ebx - 1]
and eax, 0xf
movzx ecx, byte [ebx]
shr ecx, 6
movzx eax, byte [ecx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov ecx, dword [esp]
lea edx, [ecx + 1]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov byte [edx + ecx], al
movzx eax, byte [ebx]
and al, 0x3f
mov edx, 2
movzx eax, al
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
add ecx, edx
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 4]
mov byte [edx + ecx], al
inc edi
inc esi
inc ebx
mov eax, dword [esp + 0x20]
add eax, ebp
dec eax
dec ebp
cmp eax, 1
je 0x40df6f
mov eax, edi
mov ecx, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [edx + edx*2]
mov eax, edi
sub eax, ecx
cmp eax, 2
je 0x40dec0
cmp eax, 1
je 0x40df50
test eax, eax
jne 0x40df0a
movzx eax, byte [ebx]
shr al, 2
jmp 0x40df61
movzx eax, byte [ebx - 1]
movzx ecx, byte [ebx]
shr cl, 4
shl al, 4
or al, cl
and al, 0x3f
mov edx, 1
mov ecx, dword [esp]
mov dword [esp + 4], ecx
jmp 0x40def0
mov ecx, 0xaaaaaaab
mov eax, esi
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub esi, eax
cmp esi, 1
je 0x40dfbf
test esi, esi
jne 0x40dfe4
neg ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp]
mov ebx, dword [esp + 0x1c]
jmp 0x40df9e
xor eax, eax
mov ebp, 0xffffffff
movzx ecx, byte [ebx + ebp]
shl ecx, 4
and ecx, 0x30
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [edx + eax], cl
lea esi, [eax + 2]
mov byte [edx + eax + 1], 0x3d
add eax, 3
jmp 0x40dfde
movzx eax, byte [ebx - 1]
and eax, 0xf
movzx ecx, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov eax, dword [esp]
lea esi, [eax + 1]
mov edx, dword [esp + 0x24]
mov byte [edx + eax], cl
add eax, 2
mov byte [edx + esi], 0x3d
jmp 0x40dfe7
mov eax, dword [esp]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40f440
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
push 0x4e8
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40f5c8
mov esi, eax
mov edi, dword [esp + 0x28]
add eax, 0x2e4
mov dword [esp + 8], eax
push eax
call fcn.004171f0
add esp, 4
lea ebx, [esi + 0x348]
push ebx
call fcn.0041a600
add esp, 4
lea eax, [esi + 0x4e0]
mov dword [esp + 0x10], eax
push eax
call fcn.0041b110
add esp, 4
push esi
call fcn.0041b5a0
add esp, 4
mov ebp, esi
add ebp, 0x1a4
push ebp
call fcn.0041bc30
add esp, 4
test edi, edi
je 0x40f52c
mov ecx, edi
mov eax, dword [edi]
test eax, eax
je 0x40f4ed
cmp byte [eax], 0
je 0x40f4ed
push eax
push ebx
mov edi, ecx
call fcn.00419230
mov ecx, edi
add esp, 8
test eax, eax
je 0x40f4ed
push 2
call dword [0x44d020]
add esp, 4
push eax
push 1
push 0x14
push str.ssl_crt_file_error__n
jmp 0x40f5b7
mov eax, dword [ecx + 4]
test eax, eax
je 0x40f547
cmp byte [eax], 0
je 0x40f547
mov edi, ecx
push 0
push 0
push 0
push eax
push dword [esp + 0x20]
call fcn.0041c7d0
add esp, 0x14
test eax, eax
je 0x40f554
push 2
call dword [0x44d020]
add esp, 4
push eax
push 1
push 0x14
push str.ssl_key_file_error__n
jmp 0x40f5b7
mov dword [esp], ebx
mov dword [esp + 0xc], 0
xor ebx, ebx
mov dword [esp + 4], 0
mov edi, dword [esp + 8]
jmp 0x40f57d
mov dword [esp], ebx
mov dword [esp + 4], 0
jmp 0x40f55f
mov dword [esp], ebx
mov al, 1
mov dword [esp + 4], eax
mov ecx, edi
mov edi, dword [esp + 8]
xor eax, eax
cmp word [ecx + 0x10], 0
setne al
add eax, eax
mov dword [esp + 0xc], eax
xor ebx, ebx
cmp word [ecx + 0x12], 0
sete bl
push 0
push 0
push esi
push fcn.0041b870
push ebp
call fcn.0041c2c0
add esp, 0x14
push 0
push 0
push ebx
push edi
call fcn.00417220
add esp, 0x10
test eax, eax
je 0x40f5d4
push 2
call dword [0x44d020]
add esp, 4
push eax
push 1
push 0x12
push str.ssl_config_error__n
call sub.msvcrt.dll_fwrite
add esp, 0x10
push esi
call fcn.00444900
add esp, 4
xor esi, esi
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0xc]
push edi
call fcn.004165f0
add esp, 8
push ebp
push 0x41c4f0
push edi
call fcn.00416620
add esp, 0xc
cmp byte [esp + 4], 0
je 0x40f5ca
push 0
push dword [esi + 0x4dc]
push edi
call fcn.00416870
add esp, 0xc
push dword [esp + 0x10]
push dword [esp + 4]
push edi
call fcn.004167f0
add esp, 0xc
test eax, eax
je 0x40f5ca
push 2
call dword [0x44d020]
add esp, 4
push eax
push 1
push 0x1b
push str.ssl_key_file_check_failed__n
jmp 0x40f5b7
Function at 0x40f970
Capabilities:
Convert ip address from string
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x190
mov edi, dword [esp + 0x1a4]
mov esi, dword [esp + 0x1a0]
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x44d5a4], cl
jne 0x40f9a3
mov eax, esp
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [edi + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x40f9c8
mov word [edi], 2
xor esi, esi
mov eax, esi
add esp, 0x190
pop esi
pop edi
pop ebx
ret
lea eax, [edi + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x40f9df
mov word [edi], 0x17
mov dword [esp], 0
mov eax, esp
push eax
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test eax, eax
jne 0x40f9bc
mov ebx, dword [esp]
test ebx, ebx
je 0x40f9bc
xor esi, esi
cmp dword [ebx + 0x18], 0
je 0x40f9bc
cmp dword [ebx + 0x10], 0
je 0x40f9bc
mov eax, ebx
nop word cs:[eax + eax]
cmp dword [eax + 4], 2
je 0x40fa2f
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x40fa20
mov eax, ebx
push dword [eax + 0x10]
push dword [eax + 0x18]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x40f9bc
Function at 0x4100d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Initialize winsock library
Start tcp server

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x194
cmp dword [esp + 0x1a8], 2
mov edi, 0xffffffff
jne 0x4101f1
cmp dword [esp + 0x1ac], 1
jne 0x4101f1
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x44d5a4], cl
lea ebp, [esp + 4]
jne 0x410119
push ebp
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esp], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov word [esp + 4], 2
push 0x7f000001
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 8], eax
mov word [esp + 6], 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test eax, eax
js 0x4101fe
push 0x10
push ebp
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
js 0x410218
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
js 0x41021f
mov eax, esp
push eax
push ebp
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
js 0x410226
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
test eax, eax
js 0x410242
push dword [esp]
push ebp
push ebx
call dword [sym.imp.WS2_32.dll_connect]
mov edi, 0xffffffff
test eax, eax
js 0x410263
mov eax, esp
push eax
push ebp
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov ebp, eax
test eax, eax
js 0x41026f
mov edi, dword [esp + 0x1b4]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], ebx
mov dword [edi + 4], ebp
xor edi, edi
mov eax, edi
add esp, 0x194
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4464a2
call sub.msvcrt.dll_perror
add esp, 4
mov edi, 0xffffffff
cmp esi, 0xffffffff
je 0x4101f1
push esi
jmp 0x410294
mov eax, 0x4464a9
jmp 0x41022b
mov eax, 0x4464ae
jmp 0x41022b
mov eax, 0x4464b5
push eax
call sub.msvcrt.dll_perror
add esp, 4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, 0xffffffff
jmp 0x4101f1
push 0x4464a2
call sub.msvcrt.dll_perror
add esp, 4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, 0xffffffff
cmp ebx, 0xffffffff
je 0x4101f1
push ebx
jmp 0x410294
mov eax, 0x4464c1
mov ebp, 0xffffffff
jmp 0x410274
mov eax, 0x4464c9
push eax
call sub.msvcrt.dll_perror
add esp, 4
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
push esi
mov esi, eax
call eax
push ebx
call esi
cmp ebp, 0xffffffff
je 0x4101f1
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4101f1
Function at 0x412c90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x412ca1
jmp dword [eax*4 + 0x4467f0]
cmp dword [0x44d638], 0
je 0x412da3
push 0x44d63c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x44d654]
test edi, edi
je 0x412d98
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x412ceb
mov edi, dword [edi + 8]
test edi, edi
je 0x412d98
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x412ce0
test esi, esi
je 0x412ce0
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x412ce0
cmp dword [0x44d638], 0
jne 0x412d20
push 0x44d63c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x44d638], 1
jmp case.default.0x412ca1
call fcn.0040e3d0
jmp case.default.0x412ca1
cmp dword [0x44d638], 0
je case.default.0x412ca1
push 0x44d63c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x44d654]
test edi, edi
je 0x412df3
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x412d77
mov edi, dword [edi + 8]
test edi, edi
je 0x412df3
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x412d70
test esi, esi
je 0x412d70
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x412d70
push 0x44d63c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x44d638]
cmp eax, 1
jne case.default.0x412ca1
mov eax, dword [0x44d654]
test eax, eax
je 0x412dd2
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call fcn.00444900
add esp, 4
mov eax, esi
test esi, esi
jne 0x412dc0
mov dword [0x44d654], 0
mov dword [0x44d638], 0
push 0x44d63c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp case.default.0x412ca1
push 0x44d63c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x412f20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x445004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x412f86
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x412f86
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x412f86
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x412f86
mov edx, dword [esp + 0xc]
sub edx, dword [0x445004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x412f76
add esi, 0x28
dec ecx
je 0x412f86
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x412f70
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x412f70
mov eax, esi
pop esi
pop edi
ret
Function at 0x41c6d0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
push 0x447346
push dword [esp + 0x1c]
call sub.msvcrt.dll_fopen
add esp, 8
mov esi, 0xffffc200
test eax, eax
je 0x41c7bf
mov edi, eax
push 0
push eax
call sub.msvcrt.dll_setbuf
add esp, 8
push 2
push 0
push edi
call sub.msvcrt.dll_fseek
add esp, 0xc
push edi
call sub.msvcrt.dll_ftell
add esp, 4
cmp eax, 0xffffffff
je 0x41c79a
mov ebx, eax
mov ebp, dword [esp + 0x20]
push 0
push 0
push edi
call sub.msvcrt.dll_fseek
add esp, 0xc
mov dword [ebp], ebx
mov eax, ebx
inc eax
push eax
push 1
call sub.msvcrt.dll_calloc
add esp, 8
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
test eax, eax
je 0x41c7a5
push edi
push ebx
push 1
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
mov dword [esp], eax
mov ebp, dword [esp + 0x20]
mov ebx, dword [ebp]
push edi
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp]
cmp dword [esp], ebx
jne 0x41c7b5
mov edi, ebp
mov byte [eax + ecx], 0
push str._____BEGIN
mov eax, dword [esp + 0x20]
push dword [eax]
call sub.msvcrt.dll_strstr
add esp, 8
xor esi, esi
test eax, eax
je 0x41c7bf
inc dword [edi]
jmp 0x41c7bf
push edi
call sub.msvcrt.dll_fclose
add esp, 4
jmp 0x41c7bf
push edi
call sub.msvcrt.dll_fclose
add esp, 4
mov esi, 0xffffc080
jmp 0x41c7bf
push ecx
push eax
call fcn.004260f0
add esp, 8
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x429050
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x429078
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, ebp
and edx, 3
mov dword [esp], edx
cmp ebp, 4
jae 0x42907c
xor edi, edi
xor esi, esi
jmp 0x4290cd
xor eax, eax
jmp 0x4290f4
and ebp, 0xfffffffc
xor edi, edi
xor esi, esi
nop word cs:[eax + eax]
movzx edx, byte [ecx + edi]
xor dl, byte [eax + edi]
movzx edx, dl
or edx, esi
movzx ebx, byte [ecx + edi + 1]
xor bl, byte [eax + edi + 1]
movzx esi, bl
movzx ebx, byte [ecx + edi + 2]
xor bl, byte [eax + edi + 2]
movzx ebx, bl
or ebx, esi
or ebx, edx
movzx edx, byte [ecx + edi + 3]
xor dl, byte [eax + edi + 3]
movzx esi, dl
or esi, ebx
add edi, 4
cmp ebp, edi
jne 0x429090
mov ebx, dword [esp]
test ebx, ebx
je 0x4290f1
add eax, edi
add ecx, edi
xor edi, edi
nop word [eax + eax]
movzx edx, byte [ecx + edi]
xor dl, byte [eax + edi]
movzx edx, dl
or esi, edx
inc edi
cmp ebx, edi
jne 0x4290e0
movzx eax, si
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42cb50
Capabilities:
Encrypt data using openssl ecdsa
Encrypt data using openssl rsa

Disassembly:
push ebx
push edi
push esi
xor esi, esi
test ecx, ecx
je 0x42cbfc
mov edi, ecx
mov eax, dword [ecx + 4]
cmp eax, 8
je 0x42cbb9
cmp eax, 9
jne 0x42cbfc
push 9
push dword [edi + 8]
push 0x449165
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x42cbe9
push 9
push dword [edi + 8]
push 0x449198
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x42cbf7
push 9
push dword [edi + 8]
push 0x449225
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x42cbfc
mov esi, 0x448750
jmp 0x42cbfc
mov ecx, dword [edi + 8]
mov eax, 0xce48862a
mov edx, dword [ecx]
xor edx, eax
mov ebx, 0x203043d
xor ebx, dword [ecx + 4]
or ebx, edx
je 0x42cbf0
mov ecx, dword [edi + 8]
xor eax, dword [ecx]
mov edx, 0x303043d
xor edx, dword [ecx + 4]
or edx, eax
jne 0x42cbfc
mov esi, 0x448738
jmp 0x42cbfc
mov esi, 0x4486f0
jmp 0x42cbfc
mov esi, 0x448720
jmp 0x42cbfc
mov esi, 0x448708
mov eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x42ccd0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push esi
mov eax, dword [esp + 8]
mov esi, 0xffffffd2
test eax, eax
je 0x42cd4f
mov ecx, dword [eax + 4]
cmp ecx, 5
je 0x42cd0d
cmp ecx, 7
je 0x42cd29
cmp ecx, 9
jne 0x42cd4f
push 9
push dword [eax + 8]
push 0x44923a
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x42cd4f
mov eax, 0x448780
jmp 0x42cd44
mov eax, dword [eax + 8]
mov ecx, 0x104812b
xor ecx, dword [eax]
movzx eax, byte [eax + 4]
xor eax, 0xc
or eax, ecx
jne 0x42cd4f
mov eax, 0x4487a8
jmp 0x42cd44
mov eax, dword [eax + 8]
mov ecx, 0xce48862a
xor ecx, dword [eax]
mov edx, 0x1023dce
xor edx, dword [eax + 3]
or edx, ecx
jne 0x42cd4f
mov eax, 0x448794
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
xor esi, esi
mov eax, esi
pop esi
ret
Function at 0x430140
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x410
mov eax, dword [esp + 0x424]
cmp dword [eax + 0x70], 0
mov esi, 0xffffbf80
jne 0x430130
mov edi, dword [eax + 4]
lea ecx, [edi - 0x401]
cmp ecx, 0xfffffc0f
jb 0x430130
lea ebx, [esp + 0x10]
push ebx
push dword [esp + 0x438]
push dword [esp + 0x434]
push dword [esp + 0x434]
push eax
call fcn.0042f7d0
add esp, 0x14
mov esi, eax
test eax, eax
jne 0x430122
lea eax, [edi - 0xb]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x10]
mov ecx, eax
neg ecx
or eax, ecx
sar eax, 0x1f
mov dword [esp], eax
movzx ecx, byte [esp + 0x11]
mov eax, 2
xor eax, ecx
mov ecx, eax
neg ecx
or eax, ecx
sar eax, 0x1f
mov dword [esp + 0xc], eax
xor ebx, ebx
mov edx, 2
xor ebp, ebp
nop dword [eax]
movzx ecx, byte [esp + edx + 0x10]
xor eax, eax
xor eax, ecx
mov ecx, eax
neg ecx
or eax, ecx
sar eax, 0x1f
not eax
or ebx, eax
mov eax, ebx
not eax
mov ecx, eax
and ecx, 1
add ebp, ecx
inc edx
cmp edi, edx
jne 0x430010
mov ecx, dword [esp + 0x43c]
mov edx, dword [esp + 8]
cmp edx, ecx
cmovb ecx, edx
mov dword [esp + 4], ecx
mov esi, dword [esp + 0xc]
or esi, dword [esp]
or esi, eax
mov ecx, 8
mov eax, ebp
mov ebx, eax
xor ebx, ecx
sub eax, ecx
and ecx, ebx
not ebx
and eax, ebx
or eax, ecx
sar eax, 0x1f
mov edx, eax
or edx, esi
mov ebx, edi
sub ebx, ebp
add ebx, 0xfffffffd
mov ecx, edx
mov esi, dword [esp + 4]
mov eax, esi
and eax, ecx
not ecx
and ecx, ebx
or eax, ecx
mov dword [esp], eax
mov ecx, eax
mov eax, esi
mov ebx, eax
xor ebx, ecx
sub eax, ecx
and ecx, ebx
not ebx
and eax, ebx
or eax, ecx
sar eax, 0x1f
mov ebp, eax
mov ebx, eax
and ebx, 0x4400
mov ecx, edx
mov eax, 0x4100
and eax, ecx
not ecx
and ecx, ebx
or eax, ecx
mov esi, eax
or edx, ebp
lea eax, [esp + 0x1b]
push dword [esp + 8]
push eax
push edx
call fcn.00429800
add esp, 0xc
mov ebx, dword [esp]
mov eax, dword [esp + 4]
mov ecx, ebp
mov ebp, eax
and eax, ecx
not ecx
and ecx, ebx
or eax, ecx
mov ebx, eax
add edi, esp
add edi, 0x10
sub edi, ebp
mov eax, ebp
sub eax, ebx
push eax
push ebp
push edi
call fcn.00429100
add esp, 0xc
cmp dword [esp + 0x43c], 0
je 0x430113
push ebp
push edi
push dword [esp + 0x440]
call sub.msvcrt.dll_memcpy
add esp, 0xc
neg esi
mov eax, dword [esp + 0x430]
mov dword [eax], ebx
lea ebx, [esp + 0x10]
push 0x400
push ebx
call fcn.00426070
add esp, 8
mov eax, esi
add esp, 0x410
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 4]
cmp dword [eax + 0x70], 0
je 0x42ff70
mov eax, 0xffffbf00
ret
Function at 0x43c650
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, ecx
mov dword [esp + 8], edx
movzx eax, byte [edx + 0xf]
mov edx, eax
shr edx, 4
and eax, 0xf
mov ecx, dword [ecx + eax*8 + 0xbc]
mov esi, dword [ebp + eax*8 + 0xb8]
mov ebx, dword [ebp + eax*8 + 0x38]
mov eax, dword [ebp + eax*8 + 0x3c]
mov edi, ecx
shld edi, esi, 0x1c
shld esi, eax, 0x1c
shld eax, ebx, 0x1c
xor esi, dword [ebp + edx*8 + 0x3c]
xor eax, dword [ebp + edx*8 + 0x38]
shr ecx, 4
xor edi, dword [ebp + edx*8 + 0xb8]
mov dword [esp + 4], ebp
xor ecx, dword [ebp + edx*8 + 0xbc]
and ebx, 0xf
movzx ebp, word [ebx + ebx + 0x44b250]
shl ebp, 0x10
xor ebp, ecx
mov edx, 0xf
nop
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx - 1]
mov dword [esp], ecx
and ecx, 0xf
mov ebx, ebp
shld ebx, edi, 0x1c
shld edi, esi, 0x1c
shld esi, eax, 0x1c
mov edx, dword [esp + 4]
xor edi, dword [edx + ecx*8 + 0x3c]
xor esi, dword [edx + ecx*8 + 0x38]
shr ebp, 4
xor ebx, dword [edx + ecx*8 + 0xb8]
xor ebp, dword [edx + ecx*8 + 0xbc]
and eax, 0xf
movzx ecx, word [eax + eax + 0x44b250]
shl ecx, 0x10
xor ecx, ebp
shld ebp, ebx, 0x1c
shld ebx, edi, 0x1c
mov eax, edi
shld eax, esi, 0x1c
and esi, 0xf
shr ecx, 4
movzx esi, word [esi + esi + 0x44b250]
shl esi, 0x10
mov dword [esp + 0xc], esi
mov esi, dword [esp]
shr esi, 4
mov dword [esp], esi
mov edi, ebp
xor edi, dword [edx + esi*8 + 0xb8]
xor ecx, dword [edx + esi*8 + 0xbc]
mov ebp, ecx
mov esi, ebx
mov ecx, dword [esp]
xor esi, dword [edx + ecx*8 + 0x3c]
xor ebp, dword [esp + 0xc]
xor eax, dword [edx + ecx*8 + 0x38]
mov edx, dword [esp + 0x10]
dec edx
jne 0x43c6c0
bswap ebp
mov ecx, dword [esp + 0x28]
mov dword [ecx], ebp
bswap edi
mov dword [ecx + 4], edi
bswap esi
mov dword [ecx + 8], esi
bswap eax
mov dword [ecx + 0xc], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43fe60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
shl ebx, 2
mov eax, edi
sub eax, ebx
jbe 0x43fe94
add edi, ecx
sub edi, ebx
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, edi
jmp 0x43fedc
jae 0x43feda
mov esi, ebx
lea edx, [edi*8]
mov ebx, edi
nop word cs:[eax + eax]
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [ebp + eax]
mov ecx, edx
and cl, 0x18
shr eax, cl
test al, al
jne 0x43ff7e
inc ebx
add edx, 8
mov eax, esi
cmp esi, ebx
jne 0x43feb0
mov ebx, edi
mov ecx, dword [esp + 0x28]
jmp 0x43fedc
mov ebx, edi
test ebx, ebx
je 0x43ff74
mov edi, ebp
mov esi, 0
cmp ebx, 1
mov dword [esp], ebx
je 0x43ff50
mov eax, dword [esp]
mov edx, eax
and edx, 0xfffffffe
mov dword [esp + 8], edx
lea ebp, [eax + ecx]
dec ebp
xor edx, edx
xor esi, esi
mov dword [esp + 4], ecx
nop dword [eax + eax]
mov ebx, edi
mov edi, esi
and edi, 0xfffffffc
mov eax, dword [ebx + edi]
mov ecx, edx
and cl, 0x10
shr eax, cl
mov byte [ebp], al
mov eax, dword [ebx + edi]
mov edi, ebx
or cl, 8
shr eax, cl
mov ecx, esi
xor ecx, 0xfffffffe
add ecx, dword [esp]
mov ebx, dword [esp + 4]
mov byte [ebx + ecx], al
mov ecx, dword [esp + 4]
add esi, 2
add edx, 0x10
add ebp, 0xfffffffe
cmp dword [esp + 8], esi
jne 0x43ff10
mov ebx, dword [esp]
test bl, 1
je 0x43ff74
mov edx, edi
mov eax, esi
and eax, 0xfffffffc
mov edx, dword [edi + eax]
mov eax, ecx
lea ecx, [esi*8]
shr edx, cl
not esi
add ebx, esi
mov byte [eax + ebx], dl
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xfffffff8
jmp 0x43ff76
Function at 0x4a91d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x69000]
push edi
or ebp, 0xffffffff
jmp 0x4a91f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a91f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a91e8
mov eax, 1
add ebx, ebx
jne 0x4a920b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a921c
jne 0x4a923b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a923b
dec eax
add ebx, ebx
jne 0x4a9228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a9200
add ebx, ebx
jne 0x4a9237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a928d
xor ecx, ecx
sub eax, 3
jb 0x4a9253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a92c2
sar eax, 1
mov ebp, eax
jmp 0x4a925e
add ebx, ebx
jne 0x4a925e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a922c
inc ecx
add ebx, ebx
jne 0x4a926c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a922c
add ebx, ebx
jne 0x4a9279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a926e
jne 0x4a928a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a926e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a92ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a929e
jmp 0x4a91ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a92ac
add edi, ecx
jmp 0x4a91ee
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a92ca
cmp byte [edi], 0x4c
jne 0x4a92ca
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 0x4a92cf
lea edi, [esi + 0xa5000]
mov eax, dword [edi]
or eax, eax
je 0x4a9347
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xaa5f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xaa744]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a92fc
mov ecx, edi
jns 0x4a932b
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 + 0xaa748]
or eax, eax
je 0x4a9341
mov dword [ebx], eax
add ebx, 4
jmp 0x4a9319
call dword [esi + 0xaa758]
mov ebp, dword [esi + 0xaa74c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a937b
sub esp, 0xffffff80
jmp 0x417770