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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
mov ebp, dword [esp + 0x98]
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
mov edi, dword [eax + 0x3f0]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x13c]
push ebx
add eax, 4
push eax
push dword [edi + 0x148]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [edi + 0x134], eax
cmp dword [edi + 0x130], ebx
jne 0x524866
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0xb0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x130], eax
mov esi, dword [edi + 0x134]
cmp esi, 4
jge 0x5248a1
push str.Received_too_short_packet
push ebp
call fcn.004f54f0
add esp, 8
mov dword [edi + 0xc], 7
mov eax, ebx
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054507b
add esp, 0x8c
ret
mov edx, dword [edi + 0x148]
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
mov dword [edi + 0xc], ecx
dec ecx
cmp ecx, 5
ja case.0x5248c0.1
jmp dword [ecx*4 + 0x5249ac]
cmp esi, 4
jle case.0x5248c0.4
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [edi + 0x144]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x5248c0.4
lea eax, [esi - 4]
push eax
lea eax, [edx + 4]
push eax
push 1
push ebp
call fcn.004f2ce0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je case.0x5248c0.4
push 5
push edi
call fcn.005252c0
add esp, 8
jmp 0x524886
movzx ecx, byte [edx + 2]
lea eax, [edx + 4]
mov dword [esp + 0x14], eax
add esi, 0xfffffffc
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [edx + 4]
push esi
push eax
mov dword [edi + 8], ecx
call fcn.00525330
add esp, 8
cmp eax, esi
jae case.0x5248c0.4
push dword [esp + 0x14]
push str.TFTP_error:__s
push ebp
call fcn.004f55c0
jmp 0x524981
lea eax, [esi - 2]
push eax
lea eax, [edx + 2]
push eax
push edi
call fcn.00524590
mov ebx, eax
add esp, 0xc
test ebx, ebx
je case.0x5248c0.4
jmp 0x524886
push str.Internal_error:_Unexpected_packet
push 0x561b18
push ebp
call fcn.004f54f0
add esp, 0xc
push ebp
call fcn.0050b150
add esp, 4
test eax, eax
je 0x524886
push 5
push edi
call fcn.005252c0
add esp, 8
mov eax, 0x2a
jmp 0x524888
Function at 0x52bf10
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x8c
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov ebx, dword [edi + 0x18]
mov esi, dword [ebx + 0x1a4]
push esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x52bf7b
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x80
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [esp + 0xc], eax
jmp 0x52bf7f
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
jne 0x52bfaf
push str.Error_accept__ing_server_connect
push edi
call fcn.004f54f0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0054507b
add esp, 0x8c
ret
push str.Connection_accepted_from_server
push edi
call fcn.004f55c0
mov byte [ebx + 0x24d], 0
push 1
push dword [esp + 0x18]
call fcn.0053b3f0
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push edi
call fcn.00511860
mov esi, eax
add esp, 0x20
test esi, esi
je 0x52c007
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0054507b
add esp, 0x8c
ret
cmp dword [edi + 0x19c], 0
je 0x52c064
push 1
push edi
call fcn.004f6390
mov eax, dword [edi + 0x19c]
push 1
push dword [esp + 0x18]
push dword [edi + 0x1a0]
call eax
push 0
push edi
mov esi, eax
call fcn.004f6390
add esp, 0x1c
test esi, esi
je 0x52c064
push ebx
push edi
call fcn.0052c6c0
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0054507b
add esp, 0x8c
ret
mov ecx, dword [esp + 0x94]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054507b
add esp, 0x8c
ret
Function at 0x52e5f0
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0x18]
cmp eax, 0x64
jb 0x52e620
push str.Couldnt_set_desired_mode
push esi
call fcn.004f54f0
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x52e637
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.004f55c0
add esp, 0xc
mov al, byte [esp + 0x18]
push ebp
cmp al, 0x13
jne 0x52e651
push ebx
push esi
call fcn.0052e2f0
add esp, 8
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x14
jne 0x52e75e
mov edi, dword [esi + 0x18]
xor ebx, ebx
cmp byte [esi + 0x4b8], 2
mov dword [esp + 0x18], edi
jne 0x52e6ce
mov eax, dword [esi + 0x124]
mov eax, dword [eax]
test eax, eax
je 0x52e6ce
push 3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push ebx
push eax
call fcn.005099f0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x52e789
push 0x2f
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_strrchr
add esp, 8
test eax, eax
je 0x52e6bd
mov ebx, dword [esp + 0x14]
mov ecx, 1
sub eax, ebx
cmovne ecx, eax
mov byte [ecx + ebx], 0
jmp 0x52e6ca
push dword [esp + 0x14]
call dword [0x570004]
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x544]
test ecx, ecx
jne 0x52e6ec
cmp byte [esi + 0xcf5], 0
mov ecx, str.NLST
mov eax, str.LIST
cmove ecx, eax
mov edx, 0x5590e3
test ebx, ebx
mov eax, edx
cmovne eax, ebx
push eax
mov eax, 0x563b84
cmove eax, edx
push eax
push ecx
push 0x54c7a0
call fcn.004f3ab0
push ebx
mov ebp, eax
call dword [0x570004]
add esp, 0x14
test ebp, ebp
jne 0x52e729
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
push ebp
push 0x561b18
lea eax, [edi + 0x3f0]
push eax
push esi
call fcn.00541f90
push ebp
mov edi, eax
call dword [0x570004]
add esp, 0x14
test edi, edi
jne 0x52e789
push 0x1f
push esi
call fcn.0052c630
add esp, 8
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x15
jne 0x52e776
push 0xd
push 1
push esi
call fcn.0052de30
add esp, 0xc
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x16
jne 0x52e789
push 0xe
push 1
push esi
call fcn.0052de30
add esp, 0xc
mov edi, eax
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x53e530
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x570400]
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 dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x53e5b0
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051ca40
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.004f54f0
push esi
call dword [0x570004]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x53e710
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x53e60a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051ca40
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.004f54f0
push 0
mov esi, 0x4d
call dword [0x570004]
add esp, 0x20
jmp 0x53e701
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x53e64a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051ca40
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.004f54f0
add esp, 0x1c
mov esi, 0x4d
jmp 0x53e6ed
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x53e678
jg 0x53e65e
cmp edi, 0x100000
jbe 0x53e678
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.004f54f0
add esp, 0xc
mov esi, 0x4d
jmp 0x53e6ed
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x53e690
lea esi, [eax + 0x1b]
jmp 0x53e6ed
test edi, edi
je 0x53e6d4
nop dword [eax]
nop dword [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 0x53e72d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x53e729
add esi, eax
cmp esi, edi
jb 0x53e6a0
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.0053e330
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x570004]
add esp, 4
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054507b
add esp, 0x120
ret
mov edi, esi
jmp 0x53e6d4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051ca40
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.004f54f0
add esp, 0x1c
mov esi, 0x4d
jmp 0x53e6ed
Function at 0x543b80
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x543ba7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x543bf2
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x543bf6
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x543c56
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x543c15
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x543c87
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x558d50
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x558d51
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x543c60
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x543c90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.004f5180
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov edi, eax
add esp, 8
test edi, edi
je 0x543df8
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x543d0c
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x543d71
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x543d30
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x543d9d
mov eax, dword [esi + 4]
push 1
push 0x558d50
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x558d51
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x543d76
push dword [esp + 0x28]
call fcn.004f5180
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x543dc8
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x570004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
Function at 0x543ed0
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 0x543ef6
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 0x543f26
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.004f5180
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 0x543f7d
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 0x543f8c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x543f9d
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x544e92
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x544eb9
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x544ebc
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00544e6e
pop esi
leave
ret 8

