joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afdc8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4afdd0
push ebx
push esi
mov esi, 0x591b38
xor eax, eax
push ebp
push 0x4b0070
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x591da9], 1
mov eax, dword [0x591df8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x591dfc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x591e00]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.0049fe0c
call fcn.004aed38
xor eax, eax
push ebp
push 0x4b004e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x592078]
call fcn.004a36c4
xor eax, eax
push ebp
push 0x4b0029
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004a3790
xor eax, eax
push ebp
push 0x4afffb
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x1e0], 0
je 0x4afe7c
mov al, 1
call fcn.004afd00
mov eax, dword [esi]
cmp byte [eax + 0x1e0], 0
je 0x4afe7c
push ebp
call fcn.004af5d8
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x1e1], 0
je 0x4afeb8
mov eax, dword [esi]
cmp byte [eax + 0x1e0], 0
je 0x4afe9d
mov eax, dword [esi]
cmp byte [eax + 0x1be], 0
je 0x4afea4
xor eax, eax
call fcn.004afd00
mov eax, dword [esi]
cmp byte [eax + 0x1e1], 0
je 0x4afeb8
push ebp
call fcn.004afbe8
pop ecx
and bl, al
test bl, bl
jne 0x4afed1
mov eax, dword [esi]
test byte [eax + 0x205], 0x20
je 0x4afed1
mov eax, dword [0x591bf8]
call fcn.004a006c
mov eax, dword [esi]
test byte [eax + 0x1c2], 2
je 0x4aff4e
test bl, bl
je 0x4aff18
push 0x242040
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [esi]
call fcn.0048a250
mov eax, dword [ebp - 0x10]
call fcn.00404fec
push eax
lea ecx, [ebp - 0x14]
mov dl, 0x5e
mov eax, dword [esi]
call fcn.0048a250
mov eax, dword [ebp - 0x14]
call fcn.00404fec
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4aff4e
push 0x242010
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [esi]
call fcn.0048a250
mov eax, dword [ebp - 0x18]
call fcn.00404fec
push eax
lea ecx, [ebp - 0x1c]
mov dl, 0x5f
mov eax, dword [esi]
call fcn.0048a250
mov eax, dword [ebp - 0x1c]
call fcn.00404fec
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x205], 0x40
je 0x4affc2
test bl, bl
jne 0x4affc2
mov eax, dword [esi]
test byte [eax + 0x1c3], 2
je 0x4aff91
lea eax, [ebp - 0x20]
call fcn.004af3c8
mov eax, dword [ebp - 0x20]
call fcn.00404fec
push eax
lea eax, [ebp - 0x24]
call fcn.004a3508
mov eax, dword [ebp - 0x24]
call fcn.00404fec
push eax
call sub.kernel32.dll_MoveFileA
jmp 0x4affa7
lea eax, [ebp - 0x28]
call fcn.004af3c8
mov eax, dword [ebp - 0x28]
mov edx, dword [0x591df8]
call fcn.004af2d8
lea eax, [ebp - 0x30]
call fcn.004af3c8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00409ff4
mov eax, dword [ebp - 0x2c]
call fcn.004af454
mov eax, dword [esi]
test byte [eax + 0x1c3], 2
je 0x4affdd
lea eax, [ebp - 0x34]
call fcn.004a3508
mov eax, dword [ebp - 0x34]
call fcn.00409ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0002
lea eax, [ebp - 0x38]
call fcn.004a3618
mov eax, dword [ebp - 0x38]
call fcn.00409ec8
ret
Function at 0x4b0314
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b0c44
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b0cb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x4b0cc4]
call fcn.00402d6c
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004096fc
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x4b0cd0
call fcn.00404e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0cbf
lea eax, [ebp - 0x24]
call fcn.00404b20
ret

