joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ca10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x5680]
test eax, eax
je 0x41cb22
push ebx
push ebp
push edi
mov edi, dword [esi + 0x562c]
xor ebx, ebx
test edi, edi
jne 0x41ca43
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x41ca41
call fcn.0041cb30
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x41ca55
mov ebx, 1
jmp 0x41cadd
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41ca67
mov ebx, 2
jmp 0x41cadd
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x41cad6
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41cac3
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x561c]
mov edx, dword [esi + 0x5614]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jne 0x41cabc
mov edx, dword [esi + 0x5620]
mov ecx, dword [esi + 0x5618]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x41cabc
mov ebx, 3
jmp 0x41cac8
mov ebx, 4
jmp 0x41cac8
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x41cadd
call ebp
mov dword [esi + 0x44], eax
jmp 0x41cadd
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x41cb10
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x41cb10
mov eax, dword [esi + 0x5640]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x41cb10
mov eax, dword [esi + 0x5628]
push esi
push 0x2c
push 0x3401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
pop edi
pop ebp
cmp eax, 2
pop ebx
ja 0x41cb22
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x41de70
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x56ff8c
call fcn.0041e1b0
push 0x40
push 0x523ec8
push 0x56ff8c
push 0x56ff8c
call fcn.0041e0d0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x41defb
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x539744]
mov ecx, 8
mov esi, eax
mov edi, 0x56ff6c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041e010
mov ecx, dword [0x539740]
mov edx, dword [0x539744]
push 0x20
push ecx
push edx
call fcn.0041e120
mov edi, dword [0x539740]
add esp, 0x14
mov ecx, 8
mov esi, 0x56ff6c
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41deaf
jmp 0x41df54
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x539740]
mov ecx, 8
mov esi, eax
mov edi, 0x56ff6c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041e010
mov ecx, dword [0x539744]
mov edx, dword [0x539740]
push 0x20
push ecx
push edx
call fcn.0041e120
mov edi, dword [0x539744]
add esp, 0x14
mov ecx, 8
mov esi, 0x56ff6c
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41df0a
push 0x40
push 0x523f08
push 0x56ff8c
push 0x56ff8c
call fcn.0041e0d0
mov eax, dword [esp + 0x24]
push 0x40
push 0x56ff8c
push eax
call fcn.0041e1f0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41df90
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x56ff2c
call fcn.0041e1b0
push 0x38
push str.91__
push 0x56ff2c
push 0x56ff2c
call fcn.0041e0d0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x524000]
mov edx, dword [0x539748]
push ecx
push 0x1c
push edx
call fcn.0041e150
movsx eax, byte [esi + 0x524000]
mov ecx, dword [0x53974c]
push eax
push 0x1c
push ecx
call fcn.0041e150
push 0x30
push 0x523fd0
push 0x56ff2c
push edi
call fcn.0041e0d0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x41dfc2
pop edi
pop esi
ret

Function at 0x41e010
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x523f48
push esi
push 0x56fefc
call fcn.0041e0d0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x56fefc
call fcn.0041e120
push 0x56fefc
push esi
call fcn.0041e060
push 0x20
push 0x523f78
push esi
push esi
call fcn.0041e0d0
add esp, 0x34
pop esi
ret

Function at 0x41e120
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x41e142
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x41e134
pop ebx
pop esi
ret

Function at 0x41e270
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 0x14], eax
test ebx, ebx
jle 0x41e2a8
push edi
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
call fcn.0041e240
mov cl, byte [esi + edi]
add al, 0x11
xor al, cl
add esp, 4
xor al, 2
mov byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x41e289
pop edi
pop esi
pop ebx
ret
Function at 0x420510
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x51d4fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x18]
call fcn.00492760
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x258]
mov dword [esi], 0x524228
mov dword [esi + 0x87c], 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x254], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x460]
push SysReAllocString
push 0x53917c
rep stosd dword es:[edi], eax
lea eax, [esi + 0x668]
push ebx
push 0x104
push eax
mov dword [esp + 0x30], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], 0xffffffff
call fcn.00410510
push 0xc
mov dword [esi + 0x870], 0xc
mov dword [esi + 0x874], ebx
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x42060d
lea eax, [esp + 0xc]
mov dword [edi + 8], 6
push eax
push 0xff000000
mov dword [edi], 0x523d20
mov dword [esp + 0x14], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [esi + 0x878], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x878], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x420fa0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x48
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
fild qword [esp + 4]
fmul qword [0x524250]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fmul qword [0x524250]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fadd qword [0x524248]
call sub.MSVCRT.dll__ftol
cmp eax, 0x400
pop edi
ja 0x42102a
mov eax, 1
add esp, 0x48
ret
cmp eax, 0x800
ja 0x42103a
mov eax, 2
add esp, 0x48
ret
mov edx, 0x1000
cmp edx, eax
sbb eax, eax
neg eax
add eax, 3
add esp, 0x48
ret
Function at 0x421050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51d56e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0050a6a0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004f7d30
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462840
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00462840
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x528], edi
mov dword [esi + 0x52c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x52425c
mov eax, esi
pop edi
mov dword [ebx], 0x524258
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x421067
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51d56e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0050a6a0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004f7d30
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462840
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00462840
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x528], edi
mov dword [esi + 0x52c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x52425c
mov eax, esi
pop edi
mov dword [ebx], 0x524258
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x421100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51d5ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x24]
mov dword [esi], 0x52425c
mov dword [edi], 0x524258
lea ecx, [esi + 0x2ac]
mov dword [esp + 0x18], 2
call fcn.00462940
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462940
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004f7d60
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0050a6e0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x421470
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push 0x2008
push 0x44
lea edx, [esp + 0x18]
push edi
push edx
push 0x44000000
push 0x56bc90
push str.XWnd
push 0
mov ecx, esi
call fcn.0050a7b0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.0049b1f0
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
push 0
lea edi, [esi + 0x30]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x528], eax
call fcn.004629e0
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00462ef0
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.0049b1f0
add esp, 4
push eax
push str.Button
push 0
call ebx
push 0
push 0
mov dword [esi + 0x52c], eax
lea edi, [esi + 0x2ac]
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.004629e0
mov ecx, dword [esi + 4]
push 0xc7
push ecx
mov ecx, edi
call fcn.00462ef0
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x421620
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x421640
call fcn.004215a0
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x421660
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x421690
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5398c0]
xor eax, edx
inc ecx
dec esi
jne 0x421671
pop ebx
not eax
pop esi
ret

Function at 0x422860
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebp, ebp
mov esi, ecx
je 0x4228fd
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4228fd
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x4228a0
push eax
push 0x5384a4
lea eax, [esi + 0x28]
push 0x103
push eax
call edi
add esp, 0x10
push ebp
push 0x5384a4
lea ecx, [esi + 0x230]
push 0x103
push ecx
call edi
add esp, 0x10
lea edx, [esi + 0x438]
push ebx
push 0x5384a4
push 0x103
push edx
call edi
push 0
push 4
push esi
push 0x422c00
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x28
mov dword [esi + 0x24], eax
test eax, eax
pop edi
je 0x4228fd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x422960
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x628
push ebx
push ebp
push esi
mov dword [esp + 0x18], ecx
call fcn.004061d0
mov esi, eax
xor ebp, ebp
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0xc], esi
je 0x422b62
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x422b62
push edi
mov ecx, 0x100
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], 1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bp
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x228]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push 0x103
push ecx
push edx
mov ecx, esi
call fcn.00439490
test eax, eax
je 0x422b61
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x432]
mov word [esp + 0x430], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
stosw word es:[edi], ax
je 0x422a53
lea eax, [esp + 0x20]
push 0x103
push eax
call fcn.0042f080
lea ecx, [esp + 0x430]
push 0x103
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0042efa0
jmp 0x422af4
cmp word [esp + 0x228], bp
je 0x422af4
lea edx, [esp + 0x228]
push ebp
push edx
mov ecx, esi
call fcn.0042fcb0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
push esi
call edi
test eax, eax
jne 0x422a95
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
push 1
push eax
call fcn.0042fcb0
mov esi, eax
push esi
call edi
test eax, eax
je 0x422af0
lea ecx, [esp + 0x430]
push 0x103
push ecx
push esi
call fcn.0043f510
lea edx, [esp + 0x234]
lea ecx, [esp + 0x2c]
add esp, 0xc
mov esi, 0x104
lea eax, [esp + 0x20]
sub edx, ecx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x422ae6
mov cx, word [edx + eax]
cmp cx, bp
je 0x422ae6
mov word [eax], cx
add eax, 2
dec esi
jne 0x422ac8
jmp 0x422aea
cmp esi, ebp
jne 0x422aed
sub eax, 2
mov word [eax], bp
mov esi, dword [esp + 0x10]
cmp word [esp + 0x20], bp
je 0x422b58
cmp word [esp + 0x430], bp
je 0x422b58
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x200
jge 0x422b61
cmp eax, ebp
jne 0x422b31
lea edx, [esp + 0x430]
lea eax, [esp + 0x20]
push edx
push eax
push 0x539cd8
push 0x1ff
push ebx
jmp 0x422b4f
lea ecx, [esp + 0x430]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x1ff
push edx
sub ecx, eax
push 0x539cc8
lea edx, [ebx + eax*2]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
inc dword [esp + 0x18]
jmp 0x4229af
pop edi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x638]
push ebx
push eax
mov edx, dword [ecx + 4]
push 0x401
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
pop ebx
add esp, 0x628
ret 4
Function at 0x422da0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x218
mov eax, dword [esp + 0x21c]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, 3
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
ja case.default.0x422dc6
jmp dword [eax*4 + 0x422f7c]
mov eax, dword [esi + 4]
push ebp
push 0x7530
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], ebp
push edx
mov dword [esp + 0x18], ebp
call dword [sym.imp.MSVCRT.dll_time]
lea eax, [esp + 0x20]
push eax
push str.LastCheckUpdate
push str.Main
call fcn.0040e740
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, ecx
add esp, 0x10
sub eax, edx
js 0x422e3b
cmp eax, 0x5460
jle case.default.0x422dc6
push ecx
push str.LastCheckUpdate
push str.Main
mov ebx, 0x56bc90
call fcn.0040e8c0
add esp, 0xc
jmp 0x422efb
mov ecx, dword [esi + 4]
push 1
push ecx
mov dword [esp + 0x20], 5
mov ebx, str._manual
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x422efb
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x438]
lea ecx, [esp + 0x20]
push eax
push str._sv3update_v3update.ini
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0x20]
push edx
push ebp
push str.flag
push 0x539d30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne case.default.0x422dc6
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x7d0
push eax
push 0x539d2c
push str.flag
push 0x539d30
mov ebx, str._v3_update_only_update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp ebx, ebp
je case.default.0x422dc6
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
add esi, 0x230
lea ecx, [esp + 0x20]
push esi
push str._sseup.exe
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.0043f210
add esp, 0x18
test eax, eax
je case.default.0x422dc6
lea eax, [esp + 0x20]
push eax
call fcn.004ad5f0
add esp, 4
test eax, eax
je case.default.0x422dc6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push 1
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00451810
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
Function at 0x423050
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
lea esi, [edx + 0x438]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call edi
add esp, 4
dec eax
cmp eax, 0x103
jbe 0x423091
mov eax, 0x103
jmp 0x423098
push esi
call edi
add esp, 4
dec eax
push eax
lea eax, [esp + 0xc]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.0043f210
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x4230e9
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4230e9
test al, 0x10
jne 0x4230e9
lea eax, [esp]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x208
ret

Function at 0x4231e0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x20c
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push str.pluginbar.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x230]
lea ecx, [esp + 0x10]
push eax
push 0x538c6c
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0043f210
add esp, 0x1c
test eax, eax
je 0x423273
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 4
push esi
push 0x423280
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x423273
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x4235a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x423635
push 0
push str.seupdr.dat
mov ecx, 0x56bcc8
call fcn.0040c2a0
test eax, eax
je 0x42362c
push 0x539e0c
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42362c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0051c5a0
mov eax, dword [ebp + 8]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push 1
push eax
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
call fcn.0051c54a
add esp, 4
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x423860
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push esi
mov dword [esp + 4], eax
push edx
lea eax, [esp + 8]
push 0
push eax
push 0x4238c0
push 0
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x4238b4
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop esi
add esp, 0xc
ret

Function at 0x423a00
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x214]
push esi
call fcn.004238f0
add esp, 4
test eax, eax
je 0x423a63
test esi, esi
je 0x423a3d
push 1
push 0x539edc
push 0x5389a8
mov dword [0x59c2fc], 1
call fcn.0040e8c0
add esp, 0xc
push esi
push 0x539ebc
push 0x5389a8
mov dword [0x59c300], esi
call fcn.0040e8c0
add esp, 0xc
mov eax, 1
pop esi
add esp, 0x20c
ret
call fcn.004c1630
test eax, eax
jne 0x423af4
push eax
push str._tp:
mov ecx, 0x56bcc8
call fcn.0040ac70
push eax
call fcn.0044f970
add esp, 0xc
cmp eax, 2
je 0x423af4
mov ax, word [0x56bc90]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
push esi
push 0x538a2c
push 2
push str._tp:
push str._s_d__s_d
lea ecx, [esp + 0x20]
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea edx, [esp + 0xc]
push 5
push 0
push edx
push 0x56bd2c
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
test esi, esi
je 0x423b16
push 1
push 0x539edc
push 0x5389a8
mov dword [0x59c2fc], 1
call fcn.0040e8c0
add esp, 0xc
push esi
push 0x539ebc
push 0x5389a8
mov dword [0x59c300], esi
call fcn.0040e8c0
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00424e00
push esi
call fcn.00423cc0
push esi
call fcn.004240e0
push esi
call fcn.00423e00
push esi
call fcn.004244f0
add esp, 0x10
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0xa
push 2
push str.SOFTWAREClientsStartMenuInternet
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, 1
pop esi
add esp, 0x20c
ret