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

Disassembly:
sub esp, 0x104
mov eax, dword [0x45e380]
xor eax, esp
mov dword [esp + 0x100], eax
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
push esi
mov esi, dword [esp + 0x10c]
mov ecx, dword [esi]
mov ecx, dword [ecx + 8]
push edi
mov edi, dword [esp + 0x11c]
push 0
push edx
push eax
mov dword [edi], 0
mov eax, dword [ecx + 0x98]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x43c961
push ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x43c92c
mov dword [edi], 0x51
jmp 0x43c95d
push 0x100
lea ecx, [esp + 0x10]
push ecx
push ebx
call fcn.0040ae50
mov edx, dword [esi + 4]
push eax
push str.Recv_failure:__s
push edx
call fcn.00413f30
mov eax, dword [esi + 4]
mov dword [eax + 0xa38], ebx
add esp, 0x18
mov dword [edi], 0x38
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.0044c7a4
add esp, 0x104
ret

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

Disassembly:
sub esp, 0x188
mov eax, dword [0x45e380]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push esi
mov esi, dword [eax + 8]
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0x80
call sub.MSVCR100.dll_memset
mov eax, dword [esi + 0x98]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x43cb4c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x100
lea ecx, [esp + 0x8c]
mov esi, eax
push ecx
push esi
call fcn.0040ae50
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.00413f30
add esp, 0x1c
mov eax, 2
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0044c7a4
add esp, 0x188
ret
mov eax, dword [esp + 4]
lea edx, [esi + 0x120]
push edx
add esi, 0xf0
push esi
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00416e20
add esp, 0x10
test eax, eax
jne 0x43cbc2
mov esi, dword [sym.imp.MSVCR100.dll__errno]
push ebx
call esi
mov ebx, eax
call esi
push 0x100
lea edx, [esp + 0x90]
mov esi, eax
mov eax, dword [ebx]
push edx
push eax
call fcn.0040ae50
mov ecx, dword [esi]
push eax
push ecx
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.00413f30
add esp, 0x1c
pop ebx
mov eax, 2
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0044c7a4
add esp, 0x188
ret
mov ecx, dword [esp + 0x188]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044c7a4
add esp, 0x188
ret
Function at 0x43d8d0
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov esi, dword [ebx + 8]
mov edx, dword [esi + 0x98]
mov edi, eax
mov eax, dword [esi + 0x14]
push eax
lea ecx, [esi + 0x18]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43d90b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ebx, [esi + 0xbc]
mov esi, eax
call fcn.0043c840
pop edi
pop esi
pop ebx
ret
push ebx
call fcn.0043cab0
mov eax, dword [esi + 0x98]
push 1
push eax
call fcn.00442300
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4406d0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x45e380]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x440777
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov eax, ebp
mov word [esp + 0x14], 0x208
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.00440640
mov ecx, esi
push 8
push ecx
call fcn.0044b650
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x440789
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044c7a4
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0044c7a4
add esp, 0x24
ret

