joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407400
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5e20a5
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
push 0x11c
lea eax, [esp + 0x20]
push 0
push eax
mov esi, ecx
call fcn.004e9ba0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x2c], 2
jne 0x407494
cmp dword [esp + 0x20], 5
jne 0x407494
push 0x5fe3ac
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x12
jmp 0x4074b6
push 0x5fe3a0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x14
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x4c
mov dword [esi + 0x6dc], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x28c], 0
test eax, eax
je 0x4074e8
mov ecx, eax
call fcn.00416dd0
jmp 0x4074ea
xor eax, eax
mov dword [esp + 0x28c], 0xffffffff
mov dword [esi + 0x6bc], eax
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x6bc]
push str.SELECT
push eax
call fcn.00416e60
lea ecx, [esp + 0x138]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
mov edx, dword [esi + 0x6a8]
push 0
push edx
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x14c]
mov dword [esp + 0x2a0], 1
mov dword [esp + 0x20], esp
mov dword [eax], str.CChangeMonthBar.xml
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov edi, eax
mov eax, dword [esi + 0x4a0]
mov edx, dword [eax + 0x10]
lea ecx, [esi + 0x4a0]
push edi
call edx
cmp byte [esp + 0x294], 0
je 0x4075a9
lea eax, [esp + 0x10]
push 0x4073c0
push eax
call fcn.00405a00
add esp, 8
push eax
lea ecx, [edi + 0x28]
mov byte [esp + 0x290], 2
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CEventSource::operator_class_DuiLib::CDelegateBase_const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x28c], 1
call dword [sym.imp.DuiLib32.dll_public_virtual:_void___thiscall_DuiLib::CDelegateBase::destructor_void_]
jmp 0x4075ce
mov eax, 0x46
mov dword [esi + 0x678], eax
mov dword [esi + 0x67c], eax
mov dword [esi + 0x680], 0x19
mov dword [esi + 0x688], 0x62
mov ecx, esi
call fcn.00406c70
lea ecx, [esp + 0x138]
mov dword [esp + 0x28c], 0xffffffff
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.004e8c89
add esp, 0x284
ret 4
Function at 0x408440
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5e20a5
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
push 0x11c
lea eax, [esp + 0x20]
push 0
push eax
mov esi, ecx
call fcn.004e9ba0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x2c], 2
jne 0x4084d4
cmp dword [esp + 0x20], 5
jne 0x4084d4
push 0x5fe3ac
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x12
jmp 0x4084f6
push 0x5fe3a0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x14
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x4c
mov dword [esi + 0x728], eax
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x28c], 0
test eax, eax
je 0x408528
mov ecx, eax
call fcn.00416dd0
jmp 0x40852a
xor eax, eax
mov dword [esp + 0x28c], 0xffffffff
mov dword [esi + 0x6f0], eax
call fcn.004cb428
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x6f0]
push str.SELECT
push eax
call fcn.00416e60
lea ecx, [esp + 0x138]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
mov edx, dword [esi + 0x6a0]
push 0
push edx
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x14c]
mov dword [esp + 0x2a0], 1
mov dword [esp + 0x20], esp
mov dword [eax], str.CChangeMonthBar.xml
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov edi, eax
mov eax, dword [esi + 0x4a0]
mov edx, dword [eax + 0x10]
lea ecx, [esi + 0x4a0]
push edi
call edx
cmp byte [esp + 0x294], 0
je 0x4085e9
lea eax, [esp + 0x10]
push 0x408400
push eax
call fcn.00405a00
add esp, 8
push eax
lea ecx, [edi + 0x28]
mov byte [esp + 0x290], 2
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CEventSource::operator_class_DuiLib::CDelegateBase_const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x28c], 1
call dword [sym.imp.DuiLib32.dll_public_virtual:_void___thiscall_DuiLib::CDelegateBase::destructor_void_]
jmp 0x40860e
mov eax, 0x46
mov dword [esi + 0x678], eax
mov dword [esi + 0x67c], eax
mov dword [esi + 0x680], 0x19
mov dword [esi + 0x688], 0x62
mov ecx, esi
call fcn.00407c40
lea ecx, [esp + 0x138]
mov dword [esp + 0x28c], 0xffffffff
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.004e8c89
add esp, 0x284
ret 4
Function at 0x409550
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5e22db
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004a5f40
mov esi, dword [esp + 0x244]
mov ecx, str.RunDateByStartAuto
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4095c6
test dx, dx
je 0x4095c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4095c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4095a0
xor eax, eax
jmp 0x4095cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4095db
mov dword [edi + 0x170], 1
jmp 0x409631
mov ecx, str.RunDateByServiceAuto
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409608
test dx, dx
je 0x409604
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409608
add eax, 4
add ecx, 4
test dx, dx
jne 0x4095e2
xor eax, eax
jmp 0x40960d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40961d
mov dword [edi + 0x170], 2
jmp 0x409631
mov dword [edi + 0x174], 1
mov dword [edi + 0x170], 0
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea eax, [edi + 0x90]
mov word [esp + 0x18], cx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.00401f60
push 0x12
push str.PeopleCalendar.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0
call fcn.00402e80
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x32]
push eax
mov word [esp + 0x34], dx
call fcn.004e9ba0
mov eax, dword [esp + 0x1c]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x24], esi
jae 0x4096a3
lea eax, [esp + 0x10]
push eax
push 0x104
lea ecx, [esp + 0x30]
push ecx
push 0x5feff8
push str.Spreader
push 0x5fefd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x28]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4096d0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [edi + 0x178]
call fcn.00401c70
cmp dword [esp + 0x24], esi
jb 0x409703
mov eax, dword [esp + 0x10]
push eax
call fcn.004ca5d9
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004e8c89
add esp, 0x234
ret 4
Function at 0x40a4f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5e2348
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], 0
call fcn.004cb428
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x30]
mov ebx, 8
cmp dword [esp + 0x44], ebx
jae 0x40a53d
lea eax, [esp + 0x30]
push 0x5ff390
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40a564
cmp dword [esp + 0x44], ebx
jb 0x40a607
mov eax, dword [esp + 0x30]
push eax
jmp 0x40a5ff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call fcn.004e9c70
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x14]
push ecx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x40a5e7
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
jmp 0x40a5e9
xor esi, esi
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x2dc], esi
jb 0x40a607
mov edx, dword [esp + 0x30]
push edx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x1c
Function at 0x40d300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e263e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_]
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x24]
xor edi, edi
lea ecx, [esi + 0x2dc]
push edx
mov dword [esp + 0x20], edi
mov dword [esi + method.ReceiverImpl_int__struct_SkinChangedParam_.virtual_0], vtable.ReceiverImpl_int__struct_SkinChangedParam_.0
call fcn.004b57e0
mov dword [esi + 0x2fc], edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x308], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x304], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x30c], edx
mov dword [esi + 0x310], eax
mov dword [esi + 0x314], ecx
lea ecx, [esi + 0x318]
mov byte [esp + 0x18], 1
mov dword [esi], vtable.CDeskNoteBar.5.0
mov dword [esi + 0x10], vtable.CDeskNoteBar.4.0
mov dword [esi + 0x20], vtable.CDeskNoteBar.3.0
mov dword [esi + 0x24], vtable.CDeskNoteBar.2.0
mov dword [esi + 0x28], vtable.CDeskNoteBar.1.0
mov dword [esi + method.ReceiverImpl_int__struct_SkinChangedParam_.virtual_0], vtable.CDeskNoteBar.0
call fcn.004b5960
xor edx, edx
mov dword [esi + 0x36c], 7
mov dword [esi + 0x368], edi
mov word [esi + 0x358], dx
push 0x1e4
mov byte [esp + 0x1c], 3
mov dword [esi + 0x370], 1
mov byte [esi + 0x3a4], 1
mov dword [esi + 0x380], edi
mov dword [esi + 0x384], edi
mov dword [esi + 0x388], edi
mov dword [esi + 0x38c], edi
mov dword [esi + 0x394], edi
mov dword [esi + 0x3a0], edi
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x18], 4
cmp eax, edi
je 0x40d444
mov ecx, eax
call fcn.00435de0
mov dword [esi + 0x3a8], eax
jmp 0x40d44a
mov dword [esi + 0x3a8], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14

Function at 0x40e690
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040e020
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 4]
call fcn.004c81f0
mov esi, dword [esi + 4]
mov edi, dword [esp + 0xc]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x40e6c3
cmp edi, esi
je 0x40e6c8
call fcn.004ea132
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x40e711
test edi, edi
jne 0x40e72a
call fcn.004ea132
cmp esi, dword [edi + 0x18]
jne 0x40e6e3
call fcn.004ea132
mov esi, dword [esi + 0x10]
mov edi, dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040b570
push 0
push 0
push 2
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.004058e0
mov ecx, dword [eax + 0x8266c]
call fcn.0044df70
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov edi, dword [edi]
jmp 0x40e6d9
Function at 0x40f670
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e2947
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x2d8], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x2dc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2e0], edx
xor ebx, ebx
mov dword [esi], vtable.CDeskNoteSkin.4.0
mov dword [esi + 0x10], vtable.CDeskNoteSkin.3.0
mov dword [esi + 0x20], vtable.CDeskNoteSkin.2.0
mov dword [esi + 0x24], vtable.CDeskNoteSkin.1.0
mov dword [esi + 0x28], vtable.CDeskNoteSkin.0
mov dword [esi + 0x2e4], eax
mov dword [esi + 0x2e8], ecx
xor edx, edx
mov dword [esi + 0x304], 7
mov dword [esi + 0x300], ebx
mov dword [esp + 0x18], ebx
mov word [esi + 0x2f0], dx
lea ecx, [esi + 0x310]
mov byte [esp + 0x18], 1
mov dword [esi + 0x30c], ebx
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
mov byte [esi + 0x478], bl
mov dword [esi + 0x308], ebx
mov dword [esi + 0x458], ebx
mov dword [esi + 0x45c], ebx
mov dword [esi + 0x460], ebx
mov dword [esi + 0x464], ebx
mov dword [esi + 0x468], ebx
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x470], ebx
mov dword [esi + 0x474], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x14

Function at 0x413f30
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x413f50
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x413f64
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x413f90
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x413fa6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x413fb3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x414650
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x4146cf
xor eax, eax
cmp ecx, ebx
je 0x4146b7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x4146f3
cmp ecx, ebx
je 0x4146da
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004e8c89
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x41475a
jmp 0x414720
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00414650
mov edi, eax
cmp edi, ebx
jne 0x4147a9
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x414720
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41476d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.00413e70
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x414790
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004e8c89
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4147b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e8c89
mov esp, ebp
pop ebp
ret 4
Function at 0x415c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x5e3110
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x704dd8]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x415d02
call fcn.00413d50
mov edi, eax
jmp 0x415dec
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x415d1b
call fcn.00413d50
jmp 0x415de3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x415d36
call fcn.00413d50
jmp 0x415de3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
cmp eax, edi
jae 0x415d6c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x415d5a
lea ecx, [ebp]
call fcn.004145d0
lea ecx, [ebp - 0x18]
call fcn.00414570
mov eax, 0x8007000e
jmp 0x415e02
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00414e20
mov dword [ebp - 4], 1
jmp 0x415da0
mov eax, dword [ebp]
test eax, eax
jne 0x415dae
mov edi, 0x8007000e
jmp 0x415de5
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x415dc7
call fcn.00413d50
jmp 0x415de3
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00415b30
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x415e00
lea ecx, [ebp]
call fcn.004145d0
lea esp, [esp]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004e8c89
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x416cc0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push eax
call fcn.00409730
mov ecx, eax
call fcn.00409550
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.auto
push str.UserLogin
call esi
mov edi, eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
push eax
push 0
push 0x6007dc
push str.UserLogin
call esi
mov esi, eax
cmp edi, 1
jne 0x416d4e
push esi
call fcn.00409730
mov ecx, eax
call fcn.004a3a20
push eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a40
push eax
call fcn.004088f0
mov ecx, eax
call fcn.004c7350
push esi
call fcn.00409730
mov ecx, eax
call fcn.004a48b0
jmp 0x416d76
push 0
call fcn.00409730
mov ecx, eax
call fcn.004a3a20
push eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a40
push eax
call fcn.004088f0
mov ecx, eax
call fcn.004c7350
call fcn.00416ac0
mov ecx, eax
call fcn.0044dd80
mov esi, dword [esp + 0xc]
push esi
call fcn.00416b40
mov ecx, eax
call fcn.004a2be0
push esi
call fcn.00416bc0
mov ecx, eax
call fcn.00417ce0
push esi
call fcn.00416c40
mov ecx, eax
call fcn.004a2320
call fcn.004088f0
mov ecx, eax
call fcn.004c7370
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x416e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0x60082c
push eax
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x416e86
pop edi
pop esi
pop ebx
ret 8
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebp
push eax
call fcn.004e9c70
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x416f54
lea ebx, [edi + 4]
push ebx
push ebp
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [ebx], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
lea ecx, [esp + 0x18]
mov dword [edi + 8], eax
mov edx, dword [ebx]
push ecx
xor ebp, ebp
push edx
mov dword [esp + 0x20], ebp
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x416f1f
mov dword [edi + 8], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov dword [esi + 0x40], eax
mov edx, dword [ebx]
push ecx
push edx
mov dword [esp + 0x20], ebp
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x416f3e
mov dword [edi + 8], eax
mov eax, dword [esp + 0x18]
pop ebp
mov dword [esi + 4], edi
pop edi
mov dword [esi + 0x44], eax
pop esi
mov eax, 1
pop ebx
ret 8
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 8