joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0975
Capabilities:
Hash data using sha224

Disassembly:
test ecx, ecx
jne 0x4a097f
mov eax, 0xffffff53
ret
xor eax, eax
mov dword [ecx], 0xc1059ed8
mov dword [ecx + 4], 0xcbbb9d5d
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov dword [ecx + 0x10], 0x3070dd17
mov dword [ecx + 0x14], 0x9159015a
mov dword [ecx + 0x18], 0xf70e5939
mov dword [ecx + 0x1c], 0x152fecd8
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov dword [ecx + 0x28], 0x68581511
mov dword [ecx + 0x2c], 0x8eb44a87
mov dword [ecx + 0x30], 0x64f98fa7
mov dword [ecx + 0x34], 0xdb0c2e0d
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov dword [ecx + 0xc0], eax
mov dword [ecx + 0xc8], eax
mov dword [ecx + 0xcc], eax
mov dword [ecx + 0xd0], eax
mov dword [ecx + 0xd4], eax
ret

Function at 0x4a0a0f
Capabilities:
Hash data using sha224

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x4a0a38
test edi, edi
je 0x4a0a38
call fcn.004a07a6
test eax, eax
jne 0x4a0a3d
push 0xc
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.004a0975
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
ret

Function at 0x4a10c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [ebp - 4], esi
push edi
mov edi, ecx
test ebx, ebx
je 0x4a10d8
and dword [ebx], 0
test edi, edi
je 0x4a11e8
test esi, esi
je 0x4a11e8
push 0x278
push 0
push edi
call fcn.004cd420
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4a10fb
sub esi, ecx
mov ecx, 0xfd
cmp esi, ecx
jg 0x4a11e1
push ecx
push dword [ebp - 4]
lea eax, [edi + 0x178]
push eax
call fcn.004dbbf0
mov eax, 0x100
lea ecx, [edi + 0x178]
sub eax, esi
add ecx, esi
push eax
push 0x526878
push ecx
call fcn.004dbbf0
add esp, 0x18
lea eax, [edi + 0x178]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [edi + 0x140], eax
cmp eax, 0xffffffff
je 0x4a11e1
test byte [edi], 0x10
je 0x4a117e
push edi
push dword [edi + 0x140]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4a115c
mov ecx, edi
call fcn.004a12d4
or eax, 0xffffffff
jmp 0x4a11ed
lea ecx, [edi + 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a1184
sub ecx, edx
lea eax, [esi + 2]
add eax, ecx
cmp eax, 0x100
jg 0x4a11e1
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
lea eax, [edi + 0x178]
push eax
call fcn.004dbbf0
mov eax, 0xff
mov byte [esi + edi + 0x178], 0x5c
sub eax, esi
push eax
lea eax, [edi + 0x2c]
push eax
lea eax, [edi + 0x179]
add eax, esi
push eax
call fcn.004dbbf0
add esp, 0x18
test ebx, ebx
je 0x4a11dd
lea eax, [edi + 0x178]
mov dword [ebx], eax
xor eax, eax
jmp 0x4a11ed
mov eax, 0xffffff0c
jmp 0x4a11ed
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a135e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
neg eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
je 0x4a1415
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4a1415
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.0049497a
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4a141a
push edi
mov edi, dword [esi]
xor edx, edx
test edi, edi
jle 0x4a13cc
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.004a1348
mov ecx, ebx
mov esi, eax
call fcn.004a1348
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
mov edi, dword [esi]
cmp edx, edi
jl 0x4a13a3
jmp 0x4a13cf
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
cmp edx, eax
jge 0x4a13fe
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.004a1348
mov ecx, ebx
mov esi, eax
call fcn.004a1348
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov eax, dword [ebx]
mov esi, dword [ebp - 8]
cmp edx, eax
jl 0x4a13d5
mov edi, dword [esi]
xor eax, edi
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esi + 8]
xor eax, dword [ebx + 8]
and eax, ecx
xor dword [ebx + 8], eax
mov eax, dword [ebp - 0xc]
pop edi
jmp 0x4a141a
mov eax, 0xffffff53
pop esi
pop ebx
leave
ret
Function at 0x4a1bf3
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
push ebx
push esi
push edi
test ecx, ecx
je 0x4a1e2d
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
jne 0x4a1c18
test esi, esi
jne 0x4a1e2d
cmp edx, 3
je 0x4a1c4e
cmp edx, 4
je 0x4a1c4e
cmp edx, 5
je 0x4a1c4e
cmp edx, 6
je 0x4a1c4e
cmp edx, 7
je 0x4a1c4e
cmp edx, 8
je 0x4a1c4e
cmp edx, 0xa
je 0x4a1c4e
cmp edx, 0xb
je 0x4a1c4e
cmp edx, 0xc
je 0x4a1c4e
cmp edx, 0xd
jne 0x4a1e2d
push ecx
mov byte [ecx + 0x225], 0
mov byte [ecx + 0x224], dl
call fcn.004a1b81
mov ebx, eax
mov dword [ebp - 0xc], ebx
pop ecx
test ebx, ebx
jne 0x4a1e32
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x224]
lea edi, [eax + 0xe0]
sub ecx, 3
je 0x4a1dc2
sub ecx, 1
je 0x4a1d8b
dec ecx
sub ecx, 1
je 0x4a1d48
sub ecx, 1
je 0x4a1d0b
sub ecx, 1
jne 0x4a1e2d
mov edx, 0x80
mov dword [ebp - 4], edx
cmp esi, edx
ja 0x4a1cd1
cmp dword [ebp + 8], 0
je 0x4a1df8
push esi
push dword [ebp + 8]
push edi
call fcn.004cc920
add esp, 0xc
jmp 0x4a1df8
mov edx, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.004a0789
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4a1e29
mov ecx, dword [ebp - 8]
push edi
push ecx
call fcn.004a095c
mov ebx, eax
mov dword [ebp - 0xc], ebx
pop ecx
pop ecx
test ebx, ebx
jne 0x4a1e29
push 0x40
mov eax, dword [ebp - 4]
pop esi
jmp 0x4a1dff
mov edx, 0x80
mov dword [ebp - 4], edx
cmp esi, edx
jbe 0x4a1cb5
mov edx, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.004a0789
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4a1e29
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.004a0a0f
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x4a1e29
push 0x30
jmp 0x4a1d02
push 0x40
pop ecx
mov dword [ebp - 4], ecx
cmp esi, ecx
jbe 0x4a1cb5
mov edx, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.004a37b9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4a1e29
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.004a388a
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x4a1e29
push 0x20
pop esi
push 0x40
pop eax
jmp 0x4a1dff
push 0x40
pop ecx
mov dword [ebp - 4], ecx
cmp esi, ecx
jbe 0x4a1cb5
mov edx, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.0049cfe8
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4a1e29
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.0049d103
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x4a1e29
push 0x14
jmp 0x4a1d85
push 0x40
pop ecx
mov dword [ebp - 4], ecx
cmp esi, ecx
jbe 0x4a1cb5
mov edx, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.004a2ed7
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4a1e29
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.004a2fdd
mov ebx, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4a1e29
push 0x10
pop esi
mov eax, dword [ebp - 4]
cmp esi, eax
jae 0x4a1e10
sub eax, esi
push eax
lea eax, [edi + esi]
push 0
push eax
call fcn.004cd420
add esp, 0xc
mov ebx, dword [ebp - 4]
mov al, byte [edi]
xor al, 0x5c
mov byte [edi + 0x80], al
xor byte [edi], 0x36
inc edi
sub ebx, 1
jne 0x4a1e13
mov ebx, dword [ebp - 0xc]
mov eax, ebx
jmp 0x4a1e32
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a30f4
Capabilities:
Hash data using sha256

Disassembly:
test ecx, ecx
jne 0x4a30fe
mov eax, 0xffffff53
ret
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], eax
ret

Function at 0x4a37dd
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x4a37eb
mov eax, 0xffffff53
pop esi
ret
mov eax, dword [esi + 0x60]
push ebx
push edi
lea edi, [esi + 0x20]
mov byte [edi + eax], 0x80
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
push 0x38
pop ebx
cmp ecx, ebx
jbe 0x4a383a
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.004cd420
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.0049bff7
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.004a3158
test eax, eax
jne 0x4a3886
and dword [esi + 0x60], eax
xor ecx, ecx
sub ebx, ecx
lea eax, [ecx + edi]
push ebx
push 0
push eax
call fcn.004cd420
mov eax, dword [esi + 0x64]
mov edx, edi
mov ecx, dword [esi + 0x68]
shr eax, 0x1d
push 0x40
lea eax, [eax + ecx*8]
mov ecx, edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
shl eax, 3
mov dword [esi + 0x64], eax
call fcn.0049bff7
mov eax, dword [esi + 0x68]
add esp, 0x10
mov dword [edi + 0x38], eax
mov edx, edi
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [edi + 0x3c], eax
pop edi
pop ebx
pop esi
jmp fcn.004a3158
pop edi
pop ebx
pop esi
ret

Function at 0x4a388a
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x4a38bf
test edi, edi
je 0x4a38bf
call fcn.004a37dd
test eax, eax
jne 0x4a38c4
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.0049bff7
pop ecx
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp fcn.004a30f4
mov eax, 0xffffff53
pop edi
pop ebx
ret
Function at 0x4add25
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x80], 0
jne 0x4ade73
cmp dword [esi + 8], 0
je 0x4ade73
push dword [ebp + 8]
lea ecx, [esi + 0x14]
call fcn.0043b575
lea edi, [esi + 0x2c]
push 0x51f46c
mov ecx, edi
call fcn.0043b575
lea ebx, [esi + 0x44]
push 0x51f46c
mov ecx, ebx
call fcn.0043b575
cmp dword [ebp + 0xc], 0
je 0x4add80
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0043b575
jmp 0x4add8c
mov ecx, dword [ebp + 8]
mov edx, edi
push ebx
call fcn.004adf67
pop ecx
mov eax, dword [esi + 0xc]
xor edi, edi
inc edi
xor ebx, ebx
test eax, eax
jne 0x4addad
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4ade73
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x4addc3
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [esi + 0x7c], ebx
call fcn.004ae54f
test eax, eax
je 0x4adde5
cmp dword [esi + 4], edi
jne 0x4adde5
push 0x54
call fcn.004ca9ed
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.004b6321
jmp 0x4ade12
push 0x2c
call fcn.004ca9ed
pop ecx
xor ecx, ecx
mov dword [ebp + 0xc], eax
mov dword [eax], vtable.CWininetFile.0
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], 7
mov word [eax + 0xc], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffd
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.STATIC
push ebx
mov dword [esi + 0x7c], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4ae4cc
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x5c], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 4]
mov dword [esi + 0x80], edi
push eax
push ebx
push esi
push 0x4ae086
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004d7d20
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
jne 0x4ade6a
mov dword [esi + 0x80], ebx
xor eax, eax
test ecx, ecx
setne al
jmp 0x4ade75
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4adf67
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push esi
push edi
push 0x20a
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.004cd420
push 0x412
lea eax, [ebp - 0x624]
push 0
push eax
call fcn.004cd420
push 0x2f
push esi
call fcn.004cc807
add esp, 0x20
mov esi, 0x105
test eax, eax
je 0x4adfe3
push 0xffffffffffffffff
add eax, 2
push eax
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004e0303
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_PathCleanupSpec]
cmp word [ebp - 0x210], 0
jne 0x4ae004
push 0xffffffffffffffff
push str.unknown
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004e0303
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x624]
push str.Download
push eax
call esi
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ae04b
push eax
lea eax, [ebp - 0x624]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x624]
push eax
call esi
lea eax, [ebp - 0x624]
mov ecx, edi
push eax
call fcn.0043b575
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.0043b575
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret

Function at 0x4ae41c
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.004cd420
push edi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.004dd683
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ae48d
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
add esi, 0x2c
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4ae49a
mov eax, dword [esi]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
cmp dword [ebp + 0xc], ebx
je 0x4ae4b9
cmp dword [esi + 0x14], 8
jb 0x4ae4b2
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret 8
Function at 0x4ae54f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004cd420
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
test eax, eax
je 0x4ae5c1
cmp dword [ebp - 0x11c], 5
jne 0x4ae5bb
cmp dword [ebp - 0x118], ecx
jne 0x4ae5ad
cmp word [ebp - 0xc], cx
jmp 0x4ae5bb
cmp dword [ebp - 0x118], 0
jne 0x4ae5c1
cmp word [ebp - 0xc], 3
jae 0x4ae5c1
xor eax, eax
jmp 0x4ae5c3
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca9dc
leave
ret
Function at 0x4b0136
Capabilities:
Identify system language via api

