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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
mov eax, dword [ebp + 8]
push ebx
push esi
lea ebx, [eax - 7]
mov esi, eax
push edi
mov dword [ebp + 8], esi
mov dword [ebp - 0xc], ebx
cmp eax, ebx
jbe 0x10023eea
mov edi, dword [ebp + 8]
jmp 0x10023e10
lea eax, [esi - 0xae]
cmp eax, 0xa
ja case.0x10023e1f.178
jmp dword [eax*4 + 0x10023f84]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc8]
test eax, eax
je case.0x10023e1f.178
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
jmp case.0x10023e1f.178
les edi, [ebx - 0x39]
add dword [edx - 1], esi
adc eax, sym.imp.KERNEL32.dll_GetLastError
mov dword [ebp - 0x92c], eax
mov dword [ebp - 0x930], 4
jmp case.0x10023e1f.178
mov edx, dword [ebp + 0xc]
push 0
push 0x80
push 3
push 0
push 1
push bind
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
jmp case.0x10023e1f.178
mov dword [ebp - 4], 0
jmp case.0x10023e1f.178
mov eax, dword [ebp + 0x10]
push eax
push 0x3e
lea ecx, [ebp - 0x930]
push 0
push ecx
call fcn.10023b10
add esp, 0x10
mov dword [ebp - 8], eax
cmp edi, 0xffffffff
je case.0x10023e1f.178
mov ebx, 0xcc
lea esp, [esp]
mov eax, ebx
sub eax, 0xcc
je 0x10023ef4
dec eax
jne 0x10023ecf
push edi
mov ebx, 0xcd
mov dword [ebp + 8], 0xaf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, 0xce
jb 0x10023eb0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
dec esi
mov dword [ebp + 8], esi
cmp esi, ebx
ja 0x10023e10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea edx, [ebp - 0x930]
push edx
push 0x800
lea eax, [ebp - 0x92c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10023ecf
mov edx, dword [ebp + 0x10]
xor ecx, ecx
cmp dword [ebp - 0x930], ecx
push edx
sete cl
push 0x3e
lea eax, [ebp - 0x930]
push 0
push eax
mov esi, ecx
call fcn.10023b10
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x10023ebc
test esi, esi
jne 0x10023ebc
push esi
lea ecx, [ebp - 0x930]
push ecx
push 0x800
lea edx, [ebp - 0x92c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10023f14
jmp 0x10023ecf
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027670
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003e620]
jne 0x1002767a
repz ret
jmp fcn.1002be0f

Function at 0x1002e893
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1003e620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1002a8dc
and dword [ebp - 0x14], 0
cmp dword [0x100413c0], 0
mov dword [ebp - 0x18], eax
jne 0x1002e946
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1002e9ee
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1002e9ee
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100413c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100413c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100413c8], eax
call edi
push eax
call esi
mov dword [0x100413d0], eax
test eax, eax
je 0x1002e946
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100413cc], eax
mov eax, dword [0x100413cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1002e99f
cmp dword [0x100413d0], ecx
je 0x1002e99f
push eax
call esi
push dword [0x100413d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1002e99f
test ebx, ebx
je 0x1002e99f
call edi
test eax, eax
je 0x1002e996
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1002e996
test byte [ebp - 8], 1
jne 0x1002e99f
or dword [ebp + 0x10], 0x200000
jmp 0x1002e9d2
mov eax, dword [0x100413c4]
cmp eax, dword [ebp - 0x18]
je 0x1002e9d2
push eax
call esi
test eax, eax
je 0x1002e9d2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002e9d2
mov eax, dword [0x100413c8]
cmp eax, dword [ebp - 0x18]
je 0x1002e9d2
push eax
call esi
test eax, eax
je 0x1002e9d2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100413c0]
call esi
test eax, eax
je 0x1002e9ee
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1002e9f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027670
leave
ret
Function at 0x401b00
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x41b138]
sub esp, 0x114
cmp eax, 0xffffffff
jne 0x401c90
push edi
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 8]
mov dword [esp + 4], 0x114
mov dword [0x41b138], 0xfffffc18
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x401c8b
cmp dword [esp + 0x10], 2
jne 0x401c8b
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x401c13
mov eax, dword [esp + 8]
test eax, eax
jne 0x401b79
mov eax, 1
mov dword [0x41b138], eax
add esp, 0x114
ret
cmp eax, 1
jne 0x401bf9
lea ecx, [esp + 0x14]
push 0x7f
push ecx
push str.Service_Pack_1
call fcn.0040ff23
add esp, 0xc
test eax, eax
jne 0x401ba7
mov eax, 3
mov dword [0x41b138], eax
add esp, 0x114
ret
lea edx, [esp + 0x14]
push 0x7f
push edx
push str.Service_Pack_2
call fcn.0040ff23
add esp, 0xc
test eax, eax
jne 0x401bd0
mov eax, 4
mov dword [0x41b138], eax
add esp, 0x114
ret
lea eax, [esp + 0x14]
push 0x7f
push eax
push str.Service_Pack_3
call fcn.0040ff23
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 5
mov dword [0x41b138], eax
add esp, 0x114
ret
cmp eax, 2
jne 0x401c8b
mov eax, 6
mov dword [0x41b138], eax
add esp, 0x114
ret
cmp eax, 6
jne 0x401c75
mov eax, dword [esp + 8]
test eax, eax
jne 0x401c70
lea ecx, [esp + 0x14]
push 0x7f
push ecx
push str.Service_Pack_1
call fcn.0040ff23
add esp, 0xc
test eax, eax
jne 0x401c49
mov eax, 8
mov dword [0x41b138], eax
add esp, 0x114
ret
lea edx, [esp + 0x14]
push 0x7f
push edx
push str.Service_Pack_2
call fcn.0040ff23
add esp, 0xc
neg eax
sbb eax, eax
add eax, 8
mov dword [0x41b138], eax
add esp, 0x114
ret
cmp eax, 1
jmp 0x401c78
cmp eax, 7
jne 0x401c8b
mov eax, 9
mov dword [0x41b138], eax
add esp, 0x114
ret
mov eax, dword [0x41b138]
add esp, 0x114
ret
Function at 0x401e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00401db0
mov esi, dword [esp + 0x14]
xor edi, edi
cmp esi, edi
je 0x401f37
push esi
call fcn.0041009c
add esp, 4
test eax, eax
je 0x401f37
push ebx
push 0x83e
push esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x401ee6
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x401ee6
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, esi
mov esi, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor edi, edi
mov eax, dword [ebp + 0xc]
pop ebx
cmp eax, edi
je 0x401f37
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
push ecx
push 1
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x401f37
cmp dword [esp + 0x14], edi
je 0x401f37
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x401f32
mov ecx, dword [esp + 0x14]
lea eax, [esi + 4]
push eax
push ecx
mov dword [esi], 0x418414
mov dword [eax], edi
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x401f34
xor esi, esi
mov dword [ebp + 0x14], esi
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x401f91
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x401f57
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 4], ecx
lea edx, [esp + 0x14]
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esp + 0x1c], edi
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x401f7a
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 4]
cmp ecx, edi
pop edi
pop esi
pop ebp
setg al
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
Function at 0x402ad0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov esi, 0xfa000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x402b04
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
cmp edi, 0xfa000
jae 0x402b16
mov esi, edi
lea ecx, [esp + 0x14]
push 0
push ecx
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402b38
cmp esi, edi
je 0x402b46
sub edi, 0xfa000
add ebx, esi
jmp 0x402b0c
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x402c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x417808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [esp + 0x30]
lea eax, [esp]
push eax
push 0
push ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x402c6f
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp]
test eax, eax
je 0x402dc9
push ebx
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
test ebx, ebx
je 0x402dbe
mov eax, dword [esp + 4]
push ebp
push esi
lea ebp, [ebx + 4]
push edi
push ebp
push eax
mov dword [ebx], 0x418414
mov dword [ebp], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00402b60
mov edi, dword [esp + 0x40]
mov ecx, dword [0x41b120]
add esp, 8
mov dword [esp + 0x40], ecx
test edi, edi
je 0x402d36
mov edx, edi
shr edx, 0x10
jne 0x402ceb
and edi, 0xffff
lea ecx, [esp + 0x40]
push edi
call fcn.00402fd0
jmp 0x402d36
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x402d36
lea eax, [esi + esi + 0xe]
push eax
call fcn.0040f88e
add esp, 4
test eax, eax
je 0x402d36
mov dword [eax], 1
lea ecx, [esi + esi]
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
push ecx
lea edx, [esi + esi + 2]
add eax, 0xc
push edi
push edx
push eax
mov dword [esp + 0x50], eax
call fcn.00402df0
add esp, 0x10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], 0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x402d7c
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push 0
push ecx
push esi
push edx
call sub.gdiplus.dll_GdipSaveImageToFile
test eax, eax
je 0x402d6b
mov dword [ebx + 8], eax
mov edi, eax
jmp 0x402d6d
xor edi, edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x402d7c
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, dword [esp + 0x40]
mov edx, dword [0x41b124]
pop edi
pop esi
lea ecx, [eax - 0xc]
mov dword [esp + 0x28], 0xffffffff
cmp ecx, edx
pop ebp
je 0x402dbe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402dbe
mov edx, dword [esp + 0x34]
add edx, 0xfffffff4
push edx
call fcn.0040ed60
add esp, 4
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop ebx
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x18]
sete al
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x405000
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x2c]
cmp dword [esi + 0x230], edi
je 0x405207
push ebx
cmp edi, 1
push ebp
mov dword [esi + 0x230], edi
je 0x405121
cmp edi, 3
je 0x405121
cmp edi, 2
jne 0x4051f7
mov eax, dword [esi + 0x234]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 0x238]
push 5
push ecx
call edi
push 0
lea ecx, [esi + 0x38]
call fcn.0040b410
mov edx, dword [esi + 0x238]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 4
push 0xc8
push 0x3c
push 7
push 0x1e
push 0
push edx
call edi
mov eax, dword [esi + 0x234]
push 4
push 0xc8
push 0x2b
push 7
push 0x64
push 0
push eax
call edi
lea ecx, [esp + 0x10]
mov ebp, 0xb4
mov ebx, 0x144
push ecx
lea ecx, [esi + 0x178]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0x12
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x32
call fcn.0040b060
lea edx, [esp + 0x20]
lea ecx, [esi + 0xd8]
push edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x16
call fcn.0040b060
push 0x22
push 0xb2
push 5
lea eax, [esi + 0x21c]
push 0x96
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 4]
push 6
push 0x27
push ebx
push 0
push 0
push 0
push ecx
call edi
jmp 0x4051f7
lea ebx, [esi + 0x38]
push 1
mov ecx, ebx
call fcn.0040b410
mov edx, dword [esi + 0x234]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebp
mov eax, dword [esi + 0x238]
push 0
push eax
call ebp
lea ecx, [esp + 0x20]
mov ebp, 0x108
push ecx
lea ecx, [esi + 0x178]
mov dword [esp + 0x24], 0x78
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x32
call fcn.0040b060
lea edx, [esp + 0x10]
lea ecx, [esi + 0xd8]
push edx
mov dword [esp + 0x14], 0x78
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0x16
call fcn.0040b060
push 0x22
push 0x76
push 5
lea eax, [esi + 0x21c]
push 0x5a
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor ecx, ecx
cmp edi, 1
setne cl
add ecx, 0x500
push 1
push ecx
mov ecx, ebx
call fcn.0040b2b0
mov edx, dword [esi + 4]
dec edi
neg edi
push 6
push 0x27
sbb edi, edi
push ebp
and edi, 9
push 0
push 0
inc edi
push 0
push edx
mov dword [esi + 0x22c], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x405870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x417945
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00409350
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x418470
mov dword [esp + 0x20], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea edi, [esi + 0x44]
mov byte [esp + 0x20], 2
mov ecx, edi
call fcn.0040ddc0
mov al, byte [esp + 0x13]
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov byte [esi + 0xac], al
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0xcc], 0x418464
mov dword [esi + 0x120], ebx
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov byte [esp + 0x24], 5
mov dword [esi], 0x418458
mov dword [esi + 0x30], 0x418454
mov dword [esi + 4], ebx
call ebp
push 1
mov dword [esi + 0x34], eax
call ebp
mov edx, dword [esi + 0x34]
mov dword [esi + 0x38], eax
mov dword [0x41e628], edx
mov eax, dword [esi + 0x38]
mov dword [0x41e62c], eax
push 0xec7a00
mov ecx, edi
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
mov dword [esi + 0x48], 9
call fcn.0040ec80
mov ecx, edi
call fcn.0040ece0
lea edx, [esi + 0x4c]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov eax, esi
pop edi
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0x124], ebx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x406590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41799d
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 + 0xc], esi
mov dword [esi], 0x418458
mov dword [esi + 0x30], 0x418454
mov eax, dword [esi + 0x9c]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
xor ebx, ebx
mov dword [esp + 0x1c], 5
cmp eax, ebx
je 0x4065db
push eax
call edi
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x4065e8
push eax
call edi
mov ecx, dword [esi + 0xbc]
cmp ecx, ebx
je 0x4065fe
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xbc], ebx
xor edi, edi
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x40662e
mov ecx, dword [esi + 0xb4]
sub ecx, eax
test ecx, 0xfffffffc
je 0x40662e
mov edx, eax
mov ecx, dword [edx + edi]
cmp ecx, ebx
je 0x406629
mov eax, dword [ecx]
push 1
call dword [eax]
add edi, 4
jmp 0x406600
mov edi, dword [esi + 0xc4]
cmp edi, ebx
je 0x40664e
mov ecx, edi
call fcn.004042e0
push edi
call fcn.0040ed60
add esp, 4
mov dword [esi + 0xc4], ebx
mov edi, dword [esi + 0xc8]
cmp edi, ebx
je 0x40667e
mov dword [esp + 0x10], edi
mov dword [edi], 0x418474
lea ecx, [edi + 0x24]
mov byte [esp + 0x1c], 6
call fcn.0040a660
push edi
call fcn.0040ed60
add esp, 4
mov dword [esi + 0xc8], ebx
mov eax, dword [esi + 0x124]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x406697
push eax
call edi
mov dword [esi + 0x124], ebx
mov eax, dword [esi + 0xb0]
push eax
mov dword [esp + 0x14], eax
call fcn.0040ed60
add esp, 4
lea ecx, [esi + 0x44]
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov byte [esp + 0x1c], 2
call fcn.0040df20
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x4066da
push eax
call edi
test eax, eax
je 0x4066da
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x4066eb
push eax
call edi
test eax, eax
je 0x4066eb
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x407e10
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc8]
cmp eax, ebx
je 0x407e2f
mov eax, dword [eax + 4]
push ebx
push eax
call edi
cmp byte [esi + 0x99], bl
je 0x407f15
mov ecx, dword [esi + 0xd0]
push ebx
push ecx
mov byte [esi + 0x99], bl
mov byte [esi + 0x98], bl
mov dword [esi + 0xa8], ebx
call edi
mov eax, dword [esi + 0xc4]
cmp eax, ebx
je 0x407e68
mov edx, dword [eax + 4]
push ebx
push edx
call edi
xor edi, edi
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x407e95
mov ecx, dword [esi + 0xb4]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x407e95
mov edx, eax
mov ecx, dword [edx + edi*4]
cmp ecx, ebx
je 0x407e92
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
jmp 0x407e6a
mov edx, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb0]
mov eax, edx
cmp eax, edx
je 0x407eb5
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x407ea7
mov edx, dword [esi + 0xb4]
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0xc], edx
cmp ecx, ebx
je 0x407ed5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xc8]
mov dword [esi + 0xbc], ebx
cmp eax, ebx
je 0x407eed
lea ecx, [eax + 0x24]
call fcn.0040b770
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 4]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x408100
Capabilities:
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
sub esp, 0x864
push ebx
push ebp
push esi
mov ebx, ecx
push edi
xor ebp, ebp
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x45e]
mov word [esp + 0x45c], bp
rep stosd dword es:[edi], eax
push str.JPEG_file_.jpg_.jpeg_.jpg_.jpeg_PNG_file_.png_.pngBitmap_file_.bmp_.bmpAll_files_._.
push 0x41b090
lea eax, [esp + 0x464]
push 0x104
push eax
call fcn.00407670
lea ecx, [esp + 0x46c]
push ecx
call fcn.004080c0
add esp, 0x14
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x66a]
push 0x41b594
push 0x41b090
lea edx, [esp + 0x670]
mov word [esp + 0x670], bp
push 0x104
push edx
rep stosd dword es:[edi], eax
call fcn.00407670
mov eax, dword [0x41b58c]
mov ecx, dword [0x41b590]
add esp, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push str.Option
push str.SoftwareCatchScreen
mov ecx, 0x82
lea edi, [esp + 0x4e]
push str._s_s
lea edx, [esp + 0x50]
mov word [esp + 0x50], bp
push 0x104
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x24], ebp
call fcn.00407670
add esp, 0x14
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x50]
push str.SaveDefExt
push eax
push SysReAllocString
call esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x50]
push str.SaveAsIndex
push ecx
push SysReAllocString
call esi
mov word [esp + 0x250], bp
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x252]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.newscreen_d
lea edx, [esp + 0x258]
push 0x104
push edx
call fcn.00407670
lea eax, [esp + 0x20]
push ebp
push eax
lea ecx, [esp + 0x34]
push 0x80802
lea edx, [esp + 0x26c]
push ecx
lea eax, [esp + 0x47c]
push edx
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x68c]
push eax
mov eax, dword [0x41e5f0]
push ecx
push edx
push eax
call fcn.00403440
add esp, 0x34
test eax, eax
je 0x408335
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
lea edx, [esp + 0x50]
push str.SaveAsIndex
push edx
push SysReAllocString
call edi
lea eax, [esp + 0x250]
push 0x2e
push eax
call fcn.0041010f
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x4082f7
add esi, 2
push esi
call fcn.0041009c
add esp, 4
lea ecx, [esp + 0x44]
shl eax, 1
push eax
push esi
push 1
push str.SaveDefExt
push ecx
push SysReAllocString
call edi
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov ecx, ebx
push esi
call fcn.00408830
push eax
lea eax, [esp + 0x258]
push eax
call fcn.00402e20
mov ecx, dword [ebx + 4]
add esp, 0xc
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x864
ret