joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418b90
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x26c]
push ebx
push eax
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
call fcn.0042b8b0
push str..
lea eax, [ebp - 0x290]
push esi
push eax
call fcn.00404211
add esp, 0x18
cmp dword [eax + 0x18], 8
jb 0x418be9
mov eax, dword [eax + 4]
jmp 0x418bec
add eax, 4
lea ecx, [ebp - 0x270]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push ebx
push 1
lea ecx, [ebp - 0x290]
mov edi, eax
call fcn.00401f6b
cmp edi, 0xffffffff
je 0x418ccf
lea eax, [ebp - 0x244]
push 0x448d0c
push eax
call fcn.0042f541
test eax, eax
pop ecx
pop ecx
je 0x418caf
lea eax, [ebp - 0x244]
push 0x449b50
push eax
call fcn.0042f541
test eax, eax
pop ecx
pop ecx
je 0x418caf
lea eax, [ebp - 0x244]
push eax
push 0x4471bc
lea eax, [ebp - 0x2ac]
push esi
push eax
call fcn.00404211
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404211
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x2ac]
call fcn.00401f6b
test byte [ebp - 0x270], 0x10
je 0x418c91
lea eax, [ebp - 0x20]
push eax
call fcn.00418b90
pop ecx
jmp 0x418ca4
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x418c9d
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401f6b
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418c13
mov dword [ebp - 0x274], 1
cmp edi, ebx
je 0x418cf4
cmp edi, 0xffffffff
je 0x418cf4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x18], 8
jb 0x418cea
mov esi, dword [esi + 4]
jmp 0x418ced
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x274]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
leave
ret

Function at 0x418d09
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
push edi
mov edi, dword [ebp + 0x19c]
xor esi, esi
push 0x206
lea eax, [ebp - 0x76]
push esi
push eax
mov dword [ebp - 0x7c], esi
mov word [ebp - 0x78], si
call fcn.0042b8b0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push str.SOFTWAREkingsoftkswsvc
push 0x80000002
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x418d8e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push str.Installpath
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418d8e
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
call fcn.00403d76
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x190]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042b92a
add ebp, 0x194
leave
ret
Function at 0x418f6d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.0042b8b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b16d
test eax, eax
pop ecx
jbe 0x418fe1
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00403d76
push str.E749F017_C09C_4139_8AAA_ECBD5E22F695
mov ecx, esi
call fcn.00403dbd
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042b92a
leave
ret
Function at 0x41a25c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004173a2
test eax, eax
jne 0x41a324
call fcn.00418e27
test eax, eax
je 0x41a324
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.0042b8b0
add esp, 0xc
push 1
push 0x17
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x449b04
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x412]
push edi
push eax
mov word [ebp - 0x414], di
call fcn.0042b8b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str._u__uc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041812f
add esp, 0x10
call fcn.00419fba
pop edi
pop esi
jmp 0x41a326
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b92a
leave
ret