Function at 0x54620f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x54624e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x54624e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x54624e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x54624e
cmp dword [ecx + 0x74], 0xe
jbe 0x54624e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x7093d3
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], edx
mov byte [esp], dh
mov dword [esp + 8], esp
call 0x7093de
cdq
sbb cl, byte [eax - 0x418e511]
mov dword [esp], edx
mov byte [esp], dh
mov dword [esp + 8], esp
push ebp
mov byte [esp], bl
mov byte [esp + 1], ah
jmp 0x7093fa
lea esp, [esp]
push dword [esp + 1]
jae 0x7093ba
jb 0x7093a4
call fcn.0070943a
and esp, dword [ecx - reloc.RASAPI32.dll_RasHangUpA]
arpl dx, sp
jo 0x709404
loop 0x7093c4
mov dword [reloc.RASAPI32.dll_RasHangUpA], eax
push ebp
mov byte [esp], bl
jmp 0x7093c8
push dword [esp + 1]
jg 0x709499
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
push edx
jmp 0x709590
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
jmp 0x70960d
push edx
push dword [esp + 2]
push word [esp + 1]

Function at 0x70ef5d
Capabilities:
Execute anti-debugging instructions

Disassembly:
bt dx, ax
jle 0x70ef3d
bt bx, di
jmp 0x70ef41
bt bx, di
lea esp, [esp + 4]
jmp 0x70ef75
bt eax, ebx
je 0x70ef5f
lea edx, [eax*4]
xchg bl, al
jmp 0x70ef98
jmp 0x70ef20
lea edx, [eax*4]
xchg bl, al
jmp 0x70efae
xor edi, 0x42b796d5
lea eax, [edx*4]
mov ax, 0x8e8f
jmp 0x70ef47
mov dx, word [esp]
pushfd
jmp 0x70efb3
mov dx, word [esp]
pushfd
lea esp, [esp + 4]
dec edi
jmp 0x70efdc
setnp dh
rol edx, 0x13
jmp 0x70efc6
mov bx, word [esp]
rdtsc
mov bx, 0x4515
jmp 0x70eff8
bsr eax, edx
jge 0x70efba
setnp dh
rol edx, 0x13
mov bx, word [esp]
rdtsc
mov bx, 0x4515
jmp 0x70eff8
add edi, 0x36b2ae02
sub esp, 0x18
jnp 0x70f0b9
jp 0x70f03c
test eax, 0x3d826bc8
and dl, 0xa9
push di
not ax
jmp 0x70f01b
and dl, 0xa9
push di

Function at 0x71dbf3
Capabilities:
Encode data using xor

Disassembly:
pushal
lea esp, [esp + 0x20]
jmp 0x6fc4dc
Function at 0x8f7d1a
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x8f7d64
mov byte [esp + 0xc], dl
push word [esp + 0xf]
bswap eax
xchg al, bl
shl ax, cl
setae bl
jmp 0x8f7db1
lea ecx, reloc.RASAPI32.dll_RasHangUpA
rdtsc
setp bl
xchg word [esp + 4], bp
jmp 0x8f7ddc
lea esi, [edx + edi]
xchg cl, al
xchg ebx, eax
mov esi, 0x8ea10545
mov bx, word [esp + 7]
mov dl, 0xca
jmp 0x8f7d9b
mov ebx, 0xc0dcf0c9
lea ebp, reloc.RASAPI32.dll_RasHangUpA
mov bp, 0x11cd
jmp 0x8f7e1d
mov ax, word [esp + 5]
mov ax, 0x3b14
inc bx
xchg byte [esp + 0x17], al
bswap eax
jmp 0x8f7dc6
lea esp, [esp + 1]
shl esi, cl
pop cx
bswap ebx
mov ah, 0x74
btr si, ax
jmp 0x8f7e71
lea esp, [esp + 0x19]
push word [esp]
add esp, 0
lea esp, [esp]
not dx
mov di, bp
jmp 0x8f7e07
bt esi, eax
xchg dx, bx
xchg bp, ax
or di, 0x5057
mov bx, dx
jmp 0x8f7e58
clc
shl bl, cl
lea edi, [esi + edi]
xchg bl, dl
setl ah
mov ch, dh
jmp 0x8f7e33
add esp, 0
stc
rdtsc
mov eax, edi
bsf bx, di
xchg ch, dh
jmp 0x8f7e9a
mov ch, dl
mov esi, ebx
mov di, 0xc899
lea ebp, [ebp + ebp]
mov al, byte [esp]
rdtsc
jmp 0x8f7e49
xchg ecx, esi
or bx, 0x34fb
xchg ch, dh
rol dx, cl
push dx
jmp 0x8f7ec2
xchg byte [esp], dl
bswap ebp
sub esp, 6
neg ebp
mov word [esp], di
xchg dl, dh
jmp 0x8f7e84
sub esp, 0x11
xchg edx, ebx
push dword [esp + 0x13]
sub esp, 4
add esp, 0xb
jmp 0x8f7eec
bt bx, bx
push word [esp + 8]
add esp, 0
mov edi, dword [esp + 7]
pop esi
pop ebx
jmp 0x8f7eac
sub esp, 7
bts cx, cx
mov byte [esp + 1], dh
mov ax, 0x3dfa
jmp 0x8f7f05
add esp, 7
lea edi, [ecx*4]
or edi, 0x4aa7f37f
clc
push dword [esp + 4]
rdtsc
jmp 0x8f7ed6
btr bx, bp
lea esp, [esp + 0xa]
xchg cl, bl
mov ax, di
mov byte [esp], dl
xchg bh, bl
jmp 0x8f7f61
pop ebp
lea edx, [ecx + esi]
mov dword [esp], esi
call fcn.008f7f9b
jle 0x8f7f31
add byte [eax], al
add byte [esi - 6], bh
push 0x5b7dfa0f
mov dl, 0xad
mov esp, 0x224448f
pop dword [esp + 2]
mov ecx, 0x3efba5e
cpuid
setge al
clc
rdtsc
jmp 0x8f7f29
push ebx
mov dh, cl
pop dword [esp + 5]
push word [esp + 3]
mov edx, 0xaa250fd9
dec dx
jmp 0x8f7f3f
Function at 0x8f8017
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bh, dl
xchg bl, al
lea ebp, [esi + ebp]
mov dl, 0xc1
mov esi, ebx
jmp 0x8f8033
push word [esp + 0x16]
rcl bh, cl
clc
neg cx
btr bx, ax
lea edi, [eax*4]
jmp 0x8f808d
rdtsc
push word [esp + 0x12]
mov esi, ebx
pop eax
push dword [esp + 0x16]
mov word [esp + 0x14], bp
jmp 0x8f80a3
xchg dword [esp + 0x15], esi
push word [esp + 7]
bsr esi, esi
sub esp, 9
pushfd
xchg byte [esp + 0x1b], cl
jmp 0x8f8067
mov bh, dl
neg dx
popal
rdtsc
mov ebx, 0x3b03fd03
lea eax, [edi + edi]
jmp 0x8f80fd
pushfd
xchg byte [esp + 3], dl
mov ebx, 0x3fe714d1
add esp, 6
cmc
jmp 0x8f80df
add esp, 7
lea edi, [ecx + ebp]
neg ecx
cpuid
rcr cx, 6
xchg word [esp], dx
jmp 0x8f810e
lea ebp, [ebp + ebp]
xchg ah, dl
rol ah, 6
lea edx, [ebx + esi]
cld
mov dl, 0x34
jmp 0x8f80b5
sub esp, 5
push word [esp + 6]
xchg ecx, ebx
mov dword [esp + 4], eax
xchg esi, edx
mov dx, bp
jmp 0x8f8994
lea edi, [ebx*4]
mov di, word [esp + 1]
jmp 0x8f818b
mov dword [esp], ecx
add esp, 4
mov bp, cx
std
cmc
inc cx
jmp 0x8f8150
dec dh
sub esp, 0x16
mov dword [esp + 2], ebx
rdtsc
lea esp, [esp + 0x12]
jmp 0x8f81bf
mov ebx, 0x5cfb3700
mov byte [esp], al
add esp, 1
clc
lea ecx, [eax*4]
setge dl
jmp 0x8f8175
mov cl, 0xbe
lea edi, [edx + edi]
pushfd
pop ax
mov word [esp + 1], sp
xchg word [esp + 1], di
jmp 0x8f8166
pop bp
lea esi, reloc.RASAPI32.dll_RasHangUpA
pop si
lea edx, [edi + ebp]
mov di, ax
mov ecx, dword [esp]
jmp 0x8f8271
xchg esi, edi
mov word [esp], ax
cld
xchg bl, ch
cmc
mov eax, dword [esp + 1]
jmp 0x8f81ab
not cx
neg eax
call 0x8f820b
mov dh, bh
mov ecx, 0xaeff6154
setle al
mov edi, dword [esp]
bsf edx, edi
jmp 0x8f82b7
rdtsc
std
call fcn.008f82a1
insd dword es:[edi], dx
imul esp, dword [ecx + ebp*2 + 0x53], 0x61657274
insd dword es:[edi], dx
inc ebx
insb byte es:[edi], dx
outsd dx, dword [esi]
jae 0x8f8333
add byte [ebx - 0x863f26e], bh
fistp dword [ebx - 0x79]
xchg edi, edx
neg ebx
pop ebx
xchg edx, esi
xchg edi, edx
mov bh, byte [esp + 1]
mov edi, ebx
jmp 0x8f81e5
lea ebx, [eax + esi]
bsr cx, bx
mov dx, si
mov dword [esp + 8], edx
xchg ebx, ebp
jmp 0x8f8365
in al, dx
add byte [eax + 0xf012474], cl
mov ebp, 0x448f66c2
and al, 0xa
lea eax, [edx*4]
mov word [esp + 9], cx
jmp 0x8f831c
push word [esp + 5]
push edi
pop di
pop si
call fcn.008f8374
dec esp
imul ebp, dword [esi + 0x65], 0x89006f54
push esp
and al, 6
mov dword [esp + 6], edx
bswap edx
pop ax
cmc
lea ecx, [ebx + esi]
std
jmp 0x8f834f
cpuid
pop dx
mov eax, esp
setge bh
xchg ebp, eax
cmc
jmp 0x8f82d3
mov edi, ebx
mov bl, 0x98
bts esi, esp
mov bp, 0x2ae4
cpuid
mov ebp, esi
jmp 0x8f8553