joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450f40
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x4a73e8]
xor eax, esp
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x10c]
push ebx
mov ebx, dword [esp + 0x10c]
push esi
push edi
mov edi, dword [esp + 0x120]
mov eax, dword [ebx]
push 0
push dword [esp + 0x120]
mov eax, dword [eax + 8]
push ecx
mov dword [edi], 0
push dword [eax + 0x98]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x450fdf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x450fac
mov dword [edi], 0x51
jmp 0x450fdc
push 0x100
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00430ac0
push eax
push str.Recv_failure:__s
push dword [ebx + 4]
call fcn.0041e180
mov eax, dword [ebx + 4]
add esp, 0x18
mov dword [eax + 0x934], esi
mov dword [edi], 0x38
or esi, 0xffffffff
push dword [edi]
push esi
push dword [esp + 0x124]
push str.nw_in_read_len_zu______d__err_d
push dword [ebx]
push dword [ebx + 4]
call fcn.0041e2e0
mov ecx, dword [esp + 0x124]
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460630
add esp, 0x104
ret

Function at 0x451020
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x4a73e8]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x200]
test dword [eax + 0x44], 0x800
jne 0x45114d
push 0x80
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x80
push 0
push eax
call fcn.00461e60
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4510da
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x8c]
push 0x100
push eax
push esi
call fcn.00430ac0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.0041e180
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00460630
add esp, 0x188
ret
lea eax, [esi + 0x120]
push eax
lea eax, [esi + 0xf0]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.0041f580
add esp, 0x10
test al, al
jne 0x45114d
push edi
call fcn.00469ec5
mov esi, dword [eax]
call fcn.00469ec5
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.00430ac0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0041e180
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00460630
add esp, 0x188
ret
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.00460630
add esp, 0x188
ret
Function at 0x457910
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x4a73e8]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.004772af
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x45798f
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00430bb0
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.0041e180
push esi
call dword [0x4a7004]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x457aef
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x4579e9
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00430bb0
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.0041e180
push 0
mov esi, 0x4d
call dword [0x4a7004]
add esp, 0x20
jmp 0x457ae1
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x457a29
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00430bb0
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.0041e180
add esp, 0x1c
mov esi, 0x4d
jmp 0x457acd
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x457a57
jg 0x457a3d
cmp edi, 0x100000
jbe 0x457a57
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.0041e180
add esp, 0xc
mov esi, 0x4d
jmp 0x457acd
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x457a6f
lea esi, [eax + 0x1b]
jmp 0x457acd
test edi, edi
je 0x457ab4
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x457b0c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x457b08
add esi, eax
cmp esi, edi
jb 0x457a80
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.00457710
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x4a7004]
add esp, 4
push dword [esp + 0x20]
call fcn.00468956
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460630
add esp, 0x120
ret
mov edi, esi
jmp 0x457ab4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00430bb0
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.0041e180
add esp, 0x1c
mov esi, 0x4d
jmp 0x457acd
Function at 0x45e670
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45e69b
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x45e6ea
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x45e6f2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x45e763
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x45e720
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x45e795
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x496cdd
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x496cde
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x45e770
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x45e7a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.00420740
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov esi, eax
add esp, 8
test esi, esi
je 0x45e922
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x45e822
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x45e893
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x45e850
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x45e8c5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x496cdd
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x496cde
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x45e8a0
push dword [esp + 0x30]
call fcn.00420740
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x45e8f0
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x4a7004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x45e9f0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x45ea16
mov eax, 0x1b
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x45ea4e
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], 0
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.00420740
add esp, 4
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp], 0x20
jne 0x45eaa5
push 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 8]
test eax, eax
je 0x45eab4
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x45eac5
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x45f700
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x45f74c
push ebx
mov ebx, dword [esp + 0x10]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x45f711
pop ebx
pop edi
pop esi
ret

Function at 0x461505
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x461544
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x461544
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x461544
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x461544
cmp dword [ecx + 0x74], 0xe
jbe 0x461544
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x47b72e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047b5a4

Function at 0x48175d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004812b0

Function at 0x488090
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4880bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4880bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x413f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x413f4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x413f4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xa14000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xa1400a
jmp 0xa1600f
jmp fcn.007d80b0
Function at 0x4017e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x3000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
pop ebp
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
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 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
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 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x4e3211
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0040302c]
test eax, eax
je 0x4e3250
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e3250
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e3250
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4e3250
cmp dword [ecx + 0x74], 0xe
jbe 0x4e3250
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
xor eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1616455c
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0xd7e1b16
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1000bec0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
push 0x96
push 0
lea eax, [ebx + 0x20]
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebx], 0x6a09e667
add esp, 0xc
mov dword [ebx + 4], 0xbb67ae85
mov dword [ebx + 8], 0x3c6ef372
mov dword [ebx + 0xc], 0xa54ff53a
mov dword [ebx + 0x10], 0x510e527f
mov dword [ebx + 0x14], 0x9b05688c
mov dword [ebx + 0x18], 0x1f83d9ab
mov dword [ebx + 0x1c], 0x5be0cd19
movzx eax, byte [edi + 1]
movzx esi, byte [edi]
movzx ecx, byte [edi + 3]
shl ecx, 8
shl eax, 8
or esi, eax
movzx eax, byte [edi + 2]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0x6a09e667
mov dword [ebx], ecx
movzx eax, byte [edi + 5]
movzx esi, byte [edi + 4]
movzx ecx, byte [edi + 7]
shl ecx, 8
shl eax, 8
or esi, eax
movzx eax, byte [edi + 6]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0xbb67ae85
mov dword [ebx + 4], ecx
movzx eax, byte [edi + 9]
movzx esi, byte [edi + 8]
movzx ecx, byte [edi + 0xb]
shl ecx, 8
shl eax, 8
or esi, eax
movzx eax, byte [edi + 0xa]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0x3c6ef372
mov dword [ebx + 8], ecx
movzx eax, byte [edi + 0xd]
movzx esi, byte [edi + 0xc]
movzx ecx, byte [edi + 0xf]
shl eax, 8
or esi, eax
shl ecx, 8
movzx eax, byte [edi + 0xe]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0xa54ff53a
mov dword [ebx + 0xc], ecx
movzx eax, byte [edi + 0x11]
movzx esi, byte [edi + 0x10]
movzx ecx, byte [edi + 0x13]
shl eax, 8
or esi, eax
shl ecx, 8
movzx eax, byte [edi + 0x12]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0x510e527f
mov dword [ebx + 0x10], ecx
movzx esi, byte [edi + 0x14]
movzx eax, byte [edi + 0x15]
movzx ecx, byte [edi + 0x17]
shl ecx, 8
shl eax, 8
or esi, eax
movzx eax, byte [edi + 0x16]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0x9b05688c
mov dword [ebx + 0x14], ecx
movzx eax, byte [edi + 0x19]
movzx esi, byte [edi + 0x18]
movzx ecx, byte [edi + 0x1b]
shl eax, 8
or esi, eax
shl ecx, 8
movzx eax, byte [edi + 0x1a]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0x1f83d9ab
mov dword [ebx + 0x18], ecx
movzx eax, byte [edi + 0x1d]
movzx esi, byte [edi + 0x1c]
movzx ecx, byte [edi + 0x1f]
shl eax, 8
or esi, eax
shl ecx, 8
movzx eax, byte [edi + 0x1e]
or ecx, eax
shl ecx, 0x10
or ecx, esi
xor ecx, 0x5be0cd19
mov dword [ebx + 0x1c], ecx
mov al, byte [edi]
pop edi
mov byte [ebx + 0xb4], al
xor eax, eax
pop esi
pop ebx
ret
Function at 0x100338c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, 0x270
jl 0x1003398e
xor edx, edx
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esi + edx*4 + 0x10]
xor ecx, dword [esi + edx*4 + 0xc]
and ecx, 0x7fffffff
xor ecx, dword [esi + edx*4 + 0xc]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x10253f14]
xor ecx, dword [esi + edx*4 + 0x640]
mov dword [esi + edx*4 + 0xc], ecx
inc edx
cmp edx, 0xe3
jl 0x100338e0
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esi + edx*4 + 0x10]
xor ecx, dword [esi + edx*4 + 0xc]
and ecx, 0x7fffffff
xor ecx, dword [esi + edx*4 + 0xc]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x10253f14]
xor ecx, dword [esi + edx*4 - 0x380]
mov dword [esi + edx*4 + 0xc], ecx
inc edx
cmp edx, 0x26f
jl 0x10033920
mov ecx, dword [esi + 0xc]
xor ecx, dword [esi + 0x9c8]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x9c8]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [eax*4 + 0x10253f14]
xor eax, dword [esi + 0x63c]
xor eax, ecx
mov dword [esi + 0x9c8], eax
xor eax, eax
mov dword [esi + 8], 0
mov ecx, dword [esi + eax*4 + 0xc]
inc eax
mov dword [esi + 8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret

Function at 0x100339c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], edx
mov edx, ecx
push esi
mov dword [ebp - 4], edx
mov esi, 1
mov dword [edx + 0xc], 0x12bd6aa
nop dword [eax + eax]
mov ecx, dword [edx + esi*4 + 8]
shr ecx, 0x1e
xor ecx, dword [edx + esi*4 + 8]
imul eax, ecx, 0x6c078965
add eax, esi
mov dword [edx + esi*4 + 0xc], eax
inc esi
cmp esi, 0x270
jl 0x100339e0
push ebx
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x270
mov dword [edx + 8], esi
mov eax, 1
xor esi, esi
cmp edi, ecx
cmovb edi, ecx
test edi, edi
je 0x10033a6b
nop dword [eax]
mov ecx, dword [edx + eax*4 + 8]
mov edx, ecx
mov ebx, dword [ebp - 8]
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x19660d
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax*4 + 0xc]
add ecx, dword [ebx + esi*4]
mov ebx, dword [ebp + 8]
add ecx, esi
mov dword [edx + eax*4 + 0xc], ecx
inc eax
lea ecx, [esi + 1]
cmp eax, 0x270
jb 0x10033a60
mov eax, dword [edx + 0x9c8]
mov dword [edx + 0xc], eax
mov eax, 1
cmp ecx, ebx
sbb esi, esi
and esi, ecx
sub edi, 1
jne 0x10033a20
pop edi
mov esi, 0x26f
pop ebx
mov ecx, dword [edx + eax*4 + 8]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x5d588b65
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax*4 + 0xc]
sub ecx, eax
mov dword [edx + eax*4 + 0xc], ecx
inc eax
cmp eax, 0x270
jb 0x10033aa6
mov eax, dword [edx + 0x9c8]
mov dword [edx + 0xc], eax
mov eax, 1
sub esi, 1
jne 0x10033a72
mov dword [edx + 0xc], 0x80000000
pop esi
mov esp, ebp
pop ebp
ret