Disassembly:
push 0x44
mov eax, 0x4fc7ed
call fcn.004cb630
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov bl, byte [0x5411e3]
mov bh, byte [0x5411e2]
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
push 0x5414c0
mov byte [0x5411e3], 0
mov byte [0x5411e2], 0
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4b0229
mov byte [0x5414ad], 0
mov byte [0x5414ac], 1
test bl, bl
je 0x4b026f
lea ecx, [ebp - 0x2c]
call fcn.004402b7
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x804
movzx eax, ax
cmp ax, cx
lea ecx, [ebp - 0x48]
jne 0x4b01c9
push 0x527f58
call fcn.004408c6
mov byte [ebp - 4], 1
jmp 0x4b01d7
push str.Setup_is_harding_work_it_maybe_make_you_cannt_connect_to_internet_if_you_quit_now._Do_you_sure_to_exit_
call fcn.004408c6
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00443405
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00440d6c
mov ecx, esi
call fcn.004b0275
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x34
cmovae eax, dword [ebp - 0x28]
push str.Warning
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4b021f
push ebx
push ebx
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x2c]
call fcn.00440d6c
jmp 0x4b026f
push dword [ebp - 0x4c]
push edi
push 0x541488
call dword [sym.imp.USER32.dll_PtInRect]
mov byte [0x5414ac], 0
test eax, eax
je 0x4b0259
mov byte [0x5414ad], 1
test bh, bh
je 0x4b026f
push 6
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4b026f
mov byte [0x5414ad], 0
test bh, bh
jne 0x4b0268
test bl, bl
je 0x4b026f
mov ecx, esi
call fcn.004b0275
call fcn.004cb5da
ret
Function at 0x4b6e1f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x28
call fcn.004ca9ed
mov esi, eax
xor eax, eax
pop ecx
push dword [ebp + 0xc]
mov ecx, esi
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.0043b575
lea ebx, [esi + 0x18]
mov dword [esi + 0x24], 2
xor eax, eax
mov edi, ebx
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push ecx
push esi
push 0x4b6d89
push ecx
push ecx
mov dword [ebp - 4], ecx
call fcn.004d7d20
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4b6e84
mov ecx, esi
call fcn.004b6132
jmp 0x4b6eb7
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4b6ea9
cmp dword [ebx], 3
jne 0x4b6ea9
mov ecx, dword [ebp + 8]
push 0xc
push ebx
push 0x26
pop edx
call fcn.004b7150
pop ecx
pop ecx
mov ecx, esi
call fcn.004b6132
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4b6ebe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x541504], 0
jne 0x4b6f31
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004cd420
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
mov dword [0x541504], eax
test eax, eax
setne cl
mov eax, ecx
jmp 0x4b6f34
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca9dc
leave
ret
Function at 0x4b720d
Capabilities:
Check http status code
Check internet connectivity via wininet
Create http request
Get http content length
Reference http user-agent string

Disassembly:
push 0x268
push 0x5368a0
call fcn.004f3a00
mov edx, ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
push 8
pop ecx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x50], ebx
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 4
cmp dword [ebp - 0x54], ebx
jne 0x4b7262
xor eax, eax
jmp 0x4b739c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test byte [ebp - 0x50], 0x20
je 0x4b728c
mov dword [ebp - 4], 0xfffffffe
mov edx, dword [ebp - 0x40]
jmp 0x4b738e
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x4b72b2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x48], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4b729b
sub ecx, dword [ebp - 0x48]
sar ecx, 1
je 0x4b72b2
push 3
pop esi
mov edi, edx
push ebx
push ebx
push edi
push esi
push str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__LeagSoft.0_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4b727d
push ebx
push 0x84000100
push 0xffffffffffffffff
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x4b72f8
mov dword [ebp - 4], 0xfffffffe
mov edx, dword [ebp - 0x40]
jmp 0x4b7391
push 0x20a
push ebx
lea eax, [ebp - 0x278]
push eax
call fcn.004cd420
add esp, 0xc
mov dword [ebp - 0x64], 0x208
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x278]
push 0x2f
push esi
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
call edi
mov dword [ebp - 0x58], ebx
push ebx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x20000013
push esi
call edi
test eax, eax
je 0x4b72e9
cmp dword [ebp - 0x58], 0xc8
jne 0x4b72e9
push ebx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x20000005
push esi
call edi
mov edx, dword [ebp - 0x40]
test eax, eax
je 0x4b7369
mov eax, dword [ebp - 0x60]
mov dword [edx + 0x24], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], 0xfffffffe
jmp 0x4b7391
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 4], ecx
mov dword [edx + 8], esi
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4e8c6e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e8aed

Function at 0x4ee384
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ee044