joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410139
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xc
mov eax, 0x4a3114
call fcn.00481d3a
mov esi, ecx
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x14]
call fcn.0040161b
and dword [ebp - 4], 0
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x10]
call fcn.0040161b
mov eax, dword [ebp + 0xc]
test eax, eax
mov byte [ebp - 4], 1
je 0x410175
and dword [eax], 0
lea edi, [esi + 0x528]
push edi
lea ecx, [ebp - 0x10]
call fcn.004014c5
lea ebx, [esi + 0xcc]
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401250
push edi
lea ecx, [ebp - 0x14]
call fcn.004014c5
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00401640
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0042e810
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401325
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
not ecx
and ecx, eax
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, esi
call fcn.00410017
xor eax, eax
cmp dword [ebp + 8], eax
je 0x41023c
cmp dword [esi + 0x770], eax
je 0x410215
push eax
mov ecx, esi
call fcn.0041063e
mov edi, eax
test edi, edi
pop ecx
je 0x410215
push dword [ebp - 0x10]
push ebx
push 0x23
push 0x4ef184
call fcn.0042a517
add esp, 0x10
jmp 0x410249
cmp dword [0x4efdd4], 0
je 0x41022f
mov eax, dword [0x4efdd0]
test eax, eax
je 0x41022f
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
push 1
push dword [ebp + 0xc]
call fcn.004104ca
pop ecx
jmp 0x410246
push dword [ebp + 0xc]
mov edi, esi
call fcn.00410267
mov edi, eax
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401325
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, edi
call fcn.00481e12
ret
Function at 0x410267
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a30ce
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x4d0620]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push esi
mov eax, dword [0x4d0620]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
call fcn.0045db7e
push eax
lea ecx, [esp + 0x10]
call fcn.0040161b
lea eax, [edi + 0x528]
xor ebx, ebx
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x864], ebx
call fcn.004014c5
lea eax, [edi + 0xcc]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.00401250
lea esi, [esp + 0x1c]
mov dword [esp + 0x10], ebx
call fcn.0040f19a
mov eax, dword [edi + 0x760]
inc dword [esp + 0x10]
push ebx
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [0x4eef64], ebx
mov esi, eax
je 0x410322
push dword [0x4efc68]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jne 0x41038a
cmp dword [0x4eef64], ebx
je 0x410332
push 0x64
jmp 0x410339
call fcn.004029cd
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x10], 3
jb 0x4102f6
cmp dword [edi + 0x770], ebx
je 0x41047a
push dword [esp + 0x18]
mov ecx, edi
call fcn.0041063e
test eax, eax
pop ecx
je 0x41047a
push dword [esp + 0xc]
push dword [esp + 0x18]
push 0x23
push 0x4ef184
call fcn.0042a517
add esp, 0x10
mov dword [esp + 0x10], 1
jmp 0x410497
push dword [esp + 0xc]
lea eax, [edi + 0x738]
push eax
call fcn.0047eb2f
pop ecx
push edx
push eax
call fcn.004020a7
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x10], eax
mov esi, 0x4ef184
jne 0x4103cc
cmp dword [0x4ef1d8], ebx
push dword [esp + 0xc]
je 0x4103ea
push 0x191
push esi
call fcn.0042a517
add esp, 0xc
cmp dword [edi + 0x314], ebx
push dword [esp + 0xc]
push dword [esp + 0x18]
je 0x41040f
mov dword [0x4ef880], 1
push 0x1e
jmp 0x410411
push dword [esp + 0x18]
mov dword [0x4ef87c], 1
push 0x8020
push 0x4ef184
call fcn.0042a517
add esp, 0x10
jmp 0x410497
push 0x1f
push esi
call fcn.0042a517
add esp, 0x10
cmp dword [0x4efdd4], ebx
je 0x41046f
push 0x830
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0047e7d0
xor eax, eax
add esp, 0xc
cmp dword [edi + 0x314], ebx
push dword [esp + 0xc]
setne al
xor ecx, ecx
cmp dword [edi + 0x99c], ebx
mov dword [esp + 0x24], ebx
setne cl
lea eax, [ecx + eax*2]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x1c]
push eax
call fcn.004355d8
push dword [esp + 0xc]
call fcn.0040f467
jmp 0x410496
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x410488
mov dword [eax], 1
push ebx
push eax
mov esi, edi
call fcn.004104ca
pop ecx
mov dword [esp + 0x14], eax
pop ecx
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.0047b9fe
mov esp, ebp
pop ebp
ret
Function at 0x41063e
Capabilities:
Delete file
Move file

