joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445e60
Capabilities:
Encrypt data via sspi
Send data
Send data on socket

Disassembly:
sub esp, 0x4c
mov eax, dword [0x475d80]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
push ebx
push esi
push edi
mov edi, dword [esp + 0x60]
xor esi, esi
push esi
mov dword [esp + 0x18], edi
push eax
mov edi, dword [edi + 0x74]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
call dword [0x46e958]
mov eax, dword [esp + 0x70]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x445ff4
push ebp
mov esi, eax
mov eax, dword [edi + 0x10]
sub esi, ebx
cmp dword [edi + 0x18], esi
cmovb esi, dword [edi + 0x18]
add eax, dword [edi + 0x14]
add eax, esi
push eax
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x445fd2
mov eax, dword [esp + 0x14]
add eax, ebx
push esi
push eax
mov eax, dword [edi + 0x10]
add eax, ebp
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], 7
lea ecx, [eax + ebp]
mov dword [esp + 0x30], ebp
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
lea eax, [ecx + esi]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push 0
push eax
mov eax, dword [esi + 0x74]
push 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], 6
mov dword [esp + 0x5c], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], 0
push dword [eax + 0xc]
call sub.Secur32.dll_EncryptMessage
test eax, eax
js 0x445fb5
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x28]
push 0
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x445fbc
mov esi, dword [esp + 0x10]
add esi, eax
push ebp
mov dword [esp + 0x14], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add ebx, dword [edi + 0x18]
add esp, 4
mov eax, dword [esp + 0x6c]
cmp ebx, eax
jb 0x445ea8
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00463052
add esp, 0x4c
ret
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00463052
add esp, 0x4c
ret
push 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00463052
add esp, 0x4c
ret
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00463052
add esp, 0x4c
ret
Function at 0x4464e0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x98
mov eax, dword [0x475d80]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp]
push ebx
mov ebx, dword [esp + 0xa8]
push esi
push edi
mov edi, dword [esp + 0xa8]
push 0
push ecx
push 0
push 0
push ebx
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov esi, eax
test esi, esi
jne 0x44659b
cmp bx, 1
jne 0x446539
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x446584
cmp bx, 0x1c
jne 0x44657d
push 0x80
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
add esp, 0xc
movups xmm0, xmmword [eax + 0x18]
push 0x80
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
push 0x17
movups xmmword [esp + 0x20], xmm0
call sub.WS2_32.dll_inet_ntop
lea eax, [esp + 0x20]
push eax
jmp 0x446584
mov eax, dword [esp + 0xc]
push dword [eax + 0x18]
push edi
call dword [0x46e8e8]
add esp, 8
push 1
push dword [esp + 0x10]
call sub.DNSAPI.dll_DnsFree
jmp 0x4465d2
cmp esi, 0x251d
je 0x4465c8
cmp esi, 0x25e5
je 0x4465c8
cmp esi, 0x232b
je 0x4465c8
push 0
push edi
call dword [0x46e958]
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x4465d2
push edi
call dword [0x46e94c]
add esp, 4
mov ecx, dword [esp + 0xa0]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00463052
add esp, 0x98
ret
Function at 0x44d3b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push 0x44d440
push esi
push 0x44c850
push edi
call dword [0x46e988]
push 0xffffffffffffffff
push edi
call dword [0x46e994]
add esp, 0x18
push 0
push 0
push esi
push dword [esp + 0x20]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x44d406
push 0
push 0
push 0
push 0
push edi
call dword [0x46e9b0]
add esp, 0x14
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call dword [0x46e98c]
push 0
push 0xffffffffffffffff
push edi
call dword [0x46e8e4]
push eax
push str.async_error_:__s
push edi
call dword [0x46e978]
add esp, 0x20
pop edi
pop esi
ret

Function at 0x44dd70
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
push 0x4761c0
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [esp + 0xc]
push 0x44dd50
push 0x46c4c8
push 0x46c4f0
push 0x465a28
push edi
call dword [0x46e9e4]
mov esi, dword [sym.wluart_static.exe_lua_registerobject]
push 0x46bd28
push 0x46bc88
push 0x446180
push str.Socket
push 0x476834
push edi
call esi
push 0x46bf10
push 0x46bea0
push 0x448d20
push str.Http
push 0x4761ac
push edi
call esi
add esp, 0x44
push 0x46c460
push 0x46c3e0
push 0x44cba0
push 0x46c630
push 0x4761b0
push edi
call esi
add esp, 0x18
mov eax, 1
pop edi
pop esi
ret

Function at 0x44e8d0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push str.AdvAPI32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CryptDecrypt
push eax
mov dword [0x47639c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44e8b0
push 0x46c980
push 0x46c960
push str.crypto
push dword [esp + 0x14]
mov dword [0x476398], eax
call sym.wluart_static.exe_lua_registermodule
push 0x46c734
push 0x46c6fc
push 0x44e350
push str.Cipher
push 0x476830
push dword [esp + 0x2c]
call sym.wluart_static.exe_lua_registerobject
add esp, 0x2c
push 0xf0000000
push 0x18
push 0
push 0
push 0x476394
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov eax, 1
ret
Function at 0x450400
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
call dword [0x46e938]
mov ebx, dword [esp + 0x30]
add esp, 4
mov ebp, dword [sym.wluart_static.exe_lua_tolwstring]
cmp eax, 1
jle 0x450432
push 0
push 2
push esi
call ebp
add esp, 0xc
mov edi, eax
jmp 0x450434
mov edi, ebx
push 0
push 1
push esi
call dword [0x46e968]
push 0
push 0xffffffffffffffff
push esi
call ebp
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ebp, eax
lea eax, [esp + 0x2c]
push eax
push 0x450510
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x7f
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4763b0], eax
test eax, eax
jne 0x450498
push 0x65
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x4763b0], eax
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push 0
or eax, 0x1000
mov dword [esp + 0x1c], edi
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 0x44fe20
push 0
push 0
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edi, ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
je 0x4504de
push edi
call ebx
add esp, 4
push ebp
call ebx
mov eax, dword [esp + 0x20]
push dword [eax*4 + 0x475240]
push esi
call dword [0x46e8e8]
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x450990
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x450510
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x7f
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4763b0], eax
test eax, eax
jne 0x4509de
push 0x65
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x4763b0], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
or eax, 0x1000
push 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x44fe20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
add esp, 0x14
ret
Function at 0x4543f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
push esi
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
lea esi, [ebp*2]
lea ecx, [esi + 2]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
lea ecx, [ebp + 1]
mov edi, eax
push ecx
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
push edi
push dword [esp + 0x18]
call dword [0x46e954]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
ret
Function at 0x456cc0
Capabilities:
Get file attributes
Get file system object information

Disassembly:
sub esp, 0x2c4
mov eax, dword [0x475d80]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
mov ebx, dword [esp + 0x2cc]
push ebp
push esi
mov esi, dword [esp + 0x2d8]
push 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x2b4
mov ebp, eax
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
call dword [0x46e938]
add esp, 0x10
cmp eax, 1
jle 0x456e84
push 2
push ebx
call dword [0x46e940]
add esp, 8
test eax, eax
je 0x456e84
push edi
cmp eax, 5
jne 0x456da5
lea eax, [esp + 0x18]
push eax
push 2
push ebx
call dword [0x46ea50]
mov ecx, dword [sym.wluart_static.exe_TBuffer]
add esp, 0xc
mov edi, dword [esp + 0x18]
mov edx, eax
cmp edi, dword [ecx]
jne 0x456d90
push 0
push 0x10
push 0x10
push 0x30000
push 1
push dword [edx + 4]
push dword [edx + 8]
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.00463052
add esp, 0x2c4
ret
mov eax, dword [sym.wluart_static.exe_TWidget]
cmp edi, dword [eax]
jne 0x456da5
push dword [edx + 0x30]
push ebp
call dword [sym.imp.SHELL32.dll_DuplicateIcon]
jmp 0x456d77
push 2
push ebx
mov dword [esp + 0x1c], 0
call dword [0x46e9d8]
mov edi, eax
add esp, 8
mov edx, edi
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x456dc0
sub edx, eax
xor ecx, ecx
push 1
sar edx, 1
lea eax, [esp + 0x14]
push eax
test esi, esi
lea eax, [esp + 0x1c]
movzx ebp, word [edi + edx*2 - 2]
cmove eax, ecx
push eax
push ecx
push 1
push 3
push ebx
call dword [0x46e974]
add esp, 0x10
dec eax
push eax
push edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov ebx, eax
test esi, esi
je 0x456e19
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
jmp 0x456e23
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_DestroyIcon]
test ebx, ebx
je 0x456e2c
cmp ebx, 0xffffffff
jne 0x456e71
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp ebp, 0x5c
je 0x456e47
cmp ebp, 0x2f
je 0x456e47
xor ecx, ecx
cmp eax, 0xffffffff
cmove eax, ecx
jmp 0x456e4c
mov eax, 0x10
neg esi
lea ecx, [esp + 0x1c]
sbb esi, esi
add esi, 0x111
push esi
push 0x2b4
push ecx
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
jmp 0x456d77
mov ecx, dword [esp + 0x2cc]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00463052
add esp, 0x2c4
ret
Function at 0x4593f0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
push esi
push 2
push 1
push 0x476404
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ax, word [0x476404]
add esp, 0x20
cmp al, 0xff
jne 0x45942f
cmp byte [0x476405], 0xfe
jne 0x45945f
mov eax, 2
pop esi
ret
cmp al, 0xef
jne 0x45945f
cmp byte [0x476405], 0xbb
jne 0x45945f
push esi
push 1
push 1
push 0x476404
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp byte [0x476404], 0xbf
jne 0x45945f
mov eax, 1
pop esi
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
add esp, 0x10
xor eax, eax
pop esi
ret
Function at 0x46419f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4641de
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4641de
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4641de
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4641de
cmp dword [ecx + 0x74], 0xe
jbe 0x4641de
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4010e0
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push edi
push 4
push 0x3000
mov esi, 0x1e5d70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push eax
cmp eax, 0x11
je 0x4010ad
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test edi, edi
je 0x4010dc
nop
mov al, al
push 0xf1b30
push 0
push edi
call fcn.00423930
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401108
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x401088

Function at 0x401274
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00423930
push esi
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00423930
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x18
push 0x439b7c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439b80
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439b84
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439b88
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439b8c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439b90
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439b94
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439b98
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439b9c
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ba0
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ba4
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ba8
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439bac
lea eax, [ebp - 0x108]
push eax
call esi
lea esi, [ebp - 0x20c]
call fcn.0041130c
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x401395
test cl, cl
je 0x401391
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x401395
add eax, 2
add esi, 2
test cl, cl
jne 0x401375
xor eax, eax
jmp 0x40139a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
lea esi, [ebp - 0x108]
call fcn.004112da
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4013c9
test cl, cl
je 0x4013c5
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4013c9
add eax, 2
add esi, 2
test cl, cl
jne 0x4013a9
xor eax, eax
jmp 0x4013ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041cd30
leave
ret

Function at 0x40147a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
push ecx
mov ecx, dword [eax + 2]
mov dword [ebp - 4], ecx
pop ecx
leave
ret
Function at 0x40149d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0x4014db
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014e5
mov edi, dword [edi]
cmp edi, esi
jne 0x4014c9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0x4014e1

Function at 0x401656
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push 0x104
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4017f9
push str.delays.tmp
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x624], edi
mov esi, 0xfffff
push edi
push 0x100
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
mov ebx, eax
call dword [sym.imp.msvcrt.dll__time64]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
push edx
push ebx
call fcn.00423930
add esp, 0xc
push edi
lea eax, [ebp - 0x628]
push eax
push esi
push ebx
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x628], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00423930
add esp, 0xc
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x4000100
push 3
push edi
push edi
push SysReAllocString
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
push edi
lea ecx, [ebp - 0x62c]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x62c], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00423930
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x624]
cmp dword [ebp - 0x624], 0x3e8
jb 0x4016c0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cd30
leave
ret
xor eax, eax
jmp 0x4017ea
Function at 0x4047d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x404837
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x404809
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x404a2f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x404a5f
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x404a6d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041cd30
leave
ret
Function at 0x406955
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.00410ba0
lea eax, [ebp - 0x980]
push eax
call fcn.00404aa7
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x4359db
lea esi, [ebp - 0x8f8]
call fcn.00410b6e
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x6e8ee4]
push dword [0x6e8bac]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x6e8fc0]
test eax, eax
jne 0x4069dc
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x406b60
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x6e8fe4]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x406b54
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x6e89f8]
push dword [ebp - 0x918]
push 0x436a28
push dword [ebp - 0x8e8]
call dword [0x6e9024]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x406b48
cmp esi, ebx
je 0x406a75
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x6e8ddc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x6e8fac]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x6e903c]
test eax, eax
jne 0x406abd
push 0x436a2c
mov esi, dword [ebp - 0x8d8]
call fcn.00410b6e
jmp 0x406b71
lea edx, [ebp - 0x104]
call fcn.00412184
cmp eax, 0xc8
jne 0x406b9d
cmp esi, ebx
je 0x406b3c
mov edi, 0x7cf
jmp 0x406b1d
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x406b3c
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.00410c90
lea esi, [ebp - 0x8f8]
call fcn.00410c14
mov eax, dword [ebp - 0x908]
call fcn.00402910
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x6e8f0c]
test eax, eax
jne 0x406ade
push dword [ebp - 0x8e0]
call dword [0x6e8ee0]
push dword [ebp - 0x8e8]
call dword [0x6e8ee0]
push dword [ebp - 0x8dc]
call dword [0x6e8ee0]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.00410ba0
mov eax, dword [ebp - 0x8f8]
call fcn.00402910
mov eax, dword [ebp + 0xc]
call fcn.00402910
mov eax, dword [ebp + 0x18]
call fcn.00402910
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cd30
leave
ret
push str.ERROR
jmp 0x406aad