Function at 0x4b0cd4
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b0d48
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x4b0d54]
call fcn.00402d6c
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004096fc
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x4b0d60
call fcn.00404e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0d4f
lea eax, [ebp - 0x24]
call fcn.00404b20
ret
Function at 0x4b584c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b5948
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4b591b
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
lea eax, [ebp - 0x10c]
call fcn.004b57f4
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00409260
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.004094b0
mov edx, dword [ebp - 4]
mov eax, 0x4b5960
call fcn.00405130
test eax, eax
jle 0x4b5922
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x4b5922
mov eax, dword [esi]
call fcn.00404df4
mov edi, eax
test edi, edi
jbe 0x4b5922
mov ebx, 1
mov eax, esi
call fcn.00405044
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x4b5909
jmp 0x4b5922
mov eax, esi
call fcn.00404b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b594f
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404b44
lea eax, [ebp - 4]
call fcn.00404b20
ret

Function at 0x4b8618
Capabilities:
Terminate thread

Disassembly:
call fcn.00489664
test al, al
jne 0x4b8675
cmp dword [0x591bcc], 0
je 0x4b8675
mov eax, dword [0x591bcc]
call fcn.00426734
mov eax, dword [0x590718]
call fcn.004a0334
test al, al
jne 0x4b8654
push 0xffffffffffffffff
mov eax, dword [0x591bcc]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x4b8664
push 1
mov eax, dword [0x591bcc]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x591bcc]
call fcn.00403c4c
xor eax, eax
mov dword [0x591bcc], eax
ret
Function at 0x4b8984
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call fcn.004a0d00
mov esi, eax
mov ebx, dword [esi]
dec ebx
jmp 0x4b8997
dec ebx
test ebx, ebx
jl 0x4b89a4
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8], 0
je 0x4b8996
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x4b89ec
mov edx, dword [esi + 4]
mov dword [0x591b58], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.004b87d4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.004b87d4
mov dword [0x591ba0], eax
mov eax, 0x4b88ec
mov edx, dword [0x591ba0]
mov dword [edx], eax
mov ebx, dword [esi]
dec ebx
jmp 0x4b89f2
dec ebx
test ebx, ebx
jl 0x4b8a00
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x4b89f1
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x4b8a39
mov edx, dword [esi + 4]
mov dword [0x591b5c], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.004b87d4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x4b8974
mov edx, dword [esi + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4be6d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4be749
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00405178
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404fec
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404df4
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405178
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004be47c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be750
lea eax, [ebp - 0xc]
call fcn.00404b20
ret

Function at 0x4c04f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x4c054f
lea eax, [ebp - 4]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4c0523
call fcn.0040f708
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 6
call fcn.00402af4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4c054f
call fcn.0040f708
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d2338
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d23a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004d2314
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004bff48
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.004bfa98
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d23b0
lea eax, [ebp - 0x14]
call fcn.00404b20
ret

Function at 0x4d7118
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4d7120
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x4d767c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
push 0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00409260
mov edx, dword [ebp - 0x38]
mov ecx, 1
mov eax, 0x4d7690
call fcn.004d6ff8
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4d7191
push ebp
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00409260
mov edx, dword [ebp - 0x3c]
mov ecx, 1
mov eax, 0x4d76a0
call fcn.004d6ff8
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x4d761b

Function at 0x4dcc50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10d]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
call fcn.00408000
test eax, eax
je 0x4dcc93
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00404d88
jmp 0x4dcc9b
mov eax, dword [ebp - 8]
call fcn.00404b20
mov esp, ebp
pop ebp
ret
Function at 0x563074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x5630b9
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x563096
mov esp, ebp
pop ebp
ret 4
Function at 0x56653c
Capabilities:
Suspend thread

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

Function at 0x56655c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x56657b
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
pop ecx
pop ebp
ret

Function at 0x5666a4
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
call fcn.00566600
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00403c4c
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x566c1c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x566cdc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov byte [ebp - 1], 0
push 0x40
lea eax, [ebp - 0x54]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x54]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x566cc6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x566c97
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404d10
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp dword [edx + eax*4], 0
jne 0x566c7a
call sub.wsock32.dll_WSACleanup
cmp dword [ebp - 0x14], 0
je 0x566cbd
mov eax, dword [ebp - 0x14]
mov edx, 0x566cf4
call fcn.00404f38
jne 0x566cc1
xor eax, eax
jmp 0x566cc3
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x566ce3
lea eax, [ebp - 0x14]
call fcn.00404b20
ret

Function at 0x566d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
lea eax, [ebp - 0x14]
push eax
push 0x566d74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x566d61
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xd]
push eax
push 0
push 0
push 0x566da4
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x566d4c
cmp byte [ebp - 0xd], 1
sete byte [ebp - 1]
jmp 0x566d56
push ebp
call fcn.00566c1c
pop ecx
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x566d6b
push ebp
call fcn.00566c1c
pop ecx
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x5671b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x56727e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x567294
call fcn.00405130
test eax, eax
jne 0x567200
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x5672a0
call fcn.00404e40
cmp byte [ebp - 5], 0
je 0x567241
lea edx, [ebp - 0xc]
mov eax, 0x5672b0
call fcn.00566e1c
cmp dword [ebp - 0xc], 0
je 0x567241
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404fec
push eax
push 0x5672b8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x567260
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
push 0x5672b8
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 0x567285
lea eax, [ebp - 0xc]
call fcn.00404b20
lea eax, [ebp - 4]
call fcn.00404b20
ret

Function at 0x5672c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56737b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10a]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x10a]
call fcn.0040a76c
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0040ec90
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00567388
test al, al
jne 0x56735d
lea edx, [ebp - 0x118]
mov eax, dword [0x58ef8c]
mov eax, dword [eax]
call fcn.00467e08
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.00409ff4
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 4]
call fcn.0040ec90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567382
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.00404b44
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5673ae
test byte [ebp - 0xc], 0x10
jne 0x5673b2
xor eax, eax
jmp 0x5673b4
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x567984
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x567b10
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x567b28
call fcn.00405130
test eax, eax
jne 0x5679ca
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x567b34
call fcn.00404e40
lea eax, [ebp - 0x4c]
mov edx, 0x3c
call fcn.00568b98
mov dword [ebp - 0x44], 0x21
mov dword [ebp - 0x38], 0x101
mov dword [ebp - 0x2c], 0x81
mov dword [ebp - 0x24], 0x81
mov dword [ebp - 0x1c], 0x801
mov dword [ebp - 0x14], 0x801
mov eax, 0x21
call fcn.00402764
mov dword [ebp - 0x48], eax
mov eax, 0x101
call fcn.00402764
mov dword [ebp - 0x3c], eax
mov eax, 0x81
call fcn.00402764
mov dword [ebp - 0x30], eax
mov eax, 0x81
call fcn.00402764
mov dword [ebp - 0x28], eax
mov eax, 0x801
call fcn.00402764
mov dword [ebp - 0x20], eax
mov eax, 0x801
call fcn.00402764
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
push eax
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404df4
push eax
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x567aca
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
call fcn.00404d10
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
call fcn.00404d10
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x20]
call fcn.00404d10
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x30]
call fcn.00404d10
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00404d10
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00404d10
mov eax, dword [ebp + 8]
mov dx, word [ebp - 0x34]
mov word [eax], dx
mov eax, dword [ebp - 0x48]
call fcn.00402784
mov eax, dword [ebp - 0x3c]
call fcn.00402784
mov eax, dword [ebp - 0x30]
call fcn.00402784
mov eax, dword [ebp - 0x28]
call fcn.00402784
mov eax, dword [ebp - 0x20]
call fcn.00402784
mov eax, dword [ebp - 0x18]
call fcn.00402784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567b17
lea eax, [ebp - 4]
call fcn.00404b20
ret
Function at 0x56891c
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5689e6
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileTime
fld qword [ebp + 0x18]
fcomp dword [0x5689f0]
fnstsw ax
sahf
je 0x568987
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 0x14]
call fcn.005688c4
fld qword [ebp + 8]
fcomp dword [0x5689f0]
fnstsw ax
sahf
je 0x5689a3
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
call fcn.005688c4
fld qword [ebp + 0x10]
fcomp dword [0x5689f0]
fnstsw ax
sahf
je 0x5689bf
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
call fcn.005688c4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x568a34
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x568a9b
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.005689f4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret