joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c160
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.00485f76
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [esp + 0x12], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x42c2d9
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0x42c1b3
mov eax, dword [esi + 0x40]
jmp 0x42c1b6
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.0042aa10
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x13]
test ebx, ebx
je 0x42c274
xor edx, edx
dec ebx
cmp byte [esp + 0x13], dl
je 0x42c1f8
cmp byte [edi], dl
jmp 0x42c1fc
cmp word [edi], 0
sete dl
test edx, edx
je 0x42c226
test eax, eax
je 0x42c21f
cmp edi, eax
je 0x42c21f
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.004853f0
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x42c1eb
test eax, eax
je 0x42c249
cmp edi, eax
je 0x42c249
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.004853f0
add esp, 0xc
test ebp, ebp
je 0x42c274
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.0042aa10
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0x42c2cb
test byte [esi + 4], 0x80
je 0x42c2cb
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x42c2a6
jmp 0x42c290
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x42c290
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [esp + 0x28]
push eax
call fcn.0042aa10
add esp, 0x18
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.0042bba0
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0x42c7e0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebp, ebp
jne 0x42c7fc
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x42c876
test edx, edx
jne 0x42c835
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446872
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.00481e40
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x42c852
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x42c840
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.0042aa10
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.0048030d
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x42c89b
push edi
call fcn.0044687d
add esp, 4
test bl, bl
je 0x42c8de
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0x42c8bb
mov eax, dword [esi + 0x40]
jmp 0x42c8be
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.0042aa10
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.0042bba0
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0x42dca0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x53f219
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x594aa4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
lea edi, [ebp + 4]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov dword [esp + 0x1c], ebp
mov word [edi], ax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 1
mov ebx, eax
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42dd00
sub eax, edx
mov esi, dword [ebp + 0x14]
sar eax, 1
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax + 7]
cmp esi, eax
ja 0x42dd51
cmp dword [ebp + 0x18], eax
je 0x42dd51
push 1
push eax
mov ecx, ebp
call fcn.004089e0
test al, al
je 0x42dd51
cmp dword [ebp + 0x18], 8
mov dword [ebp + 0x14], esi
jb 0x42dd4b
mov edi, dword [edi]
xor ecx, ecx
mov word [edi + esi*2], cx
movzx eax, word [ebx]
test ax, ax
je 0x42de6b
mov esi, dword [esp + 0x38]
and esi, 0x100
mov dword [esp + 0x14], esi
test esi, esi
je 0x42dd88
lea edx, [eax - 0x22]
cmp dx, 0x1c
ja 0x42de51
movzx ecx, ax
movsx edi, byte [ecx + 0x582bc2]
jmp 0x42dd9f
lea edx, [eax - 0x26]
cmp dx, 0x18
ja 0x42de51
movzx ecx, ax
movsx edi, byte [ecx + 0x582bde]
test edi, edi
je 0x42de51
test byte [esp + 0x38], 8
je 0x42de27
cmp ax, 0x26
jne 0x42de27
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
lea edx, [eax - 0x23]
cmp dx, 0x57
ja 0x42ddd2
movzx ecx, ax
movsx ecx, byte [ecx + 0x582bfd]
test ecx, ecx
jne 0x42ddd8
cmp ax, 0x7f
jbe 0x42de27
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
je 0x42de0f
lea edx, [eax - 0x2d]
cmp dx, 0x4d
ja 0x42ddfc
movzx ecx, ax
movsx ecx, byte [ecx + 0x582c53]
test ecx, ecx
jne 0x42de02
cmp ax, 0x7f
jbe 0x42de27
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
jne 0x42dde5
mov eax, esi
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
mov ecx, ebp
call fcn.00408700
mov ebx, esi
mov esi, dword [esp + 0x14]
jmp 0x42de5b
mov edx, dword [edi*4 + 0x5a5d24]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42de33
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, ebp
call fcn.00408700
mov esi, dword [esp + 0x14]
jmp 0x42de5b
push 1
push ebx
mov ecx, ebp
call fcn.00408700
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x42dd6b
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x430490
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
cmp byte [0x5ab500], 0
je 0x4304a8
cmp byte [esp + 4], 0
jne 0x4304a8
mov eax, 0x11
ret 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi + 8], eax
test eax, eax
jge 0x4304bc
xor eax, eax
ret 4
push esi
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x4304e0
cmp eax, 0x80010119
jne 0x43053d
lea esi, [edi + 4]
push esi
push 0x57cea4
push 1
push 0
push 0x57cf74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x430537
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5834d4
push eax
call edx
test eax, eax
jl 0x430537
mov eax, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x43053d
xor eax, eax
pop esi
ret 4
mov byte [0x5ab500], 1
mov eax, 1
pop esi
ret 4
Function at 0x433620
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5417e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x594aa4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x594aa4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push 0x583b54
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x14]
xor eax, eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x1c], 0
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
call fcn.00433510
mov dl, byte [esp + 0x12]
add byte [esp + 0x1c], dl
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x1e]
add al, byte [esp + 0x13]
add byte [esp + 0x1f], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x28]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x2b]
push edx
push ecx
movzx ecx, byte [esp + 0x30]
movzx edx, al
movzx eax, byte [esp + 0x31]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x54]
push 0x11
push edx
call fcn.00481b43
add esp, 0x2c
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x14]
call fcn.0042a750
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov esi, dword [eax]
cmp esi, ebx
je 0x43371e
cmp dword [esi + 4], ebx
jne 0x433719
mov ecx, dword [esi]
push ecx
call fcn.00537990
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x433720
xor esi, esi
push esi
lea ecx, [esp + 0x20]
call fcn.0043a380
push eax
push str.MachId
mov ecx, edi
mov byte [esp + 0x58], 1
call fcn.0043b540
mov ecx, eax
call fcn.0043a7e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], bl
call fcn.0043a6e0
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x433790
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x433790
cmp esi, ebx
je 0x433790
mov eax, dword [esi]
cmp eax, ebx
je 0x433777
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x433787
push eax
call fcn.0044687d
add esp, 4
push esi
call fcn.0044687d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0047ff9f
add esp, 0x48
ret
Function at 0x4337b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x594aa4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
mov edi, ecx
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push 0x583b54
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x10]
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x18], 0
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
call fcn.00433510
mov dl, byte [esp + 0xe]
add byte [esp + 0x18], dl
mov cl, byte [esp + 0x1d]
mov al, byte [esp + 0x1a]
add al, byte [esp + 0xf]
add byte [esp + 0x1b], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x24]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x27]
push edx
push ecx
movzx ecx, byte [esp + 0x2c]
movzx edx, al
movzx eax, byte [esp + 0x2d]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x44]
push 0x11
push edx
call fcn.00481b43
add esp, 0x2c
call fcn.0040eb00
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x433874
sub eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00409f90
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047ff9f
mov esp, ebp
pop ebp
ret
Function at 0x434aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x434ab9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x434af4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x434af0
lea ebx, [ebx]
cmp esi, eax
jae 0x434af4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x434ae0
cmp esi, eax
jb 0x434afa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x435220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53f149
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x594aa4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], dx
mov dword [esp + 0x14], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov word [esi + 0x20], dx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov word [esi + 0x3c], ax
lea ecx, [esi + 0x54]
push ecx
mov byte [esp + 0x18], 2
call fcn.004278a0
lea edx, [esi + 0x6c]
push edx
mov byte [esp + 0x18], 3
call fcn.00436830
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x44166d
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.SHENGQUGAMES_INSTALLER_CHECK_SINGLE
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4416a8
push 0
push 0x544898
push 0x544884
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
ret

Function at 0x4416b1
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x594aa4]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
push str.DLLRES
push 0x68
xor ebx, ebx
push ebx
mov dword [ebp - 0x78], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x74], ebx
cmp esi, ebx
je 0x441797
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor eax, eax
push 0x206
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.004804c0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x70]
push 0x544900
push eax
call fcn.0048046c
lea eax, [ebp - 0x70]
push 0x57dc18
push eax
call fcn.00480455
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x44178d
push edi
push esi
push 1
push dword [ebp - 0x80]
call fcn.0048030d
add esp, 0x10
cmp esi, eax
jne 0x441786
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
add ecx, 0x314
call fcn.00405cb0
mov dword [ebp - 0x74], 1
push edi
call fcn.0048012f
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
cmp dword [ebp - 0x74], ebx
mov ecx, dword [ebp + 0x198]
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ff9f
add ebp, 0x19c
leave
ret

Function at 0x441ce2
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
mov ecx, dword [0x5a5ec0]
push 0
call fcn.0046d347
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x310], 5
je 0x441d18
mov ecx, dword [esi + 0x2cc]
push 0x57d3dd
push str.12020000
call fcn.00403a00
lea edi, [esi + 0x2cc]
mov ecx, dword [edi]
call fcn.00402bd0
mov esi, dword [esi + 0x270]
test esi, esi
je 0x441d3b
push 0x1d4c0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi]
call fcn.00403af0
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
Function at 0x441d4a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x594aa4]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov ecx, dword [ebp + 0x1b0]
mov eax, dword [ebp + 0x1ac]
push ebx
mov ebx, dword [ebp + 0x1b4]
push esi
mov esi, dword [ebp + 0x1a8]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0x1bc]
push edi
mov edi, dword [ebp + 0x1c4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], ecx
test eax, eax
jne 0x441da0
xor eax, eax
jmp 0x441e9c
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x70]
push eax
push 0x546fdc
push 1
push 0
push 0x54700c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x441d99
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x546ffc
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
jge 0x441de4
push eax
call dword [ecx + 8]
jmp 0x441d99
test esi, esi
jne 0x441df0
push dword [0x5a86f0]
jmp 0x441df1
push esi
push eax
call dword [ecx + 0x50]
xor esi, esi
cmp edi, esi
je 0x441e10
push edi
call fcn.0047f94f
pop ecx
test eax, eax
je 0x441e10
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
cmp ebx, esi
je 0x441e1e
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x24]
cmp word [ebp + 0x1b8], si
je 0x441e36
mov eax, dword [ebp - 0x70]
push dword [ebp + 0x1b8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp dword [ebp - 0x78], esi
je 0x441e47
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x70]
push dword [ebp + 0x1c0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
cmp dword [ebp - 0x74], esi
je 0x441e72
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x80]
push str._s_s
push eax
call fcn.00480cb9
add esp, 0x10
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
test esi, esi
setge al
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ff9f
add ebp, 0x1a0
leave
ret 0x20

Function at 0x441eef
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x594aa4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004804c0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x94]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0047ff9f
add ebp, 0x98
leave
ret
Function at 0x445a9e
Capabilities:
Create thread

Disassembly:
push 0x30
mov eax, 0x53c46b
call fcn.0047ffae
mov esi, ecx
push dword [0x5a5ec0]
xor edi, edi
push edi
push 0x445a95
call fcn.00481d85
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov dword [esi + 0x270], eax
call fcn.00406190
mov ecx, dword [esi + 0x2cc]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], edi
call fcn.00405530
lea ecx, [ebp - 0x24]
call fcn.00406190
mov ecx, dword [esi + 0x2cc]
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.00405550
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
push 0x38
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x445b2a
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cdq
idiv ecx
test eax, eax
jne 0x445b2a
push edi
push edi
push 0x402
mov ecx, esi
call fcn.00454142
jmp 0x445b39
push edi
push edi
push 0x44548f
call fcn.00481d85
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.004072a0
push dword [ebp - 0x24]
call fcn.0044687d
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.004072a0
push dword [ebp - 0x3c]
call fcn.0044687d
pop ecx
xor eax, eax
call fcn.00480086
ret 0x10
Function at 0x445f92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x148
lea ebp, [esp - 4]
mov eax, dword [0x594aa4]
xor eax, ebp
mov dword [ebp + 0x148], eax
push 0xc
mov eax, 0x53c50a
call fcn.0047ffae
mov esi, ecx
mov eax, dword [esi]
push str.ZIPRES
call dword [eax + 0x14]
push eax
call fcn.00450790
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4460e0
push edi
call fcn.00450790
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
push edi
test eax, eax
jne 0x445ffc
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4460e0
call fcn.00450790
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4460e0
push edi
call fcn.00446872
pop ecx
mov dword [0x5a5ed0], eax
test eax, eax
je 0x44603b
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x5a5ed0]
call fcn.00481e40
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
push dword [0x5a5ed0]
call fcn.00450807
pop ecx
pop ecx
push 0xfffffffffffffff0
mov ecx, esi
call fcn.0046d347
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.0046d347
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [esi + 4]
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.0045065b
lea ecx, [ebp]
call fcn.004584f9
and dword [ebp - 4], 0
push 0
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], 0x544b08
lea ecx, [ebp]
mov dword [ebp - 0x10], esp
mov dword [eax], str.InstallFrame.xml
call fcn.00458d21
push eax
mov ecx, edi
call fcn.0045391d
lea eax, [esi + 0x10]
push eax
mov ecx, edi
call fcn.00450e53
mov ecx, esi
call fcn.00445cc4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004546f2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x148]
xor ecx, ebp
call fcn.0047ff9f
add ebp, 0x14c
leave
ret 0x10

Function at 0x450608
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x45061e
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x45062a
or edi, 1
push 1
call esi
test ax, ax
jge 0x450636
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x450642
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x45064e
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x452192
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x4521b7
cmp ebx, dword [esi + 0x54]
je 0x4521b7
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x452279
push edi
test eax, eax
je 0x45220a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00451cc7
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x452278
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x452278
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x452278
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x452278
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00451cc7
pop edi
pop esi
pop ebx
leave
ret 4