joyce8/EMBER2024-capa huggingface dataset:
Function at 0x522e0c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
call sub.kernel32.dll_GetCurrentProcessId
mov ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edi]
shr eax, 0x10
shl eax, 0x10
mov dword [edi], eax
mov eax, ebx
shl eax, 0x10
sub dword [edi], eax
mov eax, dword [edi]
xor edx, edx
div esi
imul esi
mov dword [edi], eax
push 4
push 0x3000
push esi
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x522ea0
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
je 0x522ea0
push 0x8000
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
inc ebx
jmp 0x522f3c
cmp dword [esp + 0x10], 0
jne 0x522f45
push 0x1c
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x48], 0x118
jb 0x522f37
mov eax, dword [esp + 0x50]
and eax, 4
cmp eax, 4
jne 0x522f37
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x522ef2
cmp eax, dword [esp]
pop edx
pop eax
jne 0x522f37
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x110]
cmp edx, dword [esp + 4]
jne 0x522f1f
cmp eax, dword [esp]
pop edx
pop eax
jne 0x522f37
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.0040359c
je 0x522f45
inc ebx
xor eax, eax
mov dword [edi], eax
cmp ebx, 0x14
jle 0x522e45
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
je 0x522fc3
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x522fe9
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
call fcn.004034f0
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [edi]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [edi]
mov dword [eax + 0x108], 1
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [eax], 1
jmp 0x522fe9
cmp dword [edi], 0
je 0x522fe9
mov eax, dword [edi]
inc dword [eax + 0x108]
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x525ed4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x525f59
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040360c
mov dword [ebp - 0x26], ebx
mov dword [ebp - 0x22], 3
lea eax, [ebp - 8]
mov ecx, 0x525f70
mov edx, esi
call fcn.00404fc0
mov eax, dword [ebp - 8]
call fcn.00405174
mov dword [ebp - 0x1e], eax
mov al, byte [ebp - 1]
call fcn.00525eac
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x525f60
lea eax, [ebp - 8]
call fcn.00404cb4
ret

Function at 0x5266f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5268b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.0040360c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x5a719c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5a71a0], eax
mov eax, dword [ebp - 0x24]
mov dword [0x5a71a4], eax
mov eax, dword [0x5a8ac0]
cmp dword [eax], 2
sete byte [0x5a6c54]
push 0x5268bc
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00527a94
cmp byte [0x5a6c54], 0
jne 0x52677c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00527ac4
test al, al
je 0x52677c
mov eax, dword [ebp - 0x4c]
mov dword [0x5ad0e0], eax
jmp 0x526783
xor eax, eax
mov dword [0x5ad0e0], eax
call fcn.00526468
and eax, 0x7f
cmp eax, 0x10
ja case.0x526794.0
jmp dword [eax*4 + 0x52679b]
mov byte [0x5a6c40], 1
jmp case.0x526794.0
mov byte [0x5a6c44], 1
jmp case.0x526794.0
mov byte [0x5a6c48], 1
jmp case.0x526794.0
mov byte [0x5a6c4c], 1
jmp case.0x526794.0
mov byte [0x5a6c50], 1
jmp case.0x526794.0
mov byte [0x5a6c58], 1
mov byte [0x5a6c5c], 1
jmp case.0x526794.0
mov byte [0x5a6c58], 1
mov byte [0x5a6c60], 1
jmp case.0x526794.0
mov byte [0x5a6c58], 1
mov byte [0x5a6c60], 1
mov byte [0x5a6c64], 1
jmp case.0x526794.0
mov byte [0x5a6c68], 1
jmp case.0x526794.0
mov byte [0x5a6c6c], 1
jmp case.0x526794.0
mov byte [0x5a6c70], 1
jmp case.0x526794.0
mov byte [0x5a6c74], 1
jmp case.0x526794.0
mov byte [0x5a6c78], 1
jmp case.0x526794.0
mov byte [0x5a6c7c], 1
jmp case.0x526794.0
mov byte [0x5a6c80], 1
jmp case.0x526794.0
mov byte [0x5a6c84], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5268b7
lea eax, [ebp - 4]
call fcn.00404cb4
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405174
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x527915
test al, 0x10
jne 0x527919
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x527954
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x527972
push ebx
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x52796a
test al, 0x10
je 0x52796e
xor eax, eax
jmp 0x527974
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x527ac4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x527b6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405174
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x527b55
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00405300
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405174
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x527b55
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527b7c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x527b55
cmp dword [ebp - 8], 0x34
jne 0x527b55
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527b72
lea eax, [ebp - 0x10]
call fcn.00404cb4
ret

Function at 0x5324d8
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 dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x532577
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.0040d2f0
mov edx, dword [ebp - 0x108]
lea eax, [ebx + 0x44]
call fcn.00404d08
lea edx, [ebp - 0x10c]
mov eax, dword [ebx + 0x44]
call fcn.00411410
mov edx, dword [ebp - 0x10c]
lea eax, [ebx + 0x44]
mov ecx, 0x53258c
call fcn.00404fc0
mov eax, dword [ebx + 0x44]
call fcn.0040ca74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53257e
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404cd8
ret
Function at 0x533374
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5334ca
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x48], eax
lea edx, [ebp - 8]
mov eax, dword [0x5a80ac]
call fcn.004070b8
mov edx, dword [ebp - 8]
or ecx, 0xffffffff
mov eax, ebx
call fcn.005331f0
cmp byte [ebx + 0x4d], 0
je 0x5333c6
lea eax, [ebx + 0x3c]
mov ecx, 0x5334e0
mov edx, dword [ebx + 0x44]
call fcn.00404fc0
jmp 0x5333d6
lea eax, [ebx + 0x3c]
mov ecx, 0x533500
mov edx, dword [ebx + 0x44]
call fcn.00404fc0
push 0
push 0
mov cl, 1
mov dl, 1
mov eax, dword [0x597d1c]
call fcn.005983e4
mov esi, eax
mov dword [esi + 0x20], 1
cmp byte [ebx + 0x4d], 0
je 0x533406
lea eax, [esi + 8]
mov edx, 0x533518
call fcn.00404d08
jmp 0x533483
lea eax, [ebp - 4]
call fcn.00533248
test al, al
jne 0x53341a
lea eax, [ebp - 4]
call fcn.00404cb4
mov eax, dword [ebp - 4]
call fcn.00405174
mov edx, 0x53354c
call fcn.0040d1d0
test eax, eax
jne 0x53343f
lea eax, [esi + 8]
mov edx, 0x53355c
call fcn.00404d08
jmp 0x53344c
lea eax, [esi + 8]
mov edx, 0x533594
call fcn.00404d08
push dword [esi + 8]
push 0x5335d0
lea edx, [ebp - 0x10]
mov eax, dword [0x5a8550]
mov eax, dword [eax]
call fcn.0046f7fc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov edx, 0x5335dc
call fcn.00592ba8
push dword [ebp - 0xc]
lea eax, [esi + 8]
mov edx, 3
call fcn.00405034
lea eax, [esi + 0x10]
mov edx, dword [ebx + 0x3c]
call fcn.00404d08
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], 0x53307c
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 0x532a60
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.0059817c
mov dword [ebx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5334d1
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404cd8
ret

Function at 0x5339b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040360c
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 1
xor eax, eax
push ebp
push 0x533a4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, esi
call fcn.00405174
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test bl, bl
jne 0x533a19
mov bl, 1
jmp 0x533a45
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533a62
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x533a6c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405164
mov eax, dword [ebp - 8]
call fcn.00405164
xor eax, eax
push ebp
push 0x533b12
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00533b24
mov ecx, esi
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040cd34
xor eax, eax
push ebp
push 0x533aed
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [esi]
call fcn.00405174
push eax
mov eax, dword [ebp - 4]
call fcn.00405174
push eax
call sub.kernel32.dll_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533af7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533b19
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cd8
ret

Function at 0x53acf0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405164
xor eax, eax
push ebp
push 0x53add3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x10d]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
push 0x53ade4
lea eax, [ebp - 0x10d]
push eax
call sub.shlwapi.dll_PathAppendA
mov eax, dword [ebp - 4]
call fcn.00405174
mov esi, eax
push esi
lea eax, [ebp - 0x10d]
push eax
call sub.shlwapi.dll_PathAppendA
mov eax, dword [ebx + 8]
call fcn.00405174
mov edx, eax
lea eax, [ebp - 0x212]
mov ecx, 0x105
call fcn.0040d124
push esi
lea eax, [ebp - 0x212]
push eax
call sub.shlwapi.dll_PathAppendA
lea ecx, [ebp - 0x212]
lea edx, [ebp - 0x10d]
mov eax, ebx
call fcn.0053b078
lea eax, [ebp - 0x10d]
push eax
call sub.shlwapi.dll_PathFileExistsA
test eax, eax
je 0x53adb5
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 4]
push eax
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [0x5a875c]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x53adb9
xor eax, eax
jmp 0x53adbb
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53adda
lea eax, [ebp - 4]
call fcn.00404cb4
ret
Function at 0x53b358
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405164
mov eax, dword [ebp - 8]
call fcn.00405164
xor eax, eax
push ebp
push 0x53b45e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x10], 0
je 0x53b3b3
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00405554
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
call dword [esi + 0x2c]
jmp 0x53b41f
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040cdc8
mov eax, dword [ebp - 0xc]
call fcn.0040ca74
push 0
mov eax, dword [ebp - 4]
call fcn.00405174
mov edi, eax
push edi
mov eax, dword [ebp - 8]
call fcn.00405174
mov esi, eax
push esi
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x53b41f
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], 6
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x20], 6
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x2c]
mov ecx, 2
mov eax, 0x53b474
call fcn.0040d808
mov eax, dword [ebp - 0x14]
call fcn.00592d9c
mov eax, dword [ebp - 4]
call fcn.005959c4
add eax, dword [ebx + 0x18]
adc edx, dword [ebx + 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b465
lea eax, [ebp - 0x14]
call fcn.00404cb4
lea eax, [ebp - 0x10]
call fcn.004053c0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cd8
ret
Function at 0x544eb4
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x544ebd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x544fde
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004053c0
xor eax, eax
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
push ebx
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp dword [ebp - 8], 0
jbe 0x544f72
mov eax, dword [ebp - 8]
inc eax
call fcn.0040bcf4
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
push ebx
call sub.winhttp.dll_WinHttpQueryHeaders
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00404edc
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x544ffc
call fcn.00404fc0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00405554
mov eax, dword [ebp - 0x10]
call fcn.005449e8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405518
mov eax, dword [ebp - 0xc]
call fcn.00402e34
mov byte [ebp - 1], 1
jmp 0x544fa6
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040c5f0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x54500c
call fcn.00404fc0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00405554
mov eax, dword [ebp - 0x1c]
call fcn.005449e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544fe5
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404cd8
lea eax, [ebp - 0x1c]
call fcn.004053c0
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404cd8
lea eax, [ebp - 0x10]
call fcn.004053c0
ret

Function at 0x5450d0
Capabilities:
Read http header

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, edx
mov edi, eax
mov ebp, esp
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [ebp], eax
lea eax, [esp + 4]
push eax
push ebp
mov eax, dword [esp + 0x10]
push eax
push 0
push 0x2b
push esi
call sub.winhttp.dll_WinHttpQueryHeaders
cmp dword [ebp], 0
jbe 0x54515c
mov eax, dword [ebp]
inc eax
call fcn.0040bcf4
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
push ebp
mov eax, dword [esp + 0x10]
push eax
push 0
push 0x2b
push esi
call sub.winhttp.dll_WinHttpQueryHeaders
mov edx, dword [esp + 8]
mov eax, edi
call fcn.00545164
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x2f76
je 0x54515c
cmp ebx, 0x2ef3
je 0x54515c
cmp ebx, 0x2ef2
je 0x54515c
cmp ebx, 0x2ee4
je 0x54515c
cmp ebx, 8
jne 0x5450e3
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x550668
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], ecx
xor eax, eax
push ebp
push 0x5507a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a8210]
cmp byte [eax], 0
je 0x55069b
mov eax, dword [0x5a8adc]
mov byte [eax], dl
mov byte [ebp - 1], 0
test dl, dl
je 0x55076d
lea edx, [ebp - 0x64]
mov eax, dword [0x5a8550]
mov eax, dword [eax]
call fcn.0046f7fc
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040cdc8
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 8]
mov ecx, 0x5507c0
call fcn.00404fc0
mov eax, dword [ebp - 8]
call fcn.0040ca40
test al, al
je 0x550782
xor eax, eax
mov dword [0x5ad80c], eax
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040360c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 8
xor eax, eax
push ebp
push 0x550761
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405174
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x550757
mov eax, dword [ebp - 0x54]
mov dword [0x5ad80c], eax
mov byte [ebp - 1], 1
push 0xc8
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x550782
cmp dword [0x5ad80c], 0
jbe 0x550782
xor edx, edx
mov eax, 0x1d
call fcn.004bf9bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5507ac
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00404cd8
lea eax, [ebp - 8]
call fcn.00404cb4
ret

Function at 0x558df8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x558e64
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
mov edx, 0x3c
call fcn.00408328
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov eax, 0x558e78
mov dword [ebp - 0x30], eax
mov eax, ebx
call fcn.00405174
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 1
mov eax, esi
call fcn.00405174
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x558e6e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55cfc8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
test dl, dl
je 0x55d09a
push 0xffffffffffffffec
mov eax, dword [0x5a8550]
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x40000
and eax, 0xffffff7f
push eax
push 0xffffffffffffffec
mov eax, dword [0x5a8550]
push esi
call sub.user32.dll_SetWindowLongA
mov eax, dword [0x5a8550]
mov eax, dword [eax]
call fcn.0046eb04
mov eax, ebx
call fcn.0055d0dc
mov eax, dword [0x5a810c]
cmp byte [eax], 0
je 0x55d029
mov eax, dword [0x5a810c]
mov byte [eax], 0
jmp 0x55d035
mov eax, dword [0x5a8550]
mov eax, dword [eax]
call fcn.0046ec04
xor eax, eax
call fcn.005926c0
mov eax, dword [0x5a7db0]
cmp dword [eax], 0
je 0x55d058
mov eax, dword [0x5a8658]
mov edx, dword [0x5a7db0]
mov edx, dword [edx]
call fcn.00404d08
xor eax, eax
push ebp
push 0x55d08e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a89ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x55d084
mov eax, dword [0x5a89ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_DestroyWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55d0b0
mov al, 1
call fcn.005926c0
push 0
mov eax, ebx
call fcn.00453c68
push eax
call sub.user32.dll_ShowWindow
pop edi
pop esi
pop ebx
pop ebp
ret