Function at 0x41a332
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x54], ebx
call fcn.0042b8b0
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, ebx
je 0x41a3ad
cmp dword [ebp + 0x10], ebx
je 0x41a38e
cmp dword [ebp - 0x10], ebx
je 0x41a38e
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0xc], ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41a3a2
push dword [ebp - 0xc]
call esi
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0x10], ebx
je 0x41a3ac
push dword [ebp - 0x10]
call esi
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x41a3b3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0042b8b0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41a3ff
cmp dword [ebp - 0x7c], 6
jne 0x41a3ff
inc esi
mov ecx, dword [ebp + 0x94]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042b92a
add ebp, 0x98
leave
ret
Function at 0x41a417
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x41a42d
leave
ret
push esi
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41a462
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x41a5f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
jne 0x41a611
mov byte [ebp - 1], bl
jmp 0x41a683
push esi
push edi
lea esi, [eax + 1]
push 0x4560a8
push esi
call fcn.004313a9
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x41a65a
push esi
push ebx
push edi
call fcn.0042b8b0
add esp, 0xc
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41a65a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x4471bc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x41a65f
mov byte [ebp - 1], bl
jmp 0x41a676
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x41a681
push edi
call fcn.0042b7db
pop ecx
pop edi
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x41b9c8
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x2ac
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x7c]
push ebx
mov ebx, dword [ebp + 0x78]
push esi
push edi
push 0x26
pop ecx
mov esi, str.SOFTWAREClassesCLSID0002DF01_0000_0000_C000_000000000046LocalServer32
lea edi, [ebp - 0x2c]
push 0x54
mov dword [ebp - 0x23c], eax
rep movsd dword es:[edi], dword [esi]
call fcn.0042bb72
mov esi, eax
xor edi, edi
cmp esi, edi
pop ecx
je 0x41ba36
sub esp, 0x1c
mov ecx, esp
push str.Internet_Explorer_Ver_1.0_
call fcn.004040fd
sub esp, 0x1c
mov ecx, esp
push str.SOFTWAREClassesAppID0002DF01_0000_0000_C000_000000000046
call fcn.004040fd
mov ecx, esi
call fcn.0041ae4d
mov dword [ebp - 0x238], eax
jmp 0x41ba3c
mov dword [ebp - 0x238], edi
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
push eax
call fcn.0041b739
call fcn.0041a5c4
test al, al
je 0x41ba76
push 0x54
call fcn.0042bb72
mov esi, eax
cmp esi, edi
pop ecx
je 0x41bafa
sub esp, 0x1c
mov ecx, esp
push ebx
call fcn.00403d50
jmp 0x41badd
push 0x206
lea eax, [ebp - 0x232]
push edi
push eax
mov word [ebp - 0x234], di
call fcn.0042b8b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x234]
push eax
push str._ProgramFiles_Internet_Exploreriexplore.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x41bb12
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bb12
push 0x54
call fcn.0042bb72
mov esi, eax
cmp esi, edi
pop ecx
je 0x41bafa
sub esp, 0x1c
lea eax, [ebp - 0x234]
mov ecx, esp
push eax
call fcn.004040fd
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004040fd
mov ecx, esi
call fcn.0041ae4d
mov dword [ebp - 0x238], eax
jmp 0x41bb00
mov dword [ebp - 0x238], edi
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
push eax
call fcn.0041b739
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0042b92a
add ebp, 0x70
leave
ret
Function at 0x4244c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1390
call fcn.0042c290
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1390], 0
push ebx
push 0x448e14
push eax
call fcn.00430f9c
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x4245a6
push edi
push 0x1387
lea eax, [ebp - 0x138b]
push 0
push eax
mov byte [ebp - 0x138c], 0
call fcn.0042b8b0
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x138c]
push 1
push eax
call fcn.00430d23
mov edi, eax
add esp, 0x1c
cmp edi, 1
jl 0x424595
push esi
mov esi, str._Item_ID_
push 1
push 0xfffffffffffffff7
push ebx
call fcn.004304c5
lea eax, [ebp - 0x138c]
push esi
push eax
mov byte [ebp + edi - 0x138c], 0
call fcn.00431480
add esp, 0x14
jmp 0x42456f
inc dword [ebp - 0x1390]
add eax, 0xb
push esi
push eax
call fcn.00431480
pop ecx
pop ecx
test eax, eax
jne 0x42455d
cmp edi, dword [ebp + 0xc]
jne 0x424594
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x138c]
push 1
push eax
call fcn.00430d23
mov edi, eax
add esp, 0x10
cmp edi, 1
jge 0x424539
pop esi
push ebx
call fcn.004305fe
mov eax, dword [ebp - 0x1390]
dec eax
pop ecx
pop edi
jns 0x4245a8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042b92a
leave
ret 8

Function at 0x4245b7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
mov ebx, dword [ebp + 0x198]
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x7a]
push esi
push eax
mov dword [ebp - 0x80], esi
mov word [ebp - 0x7c], si
call fcn.0042b8b0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x19c]
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x42464b
cmp dword [ebp - 0x80], esi
je 0x42464b
push edi
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x80]
mov edi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp edi, esi
pop edi
je 0x42464b
lea eax, [ebp - 0x7c]
push eax
call fcn.0042b16d
test eax, eax
pop ecx
je 0x42464b
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.00403d76
xor eax, eax
inc eax
jmp 0x42464d
xor eax, eax
mov ecx, dword [ebp + 0x18c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
add ebp, 0x190
leave
ret
Function at 0x424664
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 7
pop ebx
xor esi, esi
mov dword [ebp - 0x2b0], ecx
push esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x24], ebx
call fcn.00401734
lea eax, [ebp - 0x3c]
push 0x23
push eax
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
call fcn.004245b7
test eax, eax
pop ecx
pop ecx
je 0x424861
push str.KRSHistoryKSWebShieldxml
lea ecx, [ebp - 0x3c]
call fcn.00403dbd
push 0x24c
lea eax, [ebp - 0x2a4]
push esi
push eax
mov dword [ebp - 0x2a8], esi
call fcn.0042b8b0
push str..xml
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00404211
add esp, 0x18
cmp dword [eax + 0x18], 8
jb 0x424705
mov eax, dword [eax + 4]
jmp 0x424708
add eax, 4
push edi
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
push 1
lea ecx, [ebp - 0x2dc]
mov edi, eax
call fcn.00401f6b
cmp edi, 0xffffffff
je 0x424860
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x40], ebx
call fcn.00401734
lea eax, [ebp - 0x27c]
push 0x448d0c
push eax
call fcn.0042f541
test eax, eax
pop ecx
pop ecx
je 0x424793
lea eax, [ebp - 0x27c]
push 0x449b50
push eax
call fcn.0042f541
test eax, eax
pop ecx
pop ecx
je 0x424793
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004040fd
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.004053ab
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401f6b
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.00401f6b
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424730
cmp edi, esi
je 0x4247bb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c0]
xor edi, edi
call fcn.004016e7
test eax, eax
jbe 0x424860
push edi
lea ecx, [ebp - 0x2c0]
call fcn.004016fd
cmp dword [eax + 0x18], 8
jb 0x4247e7
mov eax, dword [eax + 4]
jmp 0x4247ea
add eax, 4
push eax
push 0x4471bc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00404211
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404211
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x2dc]
call fcn.00401f6b
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x42482a
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x2b0]
push 0x7ff
push eax
call fcn.004244c3
add dword [ebp - 0x2ac], eax
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401f6b
lea ecx, [ebp - 0x2c0]
inc edi
call fcn.004016e7
cmp edi, eax
jb 0x4247d0
pop edi
lea ecx, [ebp - 0x2c0]
call fcn.00404b19
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401f6b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2ac]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
leave
ret

Function at 0x425613
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
leave
ret
Function at 0x42841a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.uninstdef.ini
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xe
pop ecx
mov esi, str.http:__cu003.www.duba.net_duba_tools_dubatools_setup.exe
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
push 0xcb
lea eax, [ebp - 0xcf]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.0042b8b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x103
lea eax, [ebp - 0x108]
push eax
push eax
push 0x44d4bc
push str.webshield
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
mov ecx, ebx
call fcn.00403627
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
leave
ret 4

Function at 0x4284d0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push esi
mov ebx, dword [ebp + 0x198]
push edi
mov esi, 0x44d51c
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1f6
lea eax, [ebp - 0x6a]
push 0
push eax
mov dword [ebp - 0x80], ecx
movsw word es:[edi], word [esi]
call fcn.0042b8b0
add esp, 0xc
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x103
push eax
push eax
push str.name
push str.duba
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.00403d76
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
add ebp, 0x190
leave
ret 4

Function at 0x42855a
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
mov ebx, dword [ebp + 0x198]
push esi
push edi
mov esi, str.21.8MB
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1fa
lea eax, [ebp - 0x6e]
push 0
push eax
mov dword [ebp - 0x80], ecx
movsw word es:[edi], word [esi]
call fcn.0042b8b0
add esp, 0xc
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x103
push eax
push eax
push str.size
push str.duba
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.00403d76
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
add ebp, 0x190
leave
ret 4
Function at 0x4285e3
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
mov ebx, dword [ebp + 0x198]
push esi
push edi
mov esi, 0x44d55c
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1fc
lea eax, [ebp - 0x70]
push 0
push eax
mov dword [ebp - 0x80], ecx
movsd dword es:[edi], dword [esi]
call fcn.0042b8b0
add esp, 0xc
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x103
push eax
push eax
push str.update
push str.duba
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.00403d76
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
add ebp, 0x190
leave
ret 4

Function at 0x42866a
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
mov ebx, dword [ebp + 0x198]
push esi
push edi
push 0xd
mov dword [ebp - 0x80], ecx
pop ecx
push 0x1d4
lea eax, [ebp - 0x48]
push 0
mov esi, str.Win7_Vista_XP_
lea edi, [ebp - 0x7c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0042b8b0
add esp, 0xc
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0x103
push eax
push eax
push 0x44d568
push str.duba
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.00403d76
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
add ebp, 0x190
leave
ret 4
Function at 0x429722
Capabilities:
Create http request
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
or dword [ebp - 0x64], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 0x3b4]
push edi
mov edi, dword [ebp + 0x3b8]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x4484b5
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x7c], 4
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x80], eax
je 0x4298be
push ebx
push 0x80000000
push ebx
push ebx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x78], esi
je 0x4298b5
push ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x20000005
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4297bf
push dword [ebp - 0x6c]
mov eax, dword [ecx]
push ebx
call dword [eax]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [ebp - 0x74], eax
je 0x4298ac
cmp eax, 0xffffffff
je 0x4298ac
push ebx
push ebx
push ebx
push dword [ebp + 0x3bc]
push esi
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
push 0x3ff
lea eax, [ebp - 0x57]
push ebx
push eax
mov byte [ebp - 0x58], bl
call fcn.0042b8b0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
mov edi, 0x400
push edi
lea eax, [ebp - 0x58]
push eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x429889
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
je 0x429897
mov eax, dword [ebp - 0x70]
cmp dword [eax + 4], ebx
jne 0x42989c
add dword [ebp - 0x60], ecx
mov ecx, dword [eax]
cmp ecx, ebx
je 0x429847
push dword [ebp - 0x6c]
mov eax, dword [ecx]
push dword [ebp - 0x60]
call dword [eax]
push ebx
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4298a3
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x68]
jne 0x4298a3
push 0x3ff
lea eax, [ebp - 0x57]
push ebx
push eax
mov byte [ebp - 0x58], bl
call fcn.0042b8b0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], ebx
call esi
test eax, eax
jne 0x429825
jmp 0x4298a3
mov dword [ebp - 0x64], ebx
jmp 0x4298a3
mov dword [ebp - 0x64], 1
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x78]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x80]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp + 0x3a8]
mov eax, dword [ebp - 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b92a
add ebp, 0x3ac
leave
ret 0xc