Disassembly:
push 0xc
mov eax, 0x49fe23
call fcn.00481d3a
mov esi, ecx
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x14]
call fcn.0040161b
and dword [ebp - 4], 0
lea edi, [esi + 0x528]
push edi
lea ecx, [ebp - 0x14]
call fcn.004014c5
lea ebx, [esi + 0xcc]
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401250
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x10]
call fcn.0040161b
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004014c5
push 0x4adff8
lea ecx, [ebp - 0x10]
call fcn.00401250
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401250
mov eax, dword [ebp + 8]
and dword [ebp - 0x18], 0
cmp dword [eax], 0
mov ebx, dword [ebp - 0x14]
jne 0x4106eb
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push dword [ebp - 0x10]
push ebx
call edi
test eax, eax
je 0x4106f2
push 4
push 0
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x4106f2
mov esi, dword [esi + 0x760]
push 2
push ebx
push esi
call edi
test eax, eax
je 0x4106f2
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401325
lea ecx, [ebx - 0x10]
call fcn.00401325
mov eax, dword [ebp - 0x18]
call fcn.00481e12
ret
Function at 0x41106e
Capabilities:
Set file attributes

Disassembly:
push 0x224
mov eax, 0x4a2bd4
call fcn.00481da3
xor edi, edi
push 0x206
lea eax, [ebp - 0x216]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], edi
mov word [ebp - 0x218], di
call fcn.0047e7d0
add esp, 0xc
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x220]
call fcn.0040161b
mov dword [ebp - 4], edi
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040161b
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x4ed5e8
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0040464f
push dword [0x4ef5ec]
lea eax, [ebp - 0x218]
push eax
call fcn.0040468c
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x220]
call fcn.004014c5
cmp dword [ebp + 0xc], edi
je 0x41115c
mov esi, 0x4ad1b4
push esi
push dword [ebp - 0x220]
call fcn.0047bbb4
test eax, eax
pop ecx
pop ecx
jne 0x41113e
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.0040468c
mov dword [ebp - 0x224], ebx
jmp 0x4111aa
mov esi, str.indexall.txt
push esi
push dword [ebp - 0x220]
call fcn.0047bbb4
test eax, eax
pop ecx
pop ecx
jne 0x411283
push esi
jmp 0x411198
push str.index.dat
push dword [ebp - 0x220]
call fcn.0047bbb4
test eax, eax
pop ecx
pop ecx
jne 0x411179
push 0x4ad1b4
jmp 0x41112a
push str.indexall.dat
push dword [ebp - 0x220]
call fcn.0047bbb4
test eax, eax
pop ecx
pop ecx
jne 0x411283
push str.indexall.txt
lea eax, [ebp - 0x218]
push eax
call fcn.0040468c
mov dword [ebp - 0x224], edi
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004014c5
push 0x5c
push 0x2f
lea ebx, [ebp - 0x21c]
call fcn.00402ce3
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0047e75f
add esp, 0xc
cmp dword [ebp + 0xc], edi
jne 0x411255
push 0x5c
mov esi, ebx
call fcn.0040a447
push eax
lea eax, [ebp - 0x230]
push eax
mov ecx, ebx
call fcn.0040453c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0042e810
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00401325
push dword [ebp - 0x228]
call fcn.0042e9b9
test eax, eax
pop ecx
je 0x411283
push edi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
call fcn.004020c7
test eax, eax
pop ecx
pop ecx
je 0x411283
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x4ef3e4
push dword [0x4ef1d4]
push eax
push dword [ebp - 0x224]
call fcn.004066ae
test eax, eax
je 0x411283
mov dword [ebp - 0x22c], 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00401325
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, dword [ebp - 0x22c]
call fcn.00481e26
ret
Function at 0x411df1
Capabilities:
Get file size

Disassembly:
push 0x10
mov eax, 0x49fd5a
call fcn.00481d3a
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x10]
call fcn.0040161b
xor edi, edi
push 0x9a0
mov dword [ebp - 4], edi
call fcn.0045d815
cmp eax, edi
pop ecx
je 0x411e2a
mov esi, eax
call fcn.0040644d
mov esi, eax
jmp 0x411e2c
xor esi, esi
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x10]
call fcn.004014c5
mov eax, dword [ebx]
push edi
push 0x80
push 3
push edi
xor ebx, ebx
inc ebx
push ebx
push closesocket
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x411e7c
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x411e7c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], edi
jne 0x411e88
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
lea eax, [esi + 4]
push eax
mov dword [esi], edi
call fcn.0040466f
push dword [ebp - 0x10]
lea eax, [esi + 0xcc]
push eax
call fcn.0040464f
mov eax, dword [ebp - 0x14]
push 0x4ac888
mov dword [esi + 0x2d4], eax
mov dword [esi + 0x2d8], eax
lea eax, [esi + 0x2dc]
push 0x14
push eax
call fcn.0047e75f
push 3
pop eax
mov dword [esi + 0x30c], eax
mov dword [esi + 0x310], eax
lea eax, [esi + 0x320]
push str.ksgksg_
push eax
mov dword [esi + 0x304], edi
mov dword [esi + 0x308], edi
mov dword [esi + 0x314], edi
mov dword [esi + 0x318], ebx
mov dword [esi + 0x31c], 4
call fcn.0040464f
lea eax, [esi + 0x528]
push 0x4ed7f0
push eax
call fcn.0040464f
lea eax, [esi + 0x528]
push str.ksg_
push eax
call fcn.0040468c
mov eax, dword [ebp + 8]
mov dword [esi + 0x734], edi
push dword [eax]
call fcn.004281f1
push eax
lea eax, [esi + 0x738]
push str._10u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x44
lea ecx, [esi + 0x760]
push 0x4ef3e4
call fcn.004014c5
lea eax, [esi + 0x320]
push eax
lea ecx, [esi + 0x760]
call fcn.00401250
lea eax, [esi + 0xcc]
push eax
lea ecx, [esi + 0x760]
call fcn.00401250
push 2
pop eax
mov dword [esi + 0x780], eax
mov dword [esi + 0x784], eax
lea eax, [esi + 0x78c]
push 0x4ac888
push eax
mov dword [esi + 0x764], edi
mov dword [esi + 0x768], ebx
mov dword [esi + 0x76c], ebx
mov dword [esi + 0x770], edi
mov dword [esi + 0x774], edi
mov dword [esi + 0x778], edi
mov dword [esi + 0x77c], edi
call fcn.0040464f
mov dword [esi + 0x998], edi
mov eax, dword [0x4efdd8]
cmp eax, edi
pop ecx
pop ecx
je 0x411fe2
mov dword [esi], eax
push ebx
mov eax, esi
mov dword [0x4efdd8], esi
call fcn.00412004
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, ebx
call fcn.00481e12
ret
Function at 0x4121c7
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x32c
mov eax, 0x4a0cc1
call fcn.00481da3
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x117]
mov edi, edx
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x334], ebx
mov byte [ebp - 0x118], bl
call fcn.0047e7d0
add esp, 0xc
push esi
lea ecx, [ebp - 0x328]
call fcn.00401640
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x412422
cmp edi, ebx
je 0x412422
push 0x4ac26c
push 0x4ac810
lea eax, [ebp - 0x328]
push eax
call fcn.00406220
call dword [0x4d1acc]
mov edi, eax
mov eax, dword [ebp - 0x328]
cmp eax, ebx
mov dword [ebp - 0x324], eax
je 0x41226b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41226f
xor edi, edi
jmp 0x41228b
lea esi, [eax + eax]
mov eax, esi
call fcn.004840d0
mov eax, esp
push edi
push esi
push dword [ebp - 0x324]
push eax
call fcn.004034ff
mov edi, eax
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x324], eax
je 0x4123db
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x4123db
cmp esi, ebx
je 0x4123db
push esi
call fcn.0047dc09
cmp eax, ebx
pop ecx
mov dword [ebp - 0x32c], eax
je 0x4123db
push ebx
lea ecx, [ebp - 0x334]
push ecx
push esi
push eax
push dword [ebp - 0x324]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4123db
push dword [ebp - 0x334]
mov ecx, dword [ebp - 0x32c]
lea esi, [ebp - 0x118]
call fcn.004120d5
cmp eax, ebx
pop ecx
mov dword [ebp - 0x330], eax
je 0x4123db
push 0x207
lea eax, [ebp - 0x31f]
push ebx
push eax
mov byte [ebp - 0x320], bl
call fcn.0047e7d0
add esp, 0xc
mov eax, esi
push eax
mov esi, 0x208
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.0047fbea
add esp, 0xc
push 0x5c
push edi
call fcn.0047ff80
cmp eax, ebx
pop ecx
pop ecx
je 0x41236a
inc eax
push eax
jmp 0x41236b
push edi
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.0047fedd
lea eax, [ebp - 0x320]
add esp, 0xc
push eax
call fcn.0049c2fb
pop ecx
lea eax, [ebp - 0x320]
push eax
call fcn.0047be60
pop ecx
push eax
lea esi, [ebp - 0x118]
lea ecx, [ebp - 0x320]
call fcn.004120d5
pop ecx
mov eax, esi
push eax
call fcn.0047be60
cmp eax, 0x104
pop ecx
jae 0x4123db
mov eax, esi
push eax
call fcn.0049c2fb
pop ecx
mov eax, esi
push eax
push dword [ebp - 0x338]
call fcn.0047ffb0
pop ecx
pop ecx
mov dword [ebp - 0x330], 1
cmp dword [ebp - 0x324], ebx
je 0x4123f8
cmp dword [ebp - 0x324], 0xffffffff
je 0x4123f8
push dword [ebp - 0x324]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x32c], ebx
je 0x41240c
push dword [ebp - 0x32c]
call fcn.0047e8b5
pop ecx
mov ecx, dword [ebp - 0x328]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, dword [ebp - 0x330]
jmp 0x412432
mov ecx, dword [ebp - 0x328]
add ecx, 0xfffffff0
call fcn.00401325
xor eax, eax
lea esp, [ebp - 0x348]
call fcn.00481e26
ret
Function at 0x41243e
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x14
mov eax, 0x4a0c9b
call fcn.00481d3a
xor esi, esi
mov dword [ebp - 0x18], esi
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x14]
call fcn.0040161b
mov dword [ebp - 4], esi
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x10]
call fcn.0040161b
mov byte [ebp - 4], 1
mov eax, dword [0x4ef1d4]
cmp eax, esi
jne 0x4124bf
push 0x4ed5e8
lea ecx, [ebp - 0x20]
call fcn.00401640
push str.indexksg.txt
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.00402dca
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004015ba
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401325
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
jmp 0x412506
cmp eax, 1
jne 0x41250e
push 0x4ef3e4
lea ecx, [ebp - 0x1c]
call fcn.00401640
push str.indexksg.txt
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00402dca
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004015ba
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401325
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401325
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412588
push esi
lea eax, [ebp - 0x14]
push 0x4ad28c
push eax
call fcn.004063eb
add esp, 0xc
mov edi, 0x104
mov esi, 0x4ef5ec
push edi
mov ecx, esi
call fcn.0040133f
push ebx
push edi
push eax
push 0x4ac888
push dword [ebp - 0x14]
push 0x4acf30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00402fd4
mov eax, dword [0x4ef5ec]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x412588
dec eax
push eax
mov ecx, esi
call fcn.00412dc3
cmp ax, 0x2f
jne 0x412588
push esi
call fcn.0042e754
pop ecx
mov dword [ebp - 0x18], 1
lea ecx, [ebx - 0x10]
call fcn.00401325
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, dword [ebp - 0x18]
call fcn.00481e12
ret
Function at 0x4128d4
Capabilities:
Read .ini file

Disassembly:
push 0xe0
mov eax, 0x4a1ca1
call fcn.00481da3
mov eax, dword [ebp + 8]
push eax
xor ebx, ebx
push ebx
push 0x4ae194
mov esi, str.diff
push esi
mov dword [ebp - 0xec], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe4], eax
call fcn.0045db7e
push eax
lea ecx, [ebp - 0xe0]
call fcn.0040161b
xor edi, edi
cmp dword [ebp - 0xe4], ebx
mov dword [ebp - 4], ebx
jle 0x4129da
push edi
lea eax, [ebp - 0xe0]
push 0x4ae1a8
push eax
mov word [ebp - 0xdc], bx
call fcn.004063eb
add esp, 0xc
push dword [ebp - 0xec]
lea eax, [ebp - 0xdc]
push 0x64
push eax
push 0x4ac888
push dword [ebp - 0xe0]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4129cd
lea eax, [ebp - 0xdc]
push eax
mov word [ebp - 0x16], bx
call fcn.0047ba0d
test eax, eax
pop ecx
je 0x4129cd
lea eax, [ebp - 0xdc]
push eax
call fcn.00435700
add esp, 4
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00401640
mov byte [ebp - 4], 1
mov eax, dword [0x4efe70]
push eax
mov ecx, 0x4efe6c
push ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.00412ec4
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xe8]
add ecx, 0xfffffff0
call fcn.00401325
inc edi
cmp edi, dword [ebp - 0xe4]
jl 0x412929
mov ecx, dword [ebp - 0xe0]
add ecx, 0xfffffff0
call fcn.00401325
call fcn.00481e26
ret
Function at 0x418d95
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x418dd0
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x418dbd
push 0xffffffffffffffff
push dword [esi + 0x1f0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x1f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x1f0], 0
ret

Function at 0x419852
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, eax
lea edi, [esi + 0x788]
push dword [edi]
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4198d3
mov eax, dword [esi + 0x784]
dec eax
je 0x4198b8
dec eax
je 0x41989e
dec eax
je 0x41988e
dec eax
jne 0x4198d0
mov esi, dword [esi + 0x760]
mov ecx, dword [edi]
push esi
call fcn.004341fe
pop ecx
jmp 0x4198c5
mov esi, dword [esi + 0x760]
mov ecx, dword [edi]
push esi
call fcn.00434016
jmp 0x41988b
push dword [esi + 0x2d4]
mov eax, dword [edi]
mov ecx, dword [esi + 0x760]
push eax
push ecx
call fcn.00433d0f
add esp, 0xc
jmp 0x4198c5
mov edx, dword [esi + 0x760]
mov ecx, dword [edi]
call fcn.00433b29
test eax, eax
je 0x4198d3
mov ecx, edi
call fcn.00402a47
xor ebx, ebx
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x41a8a8
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x80
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp dword [sym.imp.KERNEL32.dll_DeleteFileW]

Function at 0x41a8bd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d0620]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x4f0340], 1
push esi
push edi
mov esi, 0x4f033c
jne 0x41a8ff
or dword [0x4f0340], 1
call fcn.0045db7e
push eax
mov ecx, esi
call fcn.0040161b
push 0x4a4ab3
call fcn.0047be3f
pop ecx
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.0047e7d0
add esp, 0xc
mov ecx, ebx
call fcn.00401557
mov eax, dword [0x4f033c]
cmp dword [eax - 0xc], edi
jne 0x41a952
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41a952
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004014c5
mov eax, dword [0x4f033c]
cmp dword [eax - 0xc], edi
je 0x41a982
lea ecx, [ebp - 0x20c]
push ecx
push edi
push 0x4b69b4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41a982
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.004014c5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047b9fe
leave
ret
Function at 0x41b085
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f5fb
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4d0620]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00415b2d
mov eax, dword [0x4ee7f4]
mov ecx, dword [eax]
push esi
push 0x4b6be0
push eax
call dword [ecx + 0x14]
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea eax, [esp + 0x14]
push eax
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
sub eax, edi
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
call fcn.0045db7e
push eax
lea ecx, [esp + 0x14]
call fcn.0040161b
push 0x801e
xor edi, edi
mov dword [esp + 0x54], edi
mov eax, dword [0x4ee7f4]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push edi
push 0x1061
push dword [esi + 0xa4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x44], 0x14
call edi
mov eax, dword [0x4ee7f4]
mov ecx, dword [eax]
push 0x801f
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
and dword [esp + 0x28], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
xor ebx, ebx
inc ebx
push ebx
push 0x1061
push dword [esi + 0xa4]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x44], 0x14
mov dword [esp + 0x48], ebx
call edi
push 0
push 0
push 0x1037
push dword [esi + 0xa4]
call edi
or eax, 0x24
push eax
push 0
push 0x1036
push dword [esi + 0xa4]
call edi
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret