joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1664
call fcn.004acaf0
mov eax, dword [0x4e5d60]
xor eax, esp
mov dword [esp + 0x1660], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, 0xc
mov esi, str.C:UsersPublicDesktop
lea edi, [esp + 0x218]
rep movsd dword es:[edi], dword [esi]
push 0x1d6
lea ecx, [esp + 0x24e]
push 0
push ecx
mov dword [esp + 0x18], eax
movsw word es:[edi], word [esi]
call fcn.004aaf30
mov ecx, 0x16
mov esi, str.C:Documents_and_SettingsAll_UsersDesktop
lea edi, [esp + 0x42c]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
push 0x1ae
lea edx, [esp + 0x47e]
push 0
push edx
movsw word es:[edi], word [esi]
call fcn.004aaf30
add esp, 0xc
push 0x1040
lea eax, [esp + 0x62c]
push 0
push eax
call fcn.004aaf30
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov esi, 3
mov word [esp + 0x1c], cx
call fcn.004aaf30
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 0x28
lea eax, [esp + 0x18]
push eax
push 0
call edi
test eax, eax
je 0x417936
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xa3c]
push 0x104
push edx
mov esi, 4
call fcn.004a8254
add esp, 0xc
push str.Desktop
lea eax, [esp + 0xa3c]
push 0x104
push eax
call fcn.004a8940
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0x18]
push ecx
push 0
call edi
test eax, eax
je 0x4179eb
inc esi
mov edx, esi
imul edx, edx, 0x208
lea eax, [esp + 0x10]
push eax
lea edi, [esp + edx + 0x21c]
push 0x104
push edi
call fcn.004a8254
add esp, 0xc
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
push 0x104
push edi
call fcn.004a8940
inc esi
mov ecx, esi
imul ecx, ecx, 0x208
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea edi, [esp + ecx + 0x21c]
push 0x104
push edi
call fcn.004a8254
add esp, 0xc
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu
push 0x104
push edi
call fcn.004a8940
inc esi
imul esi, esi, 0x208
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea esi, [esp + esi + 0x21c]
push 0x104
push esi
call fcn.004a8254
add esp, 0xc
push str.MicrosoftInternet_ExplorerQuick_Launch
push 0x104
push esi
call fcn.004a8940
add esp, 0xc
lea ebx, [esp + 0x218]
mov esi, 0xa
mov ecx, dword [esp + 0xc]
push str.browser.exe
call fcn.00416b50
add esp, 4
add ebx, 0x208
sub esi, 1
jne 0x4179f7
mov ecx, dword [esp + 0x166c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a6859
mov esp, ebp
pop ebp
ret
Function at 0x417fe0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push ebx
push esi
push edi
xor esi, esi
lea ebx, [esp + 0x10]
mov edi, str.dwHomepage
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
call fcn.004109a0
test eax, eax
jne 0x418006
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4cf374
mov dword [esp + 0x10], eax
call esi
call fcn.00415d20
test eax, eax
je 0x418029
or dword [esp + 0xc], 1
push 0x4cf374
call esi
call fcn.00417a30
test eax, eax
je 0x41803e
or dword [esp + 0xc], 8
push 0x4cf374
call esi
call fcn.00415f80
test eax, eax
je 0x418053
or dword [esp + 0xc], 2
push 0x4cf374
call esi
call fcn.00417140
test eax, eax
je 0x418068
or dword [esp + 0xc], 4
mov ecx, dword [esp + 0xc]
push ecx
push str.dwHomepage
call fcn.00410a60
add esp, 8
test eax, eax
jne 0x418096
call fcn.00411a00
push eax
lea edx, [esp + 0x10]
push edx
push str.dwHomepage
call fcn.00410d60
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4180a0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4c40f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebp
test eax, eax
je 0x418218
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push str.Home.vn.exe
push ecx
call fcn.00401bb0
add esp, 8
mov byte [esp + 0x24], 1
mov edx, dword [esp + 0x14]
push edx
call ebp
test eax, eax
je 0x418145
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push 0x150b
call fcn.004104a0
add esp, 4
test eax, eax
jne 0x418110
jmp 0x418130
mov ecx, dword [esp + 0x14]
push 0x1506
call fcn.004104a0
add esp, 4
test eax, eax
jne 0x418130
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push str.Home.vn.lnk
push ecx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0040ebc0
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41819c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call ebp
test eax, eax
je 0x4181e5
jmp 0x4181b0
mov ecx, dword [esp + 0x14]
push 0x150b
call fcn.004104a0
add esp, 4
test eax, eax
jne 0x4181b0
jmp 0x4181d0
mov ecx, dword [esp + 0x14]
push 0x1506
call fcn.004104a0
add esp, 4
test eax, eax
jne 0x4181d0
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418240
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x418690
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c3c78
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x4cf374
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
call fcn.0040f300
mov eax, dword [esp + 0x30]
push 0x4cbc38
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
push ecx
mov dword [esp + 0x20], ebx
call fcn.004a6ee5
add esp, 0xc
test eax, eax
jne 0x4187f7
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4187f7
push 2
push ebx
push eax
call fcn.004a6fc2
mov edx, dword [esp + 0x20]
push edx
call fcn.004a71e4
mov edi, eax
add esp, 0x10
cmp edi, 0xa00000
jl 0x418766
mov eax, dword [esp + 0x14]
push eax
call fcn.004a7586
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x1c], ebx
call fcn.0040ec90
mov esi, dword [esp + 0x34]
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41882c
lea ecx, [edi + 2]
push ecx
call fcn.00498c53
mov edx, dword [esp + 0x18]
push ebx
push ebx
push edx
mov esi, eax
call fcn.004a6fc2
mov eax, dword [esp + 0x24]
push eax
push edi
push 1
push esi
call fcn.004a74f2
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0x20
push ebx
push ebx
push edi
push esi
push ebx
push 0xfde9
call ebp
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x4187c5
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040f0e0
mov edx, dword [esp + 0x18]
push ebx
push edx
push edi
push esi
push 0
push 0xfde9
call ebp
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040e540
push esi
call fcn.00498c5e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004a7586
add esp, 8
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.0040ec90
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418838
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x418850
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c4048
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.0040f300
mov ecx, dword [esp + 0x28]
push 0x4cbc6c
push ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x28], 0
push edx
mov dword [esp + 0x1c], 0
call fcn.004a6ee5
add esp, 0xc
test eax, eax
jne 0x418939
mov eax, dword [esp + 0x10]
test eax, eax
je 0x418939
push 0
push 0
push eax
call fcn.004a6fc2
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push 0
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call ebx
mov esi, eax
lea eax, [esi + 2]
push eax
call fcn.00498c53
add esp, 4
push 0
push 0
push esi
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push edi
push ecx
push eax
push 0
push 0xfde9
call ebx
mov ecx, dword [esp + 0x10]
push ecx
push esi
push 1
push edi
call fcn.004a7783
push edi
call fcn.00498c5e
mov edx, dword [esp + 0x24]
push edx
call fcn.004a7586
add esp, 0x18
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x419c50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x4e5d60]
xor eax, esp
mov dword [esp + 0x41c], eax
push 0x410
lea eax, [esp + 0x10]
push 0
mov dword [esp + 0x10], 0
push eax
mov dword [esp + 0x10], 0x410
call fcn.004aaf30
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp]
test eax, eax
je 0x419d1c
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
cmp word [esp + eax*2 + 0xa], 0x5c
je 0x419cfa
push 0x4cbc0c
lea ecx, [esp + 0x10]
push 0x208
push ecx
call fcn.004a8940
add esp, 0xc
push str.chrome.exe
lea edx, [esp + 0x10]
push 0x208
push edx
call fcn.004a8940
mov eax, dword [esp + 0xc]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0040f300
mov ecx, dword [esp + 0x41c]
xor ecx, esp
mov eax, edi
call fcn.004a6859
add esp, 0x420
ret
Function at 0x41be60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4c3f90
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x4e5d60]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x40c]
mov dword fs:[0], eax
mov dword [esp + 4], 0
mov dword [esp + 0x414], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x420]
push eax
push 0x200
lea eax, [esp + 0x10]
push eax
push 0x4cf374
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esi + 0xc], eax
lea eax, [esp + 8]
push eax
mov ecx, edi
call fcn.0040f300
mov byte [esp + 0x414], 0
mov eax, dword [esp + 0x41c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bf0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x414], 0xffffffff
mov eax, dword [esp + 0x420]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bf3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x40c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.004a6859
add esp, 0x414
ret 8

Function at 0x41c080
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2a95
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
lea ecx, [ebp - 0x24]
call fcn.00498ffb
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x41c0e5
push 0x104
mov ecx, edi
call fcn.0040f0e0
mov esi, dword [edi]
mov dword [ebp - 4], 0xffffffff
call fcn.00499013
mov edx, dword [ebp + 8]
mov ecx, 0x7878
mov word [esi + 0x204], cx
mov eax, dword [edx + 4]
push eax
push 0x104
push esi
push 0x4cf374
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, byte [esi + 0x204]
test eax, eax
jne 0x41c150
movzx eax, byte [esi + 0x205]
test eax, eax
jne 0x41c150
jmp 0x41c156
sar eax, 0x1f
or eax, 1
xor ecx, ecx
test eax, eax
mov eax, dword [edi]
setne cl
mov esi, ecx
mov ecx, dword [eax - 8]
test eax, eax
je 0x41c176
push ecx
push eax
call fcn.004a7602
add esp, 8
test eax, eax
jl 0x41c19e
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x41c19e
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040f160
int3
Function at 0x41d5f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2470
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
lea ecx, [esi + 0x34]
push esi
mov dword [ebp - 4], edi
call fcn.0041d730
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d7a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2d98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
cmp dword [ebx + 0x34], 0
je 0x41d928
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d7f1
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.needToRemoveHomePg
push str.needToRemoveHomePg
push 0x4d5054
push str.home.vn
push str.moz_cookies
lea ecx, [ebp - 0x14]
push str.SELECT__FROM__s_WHERE_host_key_LIKE__s_and____s_s_or_name_s_
push ecx
mov dword [ebp - 4], 0
call fcn.0040e520
mov esi, dword [ebp - 0x14]
add esp, 0x18
add esi, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push esi
call fcn.0040ec90
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0041dae0
mov edi, eax
add esp, 4
test edi, edi
je 0x41d887
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 8]
push 0xffffffffffffffff
push edi
push eax
mov dword [ebp - 0x1c], 0
call ecx
add esp, 0x14
push edi
test eax, eax
je 0x41d8bf
call fcn.004a6d91
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41d928
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004a6d91
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0xc]
push ecx
call edx
mov edx, dword [ebp - 0x18]
xor ecx, ecx
add esp, 8
cmp eax, 0x64
mov eax, dword [ebx + 0x18]
sete cl
push edx
mov edi, ecx
call eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d906
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d940
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2d68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
cmp dword [ebx + 0x34], 0
je 0x41dac8
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d991
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.needToRemoveHomePg
push str.needToRemoveHomePg
push 0x4d5054
push str.home.vn
push str.cookies
lea ecx, [ebp - 0x14]
push str.SELECT__FROM__s_WHERE_host_key_LIKE__s_and_____s_s_OR_name_LIKE__s_
push ecx
mov dword [ebp - 4], 0
call fcn.0040e520
mov esi, dword [ebp - 0x14]
add esp, 0x18
add esi, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push esi
call fcn.0040ec90
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0041dae0
mov edi, eax
add esp, 4
test edi, edi
je 0x41da27
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 8]
push 0xffffffffffffffff
push edi
push eax
mov dword [ebp - 0x1c], 0
call ecx
add esp, 0x14
push edi
test eax, eax
je 0x41da5f
call fcn.004a6d91
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41dac8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004a6d91
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0xc]
push ecx
call edx
mov edx, dword [ebp - 0x18]
xor ecx, ecx
add esp, 8
cmp eax, 0x64
mov eax, dword [ebx + 0x18]
sete cl
push edx
mov edi, ecx
call eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41daa6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4228a0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [eax], 0
cmp dword [0x4e7268], 0
push esi
je 0x422903
mov eax, dword [0x4ecae8]
test eax, eax
je 0x4228d0
push eax
call dword [0x4e72bc]
add esp, 4
lea ebx, [esp + 0x10]
mov eax, 0x14
call fcn.00420650
mov eax, dword [0x4ecae8]
test eax, eax
je 0x4228f1
push eax
call dword [0x4e72c4]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x422912
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x14
call dword [0x4e728c]
add esp, 4
mov esi, eax
jmp 0x4228f5
cmp dword [0x4e726c], 0
je 0x42293f
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x422870
push 0
push 0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call fcn.004a9401
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x42294f
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x422967
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x18]
mov dword [edx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x424640
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x42466d
push esi
lea esp, [esp]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4cf738]
lea esi, [eax*8]
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x424650
pop esi
ret
Function at 0x4246d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x4246eb
mov esi, 0x80
cmp esi, dword [edi]
jne 0x4246f8
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0x4ec9dc]
test eax, eax
je 0x424703
call eax
lea ecx, [esi*8]
push 0
push ecx
call fcn.00420720
mov esi, eax
mov eax, dword [0x4ec9e0]
add esp, 8
mov dword [esp + 0x10], esi
test eax, eax
je 0x424726
call eax
test esi, esi
je 0x4246ef
mov edx, dword [edi + 0xc]
push edx
call fcn.00420a40
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x4e7298]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [edi], ebx
call fcn.004aaf30
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x424805
mov esi, dword [ecx + 0xc]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x42479c
lea ebx, [ebx]
movzx edx, dl
movzx edx, byte [edx + 0x4cf738]
lea ebp, [eax*8]
xor edx, ebp
inc esi
xor eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x424780
xor edx, edx
div ebx
mov eax, dword [esp + 0x10]
mov ebp, dword [ecx]
lea eax, [eax + edx*8]
test eax, eax
je 0x4247e2
mov esi, dword [eax]
test esi, esi
je 0x4247b8
mov edx, dword [eax + 4]
jmp 0x4247ba
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x4247e2
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4247da
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x4247fb
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x4247fb
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x4247f1
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, ebp
test ebp, ebp
jne 0x42476f
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret