joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4182c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x60025c
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
jne 0x4182da
pop esi
pop ebx
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
push str.IsWow64Process
push eax
call edi
mov ecx, dword [esi]
push str.Wow64DisableWow64FsRedirection
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi]
push str.Wow64RevertWow64FsRedirection
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push str.GetSystemWow64DirectoryW
push eax
call edi
push 0x600a18
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
jne 0x418332
pop edi
pop esi
pop ebx
ret
push str.Wow64RevertWow64FsRedirection
push eax
call edi
mov ecx, dword [esi + 4]
push str.Wow64RevertWow64FsRedirection
push ecx
mov dword [esi + 0x20], eax
call edi
pop edi
mov dword [esi + 0x1c], eax
pop esi
mov eax, 1
pop ebx
ret

Function at 0x4194e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
xor ebp, ebp
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0xc]
push eax
mov ebx, 0x22c
push esi
mov dword [esp + 0x14], ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x419592
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x419589
push edi
mov edi, dword [esp + 0x244]
mov ecx, edi
lea eax, [esp + 0x34]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419566
test dx, dx
je 0x419562
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419566
add eax, 4
add ecx, 4
test dx, dx
jne 0x419540
xor eax, eax
jmp 0x41956b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x419584
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x419536
jmp 0x419588
mov ebp, dword [esp + 0x18]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e8c89
add esp, 0x230
ret 4
Function at 0x419970
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x238]
push ebp
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push ebx
lea ecx, [esp + 0x38]
push ecx
call ebp
test eax, eax
jne 0x4199c3
lea edi, [eax + 1]
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4199b4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e8c89
add esp, 0x230
ret 4

Function at 0x41a4c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
push esi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x41a60d
lea eax, [esp + 4]
push eax
push 0x61c398
push 1
push esi
push 0x61c4b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41a607
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x61c478
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x41a5fb
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 2
push esi
push eax
call edx
mov ecx, dword [esp + 0x2c]
test eax, eax
jl 0x41a549
test ecx, ecx
je 0x41a5db
mov eax, dword [esp + 4]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
jmp 0x41a5db
test ecx, ecx
je 0x41a55c
mov eax, dword [esp + 4]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41a571
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x41a586
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41a59b
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
mov ecx, dword [esp + 0x20]
test cx, cx
je 0x41a5b1
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41a5c6
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x41a5db
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push esi
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, 1
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
add esp, 8
ret 0x20
Function at 0x41a6c0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x20c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov esi, eax
test esi, esi
je 0x41a750
mov edi, dword [sym.imp.USER32.dll_GetClassNameW]
jmp 0x41a700
push 0x104
lea eax, [esp + 0x10]
push eax
push esi
call edi
mov ecx, str.TrayNotifyWnd
lea eax, [esp + 0xc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a73c
test dx, dx
je 0x41a738
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a73c
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a716
xor eax, eax
jmp 0x41a741
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a76a
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x41a700
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004e8c89
add esp, 0x20c
ret
push 5
push esi
call ebx
mov esi, eax
test esi, esi
je 0x41a750
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
mov ecx, str.TrayClockWClass
lea eax, [esp + 0xc]
jmp 0x41a790
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a7b6
test dx, dx
je 0x41a7b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a7b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a790
xor eax, eax
jmp 0x41a7bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a7cc
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x41a775
jmp 0x41a750
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004e8c89
add esp, 0x20c
ret
Function at 0x41b500
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x82734], 0
jne 0x41b5ef
push ebx
mov ebx, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push edi
lea edi, [esi + 0x2c]
push str.closebtn
mov ecx, edi
mov byte [esi + 0x82844], 1
call ebx
test eax, eax
je 0x41b53d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push 0
call eax
push str.MainMenu
mov ecx, edi
call ebx
test eax, eax
je 0x41b558
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push 0
call eax
push str.Login
mov ecx, edi
call ebx
pop edi
pop ebx
test eax, eax
je 0x41b575
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push 0
call eax
mov ecx, dword [esi + 0x82840]
push str.filePackUpAssistFrame.png_source0_0_22_50
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CButtonUI::SetNormalImage_wchar_t_const__]
mov ecx, dword [esi + 0x82840]
push str.filePackUpAssistFrame.png_source0_50_22_100
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CButtonUI::SetHotImage_wchar_t_const__]
mov ecx, dword [esi + 0x82840]
push str.filePackUpAssistFrame.png_source0_100_22_150
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CButtonUI::SetPushedImage_wchar_t_const__]
mov ecx, dword [esi + 0x826b0]
push 1
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov edx, dword [esi + 4]
lea ecx, [esi + 0x82740]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x826d8]
push 0
call fcn.0045e230
push 0
push 0
push esi
push 0x41b3c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x41b614
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x418
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, ecx
call fcn.0041b500
mov ecx, dword [esi + 0x826b0]
call dword [sym.imp.DuiLib32.dll_public:_int___thiscall_DuiLib::CTabLayoutUI::GetCurSel_void_const]
cmp eax, 1
je 0x41b63b
mov ecx, dword [esi + 0x826b0]
push 1
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov ecx, dword [esi + 0x82670]
call fcn.00465020
mov ecx, dword [esi + 0x82670]
call fcn.0046a6c0
mov ecx, dword [esi + 0x826d8]
call fcn.00460df0
mov ecx, dword [esi + 0x826d8]
call sub.DuiLib32.dll_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
cmp dword [esi + 0x8270c], 0
jle 0x41b7c9
cmp byte [esi + 0x82705], 1
jne 0x41b7c9
push ebx
push ebp
push edi
push 0
push 0
push 0
push 0x601488
call dword [sym.imp.GDI32.dll_CreateICW]
mov ebp, eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
push 0x104
mov edi, eax
lea eax, [esp + 0x220]
push 0
push eax
call fcn.004e9ba0
add esp, 0xc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
lea ecx, [esp + 0x224]
push ecx
push 0x5fd0cc
push str.Account
push str.UserLogin
call edi
call fcn.00409730
mov ecx, eax
call fcn.004a3a60
push 0x104
lea edx, [esp + 0x18]
push 0
push edx
mov ebx, eax
call fcn.004e9ba0
add esp, 0xc
push ebx
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0x5fd0cc
push str.NickName
push str.PersonCenter
call edi
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b726
sub eax, edx
sar eax, 1
jne 0x41b755
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x21c]
mov word [esp + eax + 0x14], cx
add eax, 2
test cx, cx
jne 0x41b740
push str.Login
lea ecx, [esi + 0x2c]
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x41b775
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi + 0x8269c]
test eax, eax
je 0x41b79a
cmp dword [eax + 0x79c], 0
je 0x41b79a
mov ecx, dword [eax + 0x79c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x14]
push eax
call edx
mov eax, dword [esi + 0x8266c]
test eax, eax
je 0x41b7bf
cmp dword [eax + 0x6c4], 0
je 0x41b7bf
mov ecx, dword [eax + 0x6c4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x14]
push eax
call edx
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x418
ret
Function at 0x41f9c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5e3890
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x420]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x428], 1
call fcn.00409730
mov ecx, eax
call fcn.004a3a90
push eax
lea eax, [esp + 0x218]
push 0x6012d8
push eax
call fcn.00403b80
mov eax, dword [esp + 0x45c]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x464], edi
jae 0x41fa44
lea eax, [esp + 0x450]
push str._b_W
push eax
call fcn.004e9ae0
add esp, 8
test eax, eax
jne 0x41faac
push 1
push eax
add esi, 0x828f0
push 0x601724
mov ecx, esi
call fcn.004034e0
cmp eax, 0xffffffff
je 0x41fa81
push 0
push 0x5fd0cc
push 1
push eax
mov ecx, esi
call fcn.00403330
cmp dword [esi + 0x18], edi
jb 0x41fa99
mov esi, dword [esi + 4]
push esi
push 0x6012d8
lea ecx, [esp + 0x14]
push ecx
jmp 0x41fb7a
add esi, 4
push esi
push 0x6012d8
lea ecx, [esp + 0x14]
push ecx
jmp 0x41fb7a
mov eax, dword [esp + 0x450]
cmp dword [esp + 0x464], edi
jae 0x41fac3
lea eax, [esp + 0x450]
push 0x5fea4c
push eax
call fcn.004e9ae0
add esp, 8
test eax, eax
jne 0x41faf1
call fcn.0041ab20
mov ecx, eax
call fcn.004087f0
push eax
push str._.3d
lea edx, [esp + 0x14]
push edx
jmp 0x41fb7a
mov eax, dword [esp + 0x450]
cmp dword [esp + 0x464], edi
jae 0x41fb08
lea eax, [esp + 0x450]
push 0x5fea40
push eax
call fcn.004e9ae0
add esp, 8
test eax, eax
jne 0x41fb2e
call fcn.0041ab20
mov ecx, eax
call fcn.00408800
push eax
push str._.3d
jmp 0x41fb75
mov ecx, dword [esp + 0x450]
cmp dword [esp + 0x464], edi
jae 0x41fb45
lea ecx, [esp + 0x450]
mov eax, dword [esp + 0x434]
cmp dword [esp + 0x448], edi
jae 0x41fb5c
lea eax, [esp + 0x434]
lea edx, [esp + 0x214]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push eax
push 0x5fd170
lea eax, [esp + 0x14]
push eax
call fcn.00403b80
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x5fd0cc
push ecx
call fcn.004e9ae0
add esp, 8
test eax, eax
je 0x41fbdb
mov ecx, dword [esp + 0x450]
cmp dword [esp + 0x464], edi
jae 0x41fbaf
lea ecx, [esp + 0x450]
mov eax, dword [esp + 0x434]
cmp dword [esp + 0x448], edi
jae 0x41fbc6
lea eax, [esp + 0x434]
lea edx, [esp + 0x214]
push edx
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x448], edi
jb 0x41fbf4
mov eax, dword [esp + 0x434]
push eax
call fcn.004ca5d9
add esp, 4
xor ecx, ecx
mov dword [esp + 0x448], 7
mov dword [esp + 0x444], 0
mov word [esp + 0x434], cx
cmp dword [esp + 0x464], edi
jb 0x41fc2d
mov edx, dword [esp + 0x450]
push edx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004e8c89
add esp, 0x420
ret 0x38
Function at 0x41fc60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5e38d6
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x638], eax
push ebx
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x64c]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea esi, [edi + 0x82948]
push 0x5fd0cc
mov ecx, esi
call fcn.00401c70
push 0
lea ebx, [edi + 0x82964]
push 0x5fd0cc
mov ecx, ebx
call fcn.00401c70
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x242]
push ecx
mov word [esp + 0x244], ax
call fcn.004e9ba0
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.004ac1d0
lea edx, [esp + 0x238]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x658], 0
call fcn.004ada90
push 4
push str.uid
mov ecx, esi
call fcn.00402e80
lea eax, [esp + 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fd21
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x23c]
push eax
mov ecx, esi
call fcn.00402e80
lea eax, [esp + 0x238]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fd50
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x23c]
push ecx
mov ecx, ebx
call fcn.00402e80
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
mov byte [esp + 0x654], 1
call fcn.00409730
mov ecx, eax
call fcn.004094b0
mov ecx, eax
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41fda0
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401c70
push 5
push str.qid
mov ecx, esi
call fcn.00402e80
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00402fb0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00402fb0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x44a]
push eax
mov word [esp + 0x44c], dx
call fcn.004e9ba0
push 0x60175c
push 0x601754
lea ecx, [esp + 0x454]
push 0x601748
push ecx
call fcn.00403b80
add esp, 0x1c
push 9
push 0x601734
mov ecx, esi
call fcn.00402e80
lea eax, [esp + 0x440]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fe40
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x444]
push edx
mov ecx, esi
call fcn.00402e80
lea eax, [esp + 0x440]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fe70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x444]
push eax
mov ecx, ebx
call fcn.00402e80
cmp dword [esp + 0x28], 8
jb 0x41fea3
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004ca5d9
add esp, 4
xor edx, edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
mov dword [esp + 0x654], 0xffffffff
call fcn.0044dd80
mov ecx, dword [esp + 0x64c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.004e8c89
add esp, 0x648
ret
Function at 0x420240
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5e3988
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a50
xor ecx, ecx
mov word [esp + 0x10], cx
mov ecx, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
lea esi, [ecx + 2]
jmp 0x4202a0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4202a0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00401c70
cmp dword [esp + 0x20], 0
mov dword [esp + 0x6c], 0
mov ebx, 8
je 0x420395
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebx
jae 0x4202e0
lea eax, [esp + 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x420395
push str.PeopleCalendarUser.mdb
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00403200
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x40], ebx
jae 0x42031b
lea eax, [esp + 0x2c]
push eax
call esi
test eax, eax
je 0x420382
push str.PeopleCalendarUser_1.0.1.5.mdb
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00403200
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x6c], 2
cmp dword [esp + 0x5c], ebx
jae 0x42034c
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], ebx
jae 0x42035a
lea eax, [esp + 0x2c]
push ecx
push eax
call fcn.004a6c70
mov eax, dword [esp + 0x34]
add esp, 8
cmp dword [esp + 0x40], ebx
jae 0x420372
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x44]
call fcn.00401760
cmp dword [esp + 0x40], ebx
jb 0x420395
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ca5d9
add esp, 4
cmp dword [esp + 0x24], ebx
jb 0x4203a8
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004ca5d9
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004e8c89
add esp, 0x64
ret
Function at 0x4203d0
Capabilities:
Check for peb beingdebugged flag
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5e39b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
xor ebx, ebx
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x420430
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401c70
mov eax, dword [esp + 0x1c]
mov esi, 8
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x30], esi
jae 0x420461
lea eax, [esp + 0x1c]
push eax
push ebx
push str.OldBackCountDataLoaded
push str.Note
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x420578
mov ebx, dword [edi + 0x82890]
cmp ebx, dword [edi + 0x82894]
jbe 0x420492
call fcn.004ea132
mov esi, dword [edi + 0x82884]
mov ebp, ebx
lea ebx, [ebx]
mov ebx, dword [edi + 0x82894]
cmp dword [edi + 0x82890], ebx
jbe 0x4204b3
call fcn.004ea132
mov eax, dword [edi + 0x82884]
test esi, esi
je 0x4204c1
cmp esi, eax
je 0x4204c6
call fcn.004ea132
cmp ebp, ebx
je 0x42051d
cmp dword [edi + 0x82674], 0
je 0x4204fb
test esi, esi
jne 0x420515
call fcn.004ea132
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4204e8
call fcn.004ea132
mov eax, dword [ebp]
mov ecx, dword [edi + 0x82674]
push eax
call fcn.00443890
mov dword [esp + 0x14], eax
test esi, esi
jne 0x420519
call fcn.004ea132
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x420510
call fcn.004ea132
add ebp, 4
jmp 0x4204a0
mov eax, dword [esi]
jmp 0x4204de
mov eax, dword [esi]
jmp 0x420506
mov edx, dword [esp + 0x14]
xor eax, eax
push edx
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
lea eax, [esp + 0x38]
xor ecx, ecx
push 0x5fd170
push eax
mov word [esp + 0x40], cx
call fcn.00403b80
mov eax, dword [esp + 0x28]
mov esi, 8
add esp, 0xc
mov dword [edi + 0x828a0], 1
cmp dword [esp + 0x30], esi
jae 0x420562
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
push str.OldBackCountDataLoaded
push str.Note
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x30], esi
jb 0x42058b
mov edx, dword [esp + 0x1c]
push edx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004e8c89
add esp, 0x3c
ret