joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x401221
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x401221
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x40122a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40127c
test ebp, ebp
je 0x40127c
push edi
push eax
push ebp
call fcn.004b07c0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x10]
push edi
mov ecx, esi
call fcn.004012a0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc

Function at 0x401ba0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.004afb50
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x401bed
mov eax, dword [ebp]
jmp 0x401bef
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x401c12
mov ecx, dword [ebp]
jmp 0x401c14
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.004019f0
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x401970
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.004b6d05
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x10], eax
pop edi
je 0x401c86
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401c7e
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x401c8c
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x401c8c
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004aeca3
add esp, 0x10c
ret 8
Function at 0x4028f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x565d58
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x5a6600
mov byte [ecx + 4], bl
call fcn.00401f00
push ebx
mov byte [esp + 0x644], 3
call fcn.004b0e9f
push eax
call fcn.004b4645
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.004afb50
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x402a51
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.004afb50
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x402a2e
cmp eax, ebx
je 0x402a2e
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.00403a70
jmp 0x402a51
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402a35
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00402120
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x402a88
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x402a65
call fcn.004afdfe
cmp dword [edi + 0x18], 8
jb 0x402a70
mov eax, dword [edi + 4]
jmp 0x402a73
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x402a88
push 1
push 0x5a6604
mov ecx, edi
call fcn.00403e10
cmp dword [esi + 0x38], ebx
jne 0x402a9b
push 3
push 0x5a6608
mov ecx, edi
call fcn.00402120
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.004aeca3
add esp, 0x634
ret
Function at 0x402ad0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x565cb1
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], 2
cmp dword [esi + 0x54], ebx
mov ebp, 8
je 0x402b1f
cmp dword [esi + 0x58], ebp
jb 0x402b15
mov eax, dword [esi + 0x44]
jmp 0x402b18
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x74], 0x10
jb 0x402b31
mov eax, dword [esi + 0x60]
push eax
call fcn.00492573
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov byte [esp + 0x18], 1
cmp dword [esi + 0x58], ebp
jb 0x402b54
mov eax, dword [esi + 0x44]
push eax
call fcn.00492573
add esp, 4
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
mov byte [esp + 0x18], bl
cmp dword [esi + 0x3c], ebp
jb 0x402b77
mov eax, dword [esi + 0x28]
push eax
call fcn.00492573
add esp, 4
mov dword [esi + 0x3c], 7
mov dword [esi + 0x38], ebx
mov word [esi + 0x28], bx
mov dword [esp + 0x18], 0xffffffff
cmp dword [esi + 0x20], ebp
jb 0x402b9e
mov eax, dword [esi + 0xc]
push eax
call fcn.00492573
add esp, 4
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], ebx
mov word [esi + 0xc], bx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x404020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x565e11
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00402390
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.00403f10
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.00402390
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x4040c3
mov edx, dword [esp + 0x14]
push edx
call fcn.00492573
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x4040e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x565e11
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00402390
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], 1
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404140
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403e10
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.00402390
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x404197
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00492573
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x4050e0
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x40511f
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x40511f
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x405130
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x565e81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405176
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00402120
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
mov edi, 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], edi
call fcn.00403f10
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.00402390
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x10], edi
jb 0x4051df
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00492573
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x405890
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 0x4058a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4058e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4058e0
lea ebx, [ebx]
cmp esi, eax
jae 0x4058e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4058d0
cmp esi, eax
jb 0x4058ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4079b0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x55b115
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x651788]
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.004afb50
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 0x407a44
cmp dword [esp + 0x20], 5
jne 0x407a44
push 0x5722d4
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 0x407a66
push 0x5722c8
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 + 0x788], eax
call fcn.00492548
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x28c], 0
je 0x407a98
mov ecx, eax
call fcn.00416130
jmp 0x407a9a
xor eax, eax
mov dword [esp + 0x28c], 0xffffffff
mov dword [esi + 0x750], eax
call fcn.004932bc
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x750]
push str.SELECT
push eax
call fcn.004161c0
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], 0x572290
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 0x407b59
lea eax, [esp + 0x10]
push 0x407970
push eax
call fcn.00406f60
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 0x407b7e
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.004070b0
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.004aeca3
add esp, 0x284
ret 4
Function at 0x4089f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x55b115
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x651788]
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.004afb50
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 0x408a84
cmp dword [esp + 0x20], 5
jne 0x408a84
push 0x5722d4
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 0x408aa6
push 0x5722c8
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.00492548
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x28c], 0
je 0x408ad8
mov ecx, eax
call fcn.00416130
jmp 0x408ada
xor eax, eax
mov dword [esp + 0x28c], 0xffffffff
mov dword [esi + 0x6bc], eax
call fcn.004932bc
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x6bc]
push str.SELECT
push eax
call fcn.004161c0
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], 0x572290
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 0x408b99
lea eax, [esp + 0x10]
push 0x4089b0
push eax
call fcn.00406f60
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 0x408bbe
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.00408260
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.004aeca3
add esp, 0x284
ret 4
Function at 0x409960
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x55b115
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x651788]
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.004afb50
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 0x4099f4
cmp dword [esp + 0x20], 5
jne 0x4099f4
push 0x5722d4
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 0x409a16
push 0x5722c8
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.00492548
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x28c], 0
je 0x409a48
mov ecx, eax
call fcn.00416130
jmp 0x409a4a
xor eax, eax
mov dword [esp + 0x28c], 0xffffffff
mov dword [esi + 0x6f0], eax
call fcn.004932bc
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x6f0]
push str.SELECT
push eax
call fcn.004161c0
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], 0x572290
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 0x409b09
lea eax, [esp + 0x10]
push 0x409920
push eax
call fcn.00406f60
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 0x409b2e
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.00409160
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.004aeca3
add esp, 0x284
ret 4
Function at 0x40af60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x55b38b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0046ea90
mov esi, dword [esp + 0x248]
mov ecx, str.RunDateByStartAuto
mov eax, esi
xor edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40afd7
cmp dx, di
je 0x40afd3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40afd7
add eax, 4
add ecx, 4
cmp dx, di
jne 0x40afb1
xor eax, eax
jmp 0x40afdc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x40afec
mov dword [ebx + 0x170], 1
jmp 0x40b03e
mov ecx, str.RunDateByServiceAuto
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b019
cmp dx, di
je 0x40b015
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b019
add eax, 4
add ecx, 4
cmp dx, di
jne 0x40aff3
xor eax, eax
jmp 0x40b01e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x40b02e
mov dword [ebx + 0x170], 2
jmp 0x40b03e
mov dword [ebx + 0x174], 1
mov dword [ebx + 0x170], edi
push 0xffffffffffffffff
lea eax, [ebx + 0x90]
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00402390
push 0x12
push str.PeopleCalendar.ini
lea ecx, [esp + 0x18]
mov dword [esp + 0x248], edi
call fcn.00403e10
push 0x206
lea eax, [esp + 0x32]
push edi
push eax
mov word [esp + 0x38], di
call fcn.004afb50
mov eax, dword [esp + 0x20]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x28], esi
jae 0x40b0a4
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x34]
push ecx
push 0x572ff8
push str.Spreader
push 0x572fd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
jmp 0x40b0d0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b0d0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [ebx + 0x178]
call fcn.00402120
cmp dword [esp + 0x28], esi
jb 0x40b103
mov eax, dword [esp + 0x14]
push eax
call fcn.00492573
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004aeca3
add esp, 0x234
ret 4