joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459a67
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x467ebc
call fcn.00467378
sub esp, 0x138
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call fcn.004017a0
mov dword [ebp - 4], ebx
call fcn.0040184f
call fcn.00455e68
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov eax, edi
call fcn.004017f4
cmp esi, ebx
je 0x459be1
mov eax, str.gcsdk.dll
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], str.gcsdk_core.dll
mov dword [ebp - 0x2c], str.rdpwatcher.dll
mov dword [ebp - 0x28], str.wpsapi.dll
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
xor esi, esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x140]
lea ecx, [esi + eax + 0xeccf]
push ecx
lea ecx, [esi + eax + 0xeccb]
push ecx
add eax, 0xcbc3
push eax
push dword [ebp - 0x14]
call fcn.0046222b
push 0x103
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.0043b2b0
add esp, 0x1c
push dword [ebp - 0x14]
lea eax, [ebp - 0x144]
push dword [ebp + 0xc]
push str._S_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x459b8e
mov eax, dword [edi + 0x140]
push ebx
lea ecx, [ebp - 0x38]
push ecx
push dword [eax + esi + 0xeccf]
push dword [eax + esi + 0xeccb]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x459b85
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x140]
lea ecx, [ebp - 0x144]
lea edx, [eax + esi + 0xedd7]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x459ba1
mov edi, dword [edi + 0x140]
push dword [esi + edi + 0xeccb]
add edi, 0xcbc3
push edi
call fcn.0045dd6a
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x34]
pop ecx
add esi, 0x210
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x459adb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x45b79d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467f44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
push edi
call fcn.0045d849
mov edi, eax
xor eax, eax
push 0x206
mov word [esp + 0x6c], ax
xor esi, esi
lea eax, [esp + 0x6e]
push esi
push eax
call fcn.0043b2b0
mov eax, dword [edi]
add esp, 0xc
cmp eax, esi
jne 0x45b7ee
mov eax, 0x46ad04
push eax
lea eax, [esp + 0x6c]
push 0x47068c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x30], esi
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xf0]
push 0x69
push eax
mov dword [esp + 0x3c], 0x45b517
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], str.ChatWindow
call dword [sym.imp.USER32.dll_RegisterClassW]
xor eax, eax
mov dword [esp + 0x58], esi
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push eax
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x24], 0x15e
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
sub eax, dword [esp + 0xc]
push ebx
push dword [ebx + 0xf0]
push esi
push dword [ebx + 0xf4]
push ecx
push eax
push esi
push esi
push 0xc80000
lea eax, [esp + 0x8c]
push eax
push str.ChatWindow
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4c
mov dword [ebx + 0x120], eax
call fcn.0043694d
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x27c], esi
cmp eax, esi
je 0x45b904
lea ecx, [esp + 0xc]
push ecx
push dword [ebx + 0x120]
mov edi, ebx
mov esi, eax
call fcn.0045c43d
mov esi, eax
or dword [esp + 0x27c], 0xffffffff
mov dword [ebx + 0x128], esi
call fcn.0046514b
mov ecx, dword [ebx + 0x128]
mov eax, dword [ecx]
xor esi, esi
push esi
push 1
call dword [eax + 0x30]
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x128]
push dword [ebp + 8]
call fcn.00465a54
mov eax, dword [ebx + 0x128]
call fcn.0045c3a3
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
push 1
push esi
push esi
add eax, 0x14
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x14
push eax
push 0xffffffffffffffff
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x274]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45c6b3
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x13c
push esi
push edi
cmp edx, 0x103
jne 0x45c6db
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0x38]
call fcn.004578a3
xor eax, eax
jmp 0x45c821
xor edi, edi
xor eax, eax
cmp edx, 0x10f
jne 0x45c7bf
push ebx
push 0xfe
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x13a]
push edi
push eax
call fcn.0043b2b0
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax + 8]
push 0x38
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.0043b2b0
add esp, 0x18
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
push edi
push edi
push ebx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x28], 0x7f
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push 3
lea eax, [ebp - 0x13c]
push 0x46fd50
push eax
call fcn.0044a8f9
add esp, 0xc
pop ebx
test eax, eax
jne 0x45c784
lea eax, [ebp - 0x13c]
push str..valueactive.
push eax
call fcn.004377f5
pop ecx
pop ecx
test eax, eax
je 0x45c784
mov eax, dword [esi]
mov eax, dword [eax + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x45c6d4
mov esi, dword [ebp + 8]
mov byte [esi + 0x11], 1
cmp dword [esi - 0x18], edi
je 0x45c799
mov eax, dword [esi - 0x38]
push edi
call fcn.00458023
mov esi, dword [esi - 0x38]
cmp dword [esi + 0x144], edi
je 0x45c6d4
push edi
push edi
mov edi, dword [esi + 0x140]
push 5
call fcn.00463b34
add esp, 0xc
jmp 0x45c6d4
mov ecx, 0x48a968
cmp dword [ecx], edi
je 0x45c7f1
cmp edx, dword [ecx - 8]
je 0x45c7d3
inc eax
add ecx, 0x10
jmp 0x45c7c4
push dword [ebp + 0x20]
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
shl eax, 4
mov ecx, dword [eax + 0x48a96c]
lea ecx, [ecx + edx - 0x3c]
call dword [eax + 0x48a968]
jmp 0x45c821
push dword [ebp + 0x28]
mov eax, dword [ebp + 8]
push dword [ebp + 0x24]
mov eax, dword [eax - 0x38]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edx
push eax
call dword [ecx + 0x18]
mov ecx, eax
lea eax, [ecx + 0x7ffdfffd]
neg eax
sbb eax, eax
and eax, ecx
pop edi
pop esi
leave
ret 0x24
Function at 0x45cb5c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
push 0x46fc64
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov esi, 0x96
push esi
mov dword [ebp - 4], eax
call fcn.0043742a
push esi
mov edi, eax
push ebx
push edi
call fcn.0043b2b0
add esp, 0x10
cmp dword [ebp - 4], ebx
je 0x45cbef
push 0x3f
lea eax, [ebp - 0x5f]
push ebx
push eax
mov byte [ebp - 0x60], bl
call fcn.0043b2b0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
shrd eax, ecx, 0x14
shr ecx, 0x14
push ecx
push eax
lea eax, [ebp - 0x60]
push str._I64d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x95
lea eax, [ebp - 0x60]
push eax
push edi
call fcn.004371c0
add esp, 0x28
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45cbf6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0043b2b0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.bresume.exe
push dword [ebp + 8]
mov ebx, str._s_s
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x1c
lea eax, [ebp - 0x208]
push eax
call edi
push str.dresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call edi
push str.tresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call edi
push str.sresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45ccb8
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x410], ax
xor esi, esi
lea eax, [ebp - 0x40e]
push esi
push eax
call fcn.0043b2b0
xor eax, eax
push edi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.0043b2b0
add esp, 0x18
push 0x104
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
add eax, 0xef2
push str.bresume.exe
push eax
mov dword [ebp + 8], eax
mov ebx, str._s_s
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
push str.dresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
push str.tresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
push str.sresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x208]
sub eax, ecx
movzx edx, word [ecx]
mov word [eax + ecx], dx
add ecx, 2
test dx, dx
jne 0x45cdcf
push str.install.exe
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
test eax, eax
lea eax, [ebp - 0x208]
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x45ce29
xor eax, 1
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x45ce32
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x108], bl
call fcn.0043b2b0
mov eax, dword [ebp + 8]
add eax, 0x9f6
push eax
lea eax, [ebp - 0x108]
push 0x46eba8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [0x48dfec]
push dword [eax + 0x1020]
push dword [eax + 0x101c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret 4
Function at 0x45cec0
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0043b2b0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x18]
call fcn.00455b70
add esp, 0x14
test eax, eax
je 0x45d009
lea eax, [ebp + 0x18]
push eax
push 0x46b328
push 1
push ebx
push 0x46b4a8
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x45d00c
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x46b3f8
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x45cffe
mov eax, dword [ebp + 0x18]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x1c], ebx
jne 0x45cf67
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x44]
mov esi, eax
cmp esi, ebx
jl 0x45cff5
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp + 0x14], ebx
je 0x45cf8f
push dword [ebp + 0x14]
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call esi
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x45cfb3
mov eax, dword [ebp - 4]
mov esi, 0x46f714
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
lea edx, [ebp - 0x20c]
push edx
movsw word es:[edi], word [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push ebx
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
push 0x3001
push 0x2000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45d00c
mov esi, dword [ebp + 0x1c]
mov eax, esi
pop esi
pop ebx
leave
ret 0x18
Function at 0x45d048
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call fcn.0043b2b0
xor eax, eax
push esi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0043b2b0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0x10]
call fcn.00455b70
add esp, 0x20
test eax, eax
je 0x45d119
cmp dword [ebp + 0xc], 0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
je 0x45d0cd
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call esi
xor eax, eax
movzx ecx, word [ebp + eax - 0x208]
mov word [ebp + eax - 0x410], cx
add eax, 2
test cx, cx
jne 0x45d0b5
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call esi
lea edi, [ebp - 0x208]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45d0e3
mov esi, 0x46f714
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x208]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], 0
pop edi
je 0x45d119
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
leave
ret
Function at 0x45d5db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
push edi
push 0x103
mov dword [eax], ebx
lea eax, [ebp - 0x133]
push ebx
push eax
mov byte [ebp - 0x134], bl
call fcn.0043b2b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push 3
push ebx
push 5
push SysReAllocStringLen
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
jne 0x45d650
xor eax, eax
jmp 0x45d79f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push 0x3c
push edi
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call edi
cmp dword [ebp - 0x20], 0x4550
jne 0x45d78b
mov eax, dword [ebp - 0x14]
push ebx
add eax, 0x18
push ebx
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call edi
mov eax, 0x10b
cmp word [ebp - 0x10], ax
jne 0x45d6ce
sub dword [ebp - 8], 0xffffff80
jmp 0x45d6e5
mov eax, 0x20b
cmp word [ebp - 0x10], ax
jne 0x45d6e2
add dword [ebp - 8], 0x90
jmp 0x45d6e5
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
je 0x45d78b
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call edi
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x45d78b
push ebx
push ebx
add eax, 0xfffffff0
push eax
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 8]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x30], ebx
jne 0x45d78b
cmp dword [ebp - 0x2c], ebx
jne 0x45d78b
cmp dword [ebp - 0x28], ebx
jne 0x45d78b
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x45d78b
mov edi, dword [ebp + 0xc]
push eax
mov dword [edi], eax
call fcn.0043742a
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [edi]
push ebx
push ebx
sub eax, 0x10
push eax
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 8]
push eax
push dword [edi]
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx], ebx
pop esi
setne al
pop edi
pop ebx
leave
ret
Function at 0x45d90e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernel32
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46eae0
push eax
mov dword [0x48dff8], eax
call esi
push str.user32
mov dword [0x48dffc], eax
call edi
push str.SetWindowTextW
push eax
mov dword [0x48e000], eax
call esi
push str.GetWindowTextW
push dword [0x48e000]
mov dword [0x48e004], eax
call esi
mov dword [0x48e008], eax
xor eax, eax
pop edi
pop esi
cmp dword [0x48dffc], eax
je 0x45d984
mov byte [0x48dfeb], 1
cmp dword [0x48e004], eax
jne 0x45d989
mov byte [0x48dfeb], al
push 0x90
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x94], 0x94
call fcn.0043b2b0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
sbb al, al
inc al
mov byte [0x48dfeb], al
leave
ret

Function at 0x45e7e2
Capabilities:
Delete registry key

Disassembly:
lea ecx, [eax + 0x208]
push ecx
add eax, 0x30c
call fcn.00401969
pop ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
ret
Function at 0x45e8d4
Capabilities:
Check http status code
Create http request
Reference http user-agent string

Disassembly:
mov eax, 0x467b95
call fcn.00467378
sub esp, 0x410
push ebx
push esi
mov esi, 0x104
push esi
call fcn.0043742a
push esi
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.0043b2b0
mov eax, dword [0x48dfec]
add esp, 0x10
cmp byte [eax + 0xc08e], bl
je 0x45ead4
lea esi, [eax + 0xc08f]
cmp esi, ebx
je 0x45ead4
lea edx, [esi + 1]
mov cl, byte [esi]
inc esi
cmp cl, bl
jne 0x45e923
sub esi, edx
je 0x45ead4
add eax, 0xc993
cmp eax, ebx
je 0x45ead4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x45e942
sub eax, edx
je 0x45ead4
push edi
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_GB__rv:1.9.0.5__Gecko_2008120122_Firefox_3.0.5
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x48dfec]
push ebx
push 0x40300
push ebx
push ebx
add ecx, 0xc08f
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x3ff
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x41b]
push ebx
push eax
mov byte [ebp - 0x41c], bl
call fcn.0043b2b0
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
add esp, 0xc
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x13
push dword [ebp - 0x18]
mov edi, 0x400
mov dword [ebp - 0x1c], edi
call esi
lea eax, [ebp - 0x41c]
push eax
call fcn.00436ab1
pop ecx
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x1c], edi
cmp eax, 0xc8
jne 0x45ea42
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x2f
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x45e9f9
mov byte [ebp - 0x41c], bl
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x45ea02
sub eax, edx
cmp eax, ebx
je 0x45ea42
lea eax, [ebp - 0x41c]
push str.filename
push eax
call fcn.00437440
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x45ea42
add edi, 9
push 0x46f710
push edi
call fcn.00437440
pop ecx
pop ecx
cmp eax, ebx
je 0x45ea3e
mov byte [eax], bl
cmp edi, ebx
jne 0x45ea5d
mov eax, dword [0x48dfec]
add eax, 0xc08f
push 0x2f
push eax
call fcn.00436920
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x45ea5d
inc edi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [0x48dfec]
call fcn.0045d11c
push 0x1414
mov esi, eax
call fcn.0043694d
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x45eaa0
push esi
push dword [0x48dfec]
mov esi, eax
call fcn.0045e6cb
mov esi, eax
jmp 0x45eaa2
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xef2]
push eax
push 0x46eba8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
pop edi
cmp esi, ebx
je 0x45ead4
push esi
call fcn.00436909
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret