joyce8/EMBER2024-capa huggingface dataset:
Function at 0x693650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6937e2
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00604c80
mov dword [ebp - 8], eax
mov edx, 0x693800
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 1
mov eax, dword [0x5ccd4c]
call fcn.005e4a34
mov ebx, eax
mov edx, 0x693824
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, 0x693824
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, 0x1a
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push 0x100
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov dl, 1
mov eax, dword [0x5ccd4c]
call fcn.005e4a34
mov esi, eax
mov edx, 0x693848
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, 0x693848
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, 0x1a
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push 0x100
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dl, 1
mov eax, dword [0x5ccd4c]
call fcn.005e4a34
mov edi, eax
mov edx, 0x693874
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, 0x693874
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, 0x1a
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push 0x100
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dl, 1
mov eax, dword [0x5ccd4c]
call fcn.005e4a34
mov dword [ebp - 0xc], eax
mov edx, 0x693898
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, 0x693898
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, 0x1a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push 0x100
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push 4
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5cd7dc]
call fcn.00409784
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax], ebx
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov eax, dword [ebp - 4]
mov dword [eax + 8], edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6937e9
lea eax, [ebp - 4]
mov edx, dword [0x5cd7dc]
call fcn.004098a8
ret
Function at 0x693bcc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x693c79
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00604c80
mov esi, eax
mov edx, 0x693c94
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 1
mov eax, dword [0x5ccd4c]
call fcn.005e4a34
mov ebx, eax
mov edx, 0x693cbc
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, 0x693cbc
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, 0x1a
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push 0x100
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push 1
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5cd7dc]
call fcn.00409784
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax], ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x693c80
lea eax, [ebp - 4]
mov edx, dword [0x5cd7dc]
call fcn.004098a8
ret

Function at 0x69ce48
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x69ced1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x79460c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x69cebb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00423004
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x69ceec
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x78e034]
mov dl, 1
mov eax, dword [0x69b588]
call fcn.0042414c
call fcn.00406b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69ced8
lea eax, [ebp - 0x1c]
call fcn.00407454
ret

Function at 0x69d61c
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x69d678]
cmp al, byte [ebx + 0x28]
je 0x69d640
mov esi, 0x401
mov eax, ebx
call fcn.0069d788
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x69d678]
cmp al, byte [ebx + 0x28]
jne 0x69d670
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x69d710
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0069d61c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00405b24
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x69d778
call fcn.0069cd90
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x69d766
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00405b24
pop esi
pop ebx
ret
Function at 0x69dc00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x69dc8c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.00407e30
mov eax, dword [ebp - 0xc]
call fcn.00407d14
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00405008
test ebx, ebx
je 0x69dc70
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69dc93
lea eax, [ebp - 0xc]
call fcn.00407478
ret

Function at 0x69def8
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x69df29
mov ecx, dword [0x78dd04]
mov dl, 1
mov eax, dword [0x69b588]
call fcn.0042407c
call fcn.00406b58
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x69df56
mov ecx, dword [0x78db94]
mov dl, 1
mov eax, dword [0x69b588]
call fcn.0042407c
call fcn.00406b58
xor eax, eax
push ebp
push 0x69dfd2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00405b24
cmp byte [ebp + 8], 0
je 0x69dfae
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0069dd14
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0069d710
jmp 0x69dfc8
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0069d0a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69dfef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x69e1fc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0069d4bc
xor eax, eax
push ebp
push 0x69e36f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x69e359
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x69e248
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x69e252
call fcn.00406c4c
jmp 0x69e376
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0044b570
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x69e34e
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x69e301
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x69e2ee
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00405b24
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0069e1b4
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x69e384]
cmp dl, byte [eax + 0x28]
je 0x69e355
call fcn.00423f30
jmp 0x69e355
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0044b590
jmp 0x69e355
cmp edi, ebx
jge 0x69e31d
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0044b590
jmp 0x69e252
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0044b570
cmp edx, dword [esp + 4]
jne 0x69e33d
cmp eax, dword [esp]
pop edx
pop eax
jne 0x69e252
push ebp
call fcn.0069e1b4
pop ecx
jmp 0x69e355
push ebp
call fcn.0069e1b4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69e376
mov eax, dword [ebp - 4]
call fcn.0069d4c4
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69e3b8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x69e4da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0069d4bc
xor eax, eax
push ebp
push 0x69e4bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x69e408
call fcn.00406c4c
jmp 0x69e4c4
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x69e4a7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x69e4a7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00405b24
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x69e4a7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00423004
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x69e4f8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x78e034]
mov dl, 1
mov eax, dword [0x69b588]
call fcn.0042414c
call fcn.00406b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69e4c4
mov eax, dword [ebp - 4]
call fcn.0069d4c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69e4e1
lea eax, [ebp - 0x28]
call fcn.00407454
ret
Function at 0x69e548
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x69e6b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0069d4bc
xor eax, eax
push ebp
push 0x69e69c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x69e5ad
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x69e5ad
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x69e686
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x69e5c0
call fcn.00406c4c
jmp 0x69e6a3
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x69e5e7
cmp dword [ebp - 0x10], 0
jle 0x69e5e7
cmp ebx, dword [ebp - 0x10]
jle 0x69e5e7
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x69e686
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x69e686
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00405b24
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x69e686
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00423004
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x69e6d8
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x78e034]
mov dl, 1
mov eax, dword [0x69b588]
call fcn.0042414c
call fcn.00406b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69e6a3
mov eax, dword [ebp - 4]
call fcn.0069d4c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69e6c0
lea eax, [ebp - 0x2c]
call fcn.00407454
ret
Function at 0x6a4484
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x6a454c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x38]
mov esi, dword [eax + 0x30]
mov eax, dword [ebx + 0x38]
mov dword [esi + 4], eax
movzx eax, byte [ebx + 0x11]
mov byte [esi + 0x28], al
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x38], eax
lea edx, [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 4]
lea eax, [esi + 0xc]
call fcn.00407834
lea edx, [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x10]
call fcn.00407834
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x40], eax
movzx eax, byte [ebx + 0x5c]
mov byte [esi + 0x14], al
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x38]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
jle 0x6a452a
mov edx, eax
mov eax, dword [ebx + 0x4c]
call fcn.006a3f9c
mov byte [ebx + 0x5c], 0
mov ebx, dword [esi + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a4553
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074b4
ret

Function at 0x6ff9e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov eax, 8
test byte [edx + 1], 0x80
setne bl
movzx esi, word [edx]
add esi, esi
movzx edi, cl
shr edi, 7
or si, di
mov word [edx], si
test bl, bl
je 0x6ffa11
xor word [edx], 0x1021
add ecx, ecx
and cl, 0xff
dec eax
jne 0x6ff9f0
pop edi
pop esi
pop ebx
ret
Function at 0x70f324
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x70f352
mov eax, ebx
call fcn.0070fdd8
cmp dword [ebx + 0x40], 0
je 0x70f34b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x70f3c3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x70f3b5
cmp dword [ebx + 8], 0
je 0x70f374
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x70f386
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x70f3b5
cmp dword [ebx + 8], 0
je 0x70f367
cmp eax, 3
je 0x70f399
dec eax
jne 0x70f367
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x70f367
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x70f367
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x70f3e1
cmp dword [ebx + 0x14], 0xcc
je 0x70f3e1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0070f3ec
pop ebx
ret
Function at 0x77735c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20e]
push eax
push 0
push 0
push 0x1c
push 0
call sub.SHFolder.dll_SHGetFolderPathW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.004083ec
mov esp, ebp
pop ebp
ret

Function at 0x777394
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x777420
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x467538]
call fcn.00468674
mov dword [ebp - 8], eax
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0046875c
xor ecx, ecx
mov edx, 0x777438
mov eax, dword [ebp - 8]
call fcn.004688a4
lea edx, [ebp - 0xc]
mov eax, dword [0x78ddec]
mov eax, dword [eax]
call fcn.004dc2f0
mov ecx, dword [ebp - 0xc]
mov edx, 0x7774a0
mov eax, dword [ebp - 8]
call fcn.004691b8
mov eax, dword [ebp - 8]
call fcn.0046872c
mov eax, dword [ebp - 8]
call fcn.00405888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x777427
lea eax, [ebp - 0xc]
call fcn.00407454
ret
Function at 0x4019e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401a40
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40539c]
test esi, esi
jle 0x401b40
mov eax, dword [0x4053a0]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401a70
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401aef
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401a60
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401b67
mov eax, dword [0x4053a0]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x4053a0]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b47
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401ae8
sub eax, 4
and eax, 0xfffffffb
jne 0x401af6
add dword [0x40539c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x4053a0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401ae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
xor esi, esi
jmp 0x401a7a
mov eax, dword [0x4053a0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x402020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x402075
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40206e
test esi, esi
je 0x40206e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402050
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401ba6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
mov esi, dword [0x405138]
xor ebx, ebx
push edi
mov edi, ecx
push dword [edi + 0xc]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x10]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x14]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x18]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x20]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x1c]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call esi
mov eax, dword fs:[0x30]
push edi
push ebx
push dword [eax + 0x18]
call esi
pop edi
pop esi
pop ebx
ret