Function at 0x442160
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
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 0x442193
push 0x2e
push esi
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x442191
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x448820
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x45e380]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
xor ebp, ebp
xor esi, esi
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x44888c
push 0x100
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040af40
push eax
push ebx
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push edi
call fcn.00413f30
add esp, 0x1c
lea esi, [ebp + 0x4d]
jmp 0x4489c1
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x4488de
push 0x100
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040af40
push eax
push ebx
push str.schannel:_failed_to_open_CA_file__s:__s
push edi
call fcn.00413f30
add esp, 0x1c
mov esi, 0x4d
jmp 0x4489c1
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44891e
push 0x100
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040af40
push eax
push ebx
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push edi
call fcn.00413f30
add esp, 0x1c
mov esi, 0x4d
jmp 0x4489b6
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], esi
jl 0x448948
jg 0x448931
cmp eax, 0x100000
jbe 0x448948
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push edi
call fcn.00413f30
mov esi, 0x4d
jmp 0x4489b3
mov edi, eax
inc eax
push eax
call dword [section..data]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x448960
lea esi, [eax + 0x1b]
jmp 0x4489b6
test edi, edi
je 0x448999
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esi + ebp]
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4489fb
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4489f7
add esi, eax
cmp esi, edi
jb 0x448964
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
mov edx, ebx
mov ecx, edi
mov byte [edi + ebp], 0
call fcn.00448610
mov esi, eax
add esp, 0xc
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [0x45e004]
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x4489dd
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [esp + 0x128]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0044c7a4
add esp, 0x120
ret
mov edi, esi
jmp 0x448999
push 0x100
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040af40
mov edx, dword [esp + 0x18]
push eax
push ebx
push str.schannel:_failed_to_read_from_CA_file__s:__s
push edx
call fcn.00413f30
add esp, 0x1c
mov esi, 0x4d
jmp 0x4489b6
Function at 0x449c70
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
push edi
push 0x11
mov esi, eax
push str.WWW_Authenticate:
push esi
mov ebx, ecx
mov edi, edx
call fcn.0040c500
add esp, 0xc
test eax, eax
je 0x449c9a
mov eax, dword [edi + 0xe0]
cmp eax, 0x191
je 0x449cbb
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.0040c500
add esp, 0xc
test eax, eax
je 0x449cfd
mov eax, dword [edi + 0xe0]
cmp eax, 0x197
jne 0x449cfd
xor ebx, ebx
cmp eax, 0x197
push esi
sete bl
call fcn.0042b1f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x449cdb
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebx
ret
push esi
push ebx
push edi
call fcn.0042b9c0
push esi
mov edi, eax
call dword [0x45e004]
add esp, 0x10
test edi, edi
je 0x449eae
mov eax, edi
pop edi
pop esi
pop ebx
ret
push 0xf
push str.Content_Length:
push esi
call fcn.0040c500
add esp, 0xc
test eax, eax
je 0x449d5f
mov ecx, dword [edi + 0xe0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x449d42
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00414070
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret
add ebx, 0x208
push ebx
push 0xa
push 0
add esi, 0xf
push esi
call fcn.00439720
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.0042c100
add esp, 0x14
test eax, eax
jne 0x449e21
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.0040c500
add esp, 0xc
test eax, eax
je 0x449e06
mov ecx, dword [edi + 0xe0]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x449dc3
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00414070
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.0042c100
add esp, 0x14
test eax, eax
je 0x449eae
push str.CONNECT_responded_chunked
push edi
call fcn.00414070
push edi
mov dword [ebx + 0x214], 1
call fcn.00439bb0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.0042c100
add esp, 0x14
test eax, eax
je 0x449e31
pop edi
pop esi
mov dword [ebx + 0x218], 1
xor eax, eax
pop ebx
ret
push 7
push str.HTTP_1.
push esi
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x449eae
mov al, byte [esi + 7]
cmp al, 0x30
je 0x449e51
cmp al, 0x31
jne 0x449eae
cmp byte [esi + 8], 0x20
jne 0x449eae
mov bl, byte [esi + 9]
cmp bl, 0x30
jl 0x449eae
cmp bl, 0x39
jg 0x449eae
mov dl, byte [esi + 0xa]
cmp dl, 0x30
jl 0x449eae
cmp dl, 0x39
jg 0x449eae
mov cl, byte [esi + 0xb]
cmp cl, 0x30
jl 0x449eae
cmp cl, 0x39
jg 0x449eae
mov al, byte [esi + 0xc]
cmp al, 0x30
jl 0x449e89
cmp al, 0x39
jle 0x449eae
movsx eax, bl
lea eax, [eax + eax*4]
movsx edx, dl
lea eax, [edx + eax*2]
movsx ecx, cl
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2 - 0x14d0]
mov dword [edi + 0xe0], eax
mov dword [edi + 0xedc], eax
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x44b6a0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44b6e6
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.00413510
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x10
jne 0x44b743
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x44b753
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x44b764
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x44c380
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44c3b5
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x14]
push eax
call fcn.00413510
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push ecx
call fcn.0044c310
xor eax, eax
add esp, 0x10
ret

Function at 0x44c3f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44c415
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x44c45c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
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 ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x44c460
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x44c4bc
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x44c483
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x44c4f8
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x45a944
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x45a945
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x44c4c7
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44c7a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e380]
jne 0x44c7ae
repz ret
jmp fcn.0044cff9
Function at 0x10045bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x5235b]
inc dword [eax]
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac

Function at 0x10045bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.10045030
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10044fe5
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.10045020
scasd eax, dword es:[edi]
outsb dx, byte [esi]
push edi
cwde
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
invalid
inc dword [eax]
Function at 0x10045ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10045d14
cmp dword [ebp - 0x398], 0
je 0x10045ede
cmp dword [ebp + 0xc], 1
je 0x10045ede
cmp dword [ebp + 0xc], 8
jne 0x10045ea6
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
call fcn.10045020
mov cl, 0xd
mov edx, 0xbca58099
cli
invalid
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10044ffe
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
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.10045030
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10044fe5
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10045020
jmp 0x10046066
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.10045030
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
invalid
Function at 0x40cc2c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4347f7
call fcn.004336f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004028a5
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.004028a5
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028a5
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004028a5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004028a5
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004028a5
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004028a5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40cc37
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4347f7
call fcn.004336f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004028a5
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.004028a5
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028a5
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004028a5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004028a5
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004028a5
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004028a5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x412c62
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x412c8f
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x444740]
xor eax, edi
inc esi
cmp esi, edx
jb 0x412c6e
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x4166b2
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov dword [ebp - 8], ecx
push esi
xor ebx, ebx
xor eax, eax
push edi
mov dword [ebp - 4], edx
xor ecx, ecx
mov byte [ebp + eax - 0x50], bl
add eax, 1
adc ecx, ebx
jne 0x4166d7
cmp eax, 0x40
jb 0x4166c7
xor edi, edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc], ebx
jb 0x416768
ja 0x4166ec
cmp dword [ebp + 8], ebx
jbe 0x416768
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41670e
mov eax, edi
xor ecx, ecx
and eax, 0xff
or eax, ecx
jne 0x41670e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
cmp eax, ebx
jne 0x41676a
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
cmp eax, 0x40
ja 0x416771
xor ecx, ecx
xor edx, edx
cmp eax, ebx
jbe 0x416748
xor ecx, dword [ebp + edx - 0x50]
add edx, 4
cmp edx, eax
jb 0x41673d
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x416753
cmp ecx, dword [eax]
jne 0x416771
add edi, 1
adc dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x4166ef
ja 0x416768
cmp edi, dword [ebp + 8]
jb 0x4166ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
push 1
pop eax
jmp 0x41676a

Function at 0x417007
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x435422
call fcn.004336f0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.004170a1
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040d4aa
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret