joyce8/EMBER2024-capa huggingface dataset:
Function at 0x538654
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x53868c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x53866a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x538679
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x538688
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x539a28
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x56281c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x539a4e
push 0
mov eax, dword [0x56281c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x53a090
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x53a0a0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x53a0b5
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x53a1b8
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x14], 0
je 0x53a1cd
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.0053a124
mov esi, eax
mov eax, ebx
call fcn.00403890
mov eax, esi
pop esi
pop ebx
ret

Function at 0x53a89c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffff0
lea eax, [esp + 0xc]
push eax
push 0x53a908
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x53a8f9
mov dword [esp], 4
push esp
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x53a938
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x53a8e6
cmp byte [esp + 4], 1
sete bl
jmp 0x53a8ed
call fcn.0053a7cc
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x53a900
call fcn.0053a7cc
mov ebx, eax
mov eax, ebx
add esp, 0x10
pop ebx
ret
Function at 0x53ad30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bc0
xor eax, eax
push ebp
push 0x53adf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x53ae08
call fcn.00404d14
test eax, eax
jne 0x53ad78
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x53ae14
call fcn.00404a1c
test bl, bl
je 0x53adb7
lea edx, [ebp - 8]
mov eax, 0x53ae24
call fcn.0053a9b0
cmp dword [ebp - 8], 0
je 0x53adb7
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404bd0
push eax
mov eax, dword [ebp - 8]
call fcn.00404bd0
push eax
push 0x53ae2c
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x53add6
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404bd0
push eax
push 0x53ae2c
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53adf8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404724
ret

Function at 0x53ae34
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53aeef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x106]
mov ecx, 0x106
call fcn.00404980
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040e340
mov eax, dword [ebx]
call fcn.0053b2f0
test al, al
jne 0x53aed1
lea edx, [ebp - 0x114]
mov eax, dword [0x56281c]
mov eax, dword [eax]
call fcn.00482288
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00409d3c
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040e340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53aef6
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404724
ret

Function at 0x53aefc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53af66
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.0040a5a4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040e340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53af6d
lea eax, [ebp - 0x10c]
call fcn.00404700
ret
Function at 0x53af74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53afe3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x106]
mov ecx, 0x106
call fcn.00404980
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040e340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53afea
lea eax, [ebp - 0x10c]
call fcn.00404700
ret

Function at 0x53aff0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53b17c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, 0xc
jne 0x53b01e
mov eax, esi
call fcn.00404700
jmp 0x53b161
cmp bl, 1
jb 0x53b09b
cmp bl, 4
ja 0x53b09b
dec bl
je 0x53b046
dec bl
je 0x53b054
dec bl
je 0x53b062
dec bl
jne 0x53b070
mov eax, esi
mov edx, 0x53b194
call fcn.00404754
jmp 0x53b077
mov eax, esi
mov edx, 0x53b1a4
call fcn.00404754
jmp 0x53b077
mov eax, esi
mov edx, 0x53b1b4
call fcn.00404754
jmp 0x53b077
mov eax, esi
mov edx, 0x53b1c8
call fcn.00404754
jmp 0x53b077
mov eax, esi
call fcn.00404700
lea eax, [ebp - 4]
push eax
mov edx, dword [esi]
mov ecx, 0x80000001
mov eax, 0x53b1dc
call fcn.0053b6b0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00404754
jmp 0x53b14d
mov eax, esi
call fcn.0053af74
cmp bl, 6
je 0x53b14d
xor eax, eax
mov al, bl
add eax, 0xfffffffb
cmp eax, 6
ja case.0x53b0bb.6
jmp dword [eax*4 + 0x53b0c2]
mov eax, esi
mov edx, 0x53b228
call fcn.004049d8
jmp 0x53b14d
mov eax, esi
mov edx, 0x53b238
call fcn.004049d8
jmp 0x53b14d
mov eax, esi
mov edx, 0x53b248
call fcn.004049d8
jmp 0x53b14d
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
mov ecx, 3
mov edx, 1
call fcn.00404c30
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x53b258
call fcn.00404a1c
jmp 0x53b14d
mov eax, esi
call fcn.0053aefc
jmp 0x53b14d
mov eax, esi
call fcn.0053ae34
jmp 0x53b14d
mov eax, esi
mov edx, dword [0x564244]
call fcn.00404754
lea edx, [ebp - 0xc]
mov eax, dword [esi]
call fcn.0040e340
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404754
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b183
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404724
ret

Function at 0x53b2f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404bd0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x53b309
test al, 0x10
jne 0x53b30d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x53b4e4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.0053ca98
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
setae al
add esp, 0x94
ret
Function at 0x53c874
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, esi
call fcn.00404bd0
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x53c92e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetFileTime
fld qword [ebp + 0x18]
fcomp dword [0x53c938]
fnstsw ax
sahf
je 0x53c8d8
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 8]
call fcn.0053c820
fld qword [ebp + 8]
fcomp dword [0x53c938]
fnstsw ax
sahf
je 0x53c8f4
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.0053c820
fld qword [ebp + 0x10]
fcomp dword [0x53c938]
fnstsw ax
sahf
je 0x53c910
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
call fcn.0053c820
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x53c978
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, ebx
call fcn.00404bd0
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x53c9d3
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, dword [esp + 8]
call fcn.0053c93c
mov dword [esp], eax
mov dword [esp + 4], edx
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
pop ebx
ret

Function at 0x53c9e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x53ca63
push ecx
push edx
push edi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x53ca63
push ebx
push edi
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x53ca63
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_FreeResource
cmp dword [ebp - 8], 0
je 0x53ca63
push ebx
push edi
call sub.kernel32.dll_SizeofResource
test eax, eax
je 0x53ca63
xor edx, edx
push ebp
push 0x53ca59
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.0041d290
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ca63
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x53cb60
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
test byte [esp], 1
je 0x53cb73
add ebx, 0x20
test byte [esp], 2
je 0x53cb7c
add ebx, 2
test byte [esp], 4
je 0x53cb83
inc ebx
test byte [esp], 8
je 0x53cb8c
add ebx, 4
test byte [esp], 0x10
je 0x53cb98
add ebx, 0x100
test byte [esp], 0x20
je 0x53cba4
add ebx, 0x1000
push ebx
mov eax, esi
call fcn.00404bd0
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb eax, eax
inc eax
pop edx
pop esi
pop ebx
ret

Function at 0x53cd28
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x53ce35
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
xor ebx, ebx
xor eax, eax
push ebp
push 0x53ce13
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x53cde7
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, esi
call fcn.0053cf58
cmp dword [ebp - 0xc], 0
je 0x53cde6
cmp dword [ebp - 8], 0xffffffff
jne 0x53cd9d
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
mov eax, edi
call fcn.00404bd0
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, esi
call fcn.0053cf58
mov eax, dword [ebp - 0x10]
call fcn.004049d0
add eax, 2
push eax
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
call fcn.0053cf58
lea eax, [ebp - 0x14]
mov edx, 0x53ce4c
call fcn.004049d8
mov eax, dword [ebp - 0x14]
call fcn.00404bd0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
inc ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x53cd63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ce1a
cmp dword [ebp - 8], 0xffffffff
je 0x53ce12
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x53e15c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bc0
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x53e2e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x53e300
call fcn.00404d14
test eax, eax
jne 0x53e1a7
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x53e30c
call fcn.00404a1c
mov eax, esi
mov edx, 0x3c
call fcn.0053ca98
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402abc
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402abc
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402abc
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402abc
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402abc
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402abc
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004049d0
push eax
mov eax, dword [ebp - 4]
call fcn.00404bd0
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x53e29d
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404908
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404908
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404908
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404908
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404908
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404908
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402aec
mov eax, dword [esi + 0x2c]
call fcn.00402aec
mov eax, dword [esi + 0x24]
call fcn.00402aec
mov eax, dword [esi + 0x1c]
call fcn.00402aec
mov eax, dword [esi + 0x10]
call fcn.00402aec
mov eax, dword [esi + 4]
call fcn.00402aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e2ea
lea eax, [ebp - 4]
call fcn.00404700
ret

Function at 0x53e504
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x53e51d
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x53e52a
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x53e548
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53e56c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x53e5b3
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00404974
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00404974
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53e8e4
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x53e901
add esp, 0xfffffff0
call fcn.00403c08
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x53ea00
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x53e94e
mov eax, esi
call fcn.00404bd0
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
mov eax, edi
and eax, 2
cmp eax, 2
je 0x53e93f
mov eax, edi
and eax, 1
cmp eax, 1
jne 0x53e94e
push 0x20
mov eax, esi
call fcn.00404bd0
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
xor eax, eax
mov al, byte [ebp + 0xc]
mov eax, dword [eax*4 + 0x562334]
push eax
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.00404bd0
push eax
call sub.kernel32.dll_CreateFileA
mov ecx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d480
cmp dword [ebx + 4], 0
jge 0x53e9d1
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00409df0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040ce28
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [0x562a44]
mov dl, 1
mov eax, dword [0x417a4c]
call fcn.0040d738
call fcn.00404070
cmp byte [ebp + 8], 0
je 0x53e9e5
push edi
mov eax, esi
call fcn.00404bd0
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ea07
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404724
ret
Function at 0x53f2b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x53f3cd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.0053f178
pop ecx
test al, al
je 0x53f3a8
mov eax, dword [ebp + 8]
push eax
call fcn.0053efbc
pop ecx
test al, al
jne 0x53f3a8
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x53f3a8
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.0053effc
pop ecx
test al, al
je 0x53f3a8
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404980
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004093f8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x188], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x188]
cmp esi, 0xc8
je 0x53f373
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x53f3a8
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.0053effc
pop ecx
test al, al
je 0x53f3a8
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404980
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004093f8
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0053efbc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f3d4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404724
ret
Function at 0x544178
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x544321
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x564260]
call fcn.00409be4
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x564260]
call fcn.00404bd0
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x544256
mov dl, 1
mov eax, dword [0x41883c]
call fcn.00403860
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x544246
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x544330
mov edx, 0x544330
mov eax, dword [0x563668]
call fcn.0053c9e0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54424d
mov eax, dword [ebp - 0x10]
call fcn.00403890
ret
lea edx, [ebp - 0x20]
mov eax, dword [0x56281c]
mov eax, dword [eax]
call fcn.00482288
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409d3c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov ecx, 0x544340
call fcn.00404a1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
mov edx, dword [ebp - 0x18]
call fcn.0053cd28
push 0x54435c
push dword [0x564260]
push 0x544368
mov eax, dword [0x5629cc]
push dword [eax]
push 0x544368
push dword [ebp - 8]
push 0x54435c
lea eax, [ebp - 0x18]
mov edx, 7
call fcn.00404a90
mov eax, dword [ebp - 0x18]
call fcn.00404bd0
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0054436c
mov eax, dword [ebp - 4]
mov byte [eax + 0x26c], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x202], 0
je 0x544301
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
call dword [ebx + 0x200]
jmp 0x544306
call fcn.0053ca70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544328
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404724
ret

Function at 0x54436c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffac
mov esi, ecx
mov ebx, edx
mov eax, esp
xor ecx, ecx
mov edx, 0x44
call fcn.00403284
mov dword [esp], 0x44
mov dword [esp + 0x2c], 1
mov word [esp + 0x30], si
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x5443dd
push 0xffffffffffffffff
mov eax, dword [esp + 0x48]
push eax
call sub.user32.dll_WaitForInputIdle
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp + 0x44]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
add esp, 0x54
pop esi
pop ebx
ret