joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47dd70
Capabilities:
Read .ini file

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x47ddf0
push ebp
push esi
call fcn.00403590
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0xc], eax
xor esi, esi
push edi
mov edi, dword [ebx]
cmp esi, 0xffffffff
jne 0x47dda0
mov eax, str.Command
jmp 0x47ddbe
push esi
push str.Command
push 0x4b9960
push 0x4dbb10
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, 0x4dbb10
mov ecx, dword [esp + 0x10]
push ecx
push 0xbc614e
push eax
push edi
call ebp
cmp eax, 0xbc614e
je 0x47dded
test eax, eax
je 0x47dded
lea edx, [esp + 0x14]
push edx
lea ecx, [ebx + 4]
mov dword [esp + 0x18], eax
call fcn.00442c80
add esi, 1
jne 0x47dd92
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x47e1b0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x418
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, dword [esp + 0x420]
mov dword [esp + 4], ecx
test esi, esi
jne 0x47e1dc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
cmp word [esi], 0
je 0x47e2e6
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
movzx eax, word [esi]
mov edi, esi
cmp ax, 0x22
jne 0x47e242
lea edi, [esi + 2]
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x22
je 0x47e216
test ax, ax
jne 0x47e203
mov eax, esi
sub eax, edi
sar eax, 1
inc eax
cmp eax, 0x104
jle 0x47e229
mov eax, 0x104
push eax
push edi
lea ecx, [esp + 0x224]
push ecx
call ebp
cmp word [esi], 0x22
jne 0x47e274
push esi
call ebx
mov esi, eax
jmp 0x47e274
cmp ax, 0x20
jbe 0x47e253
push esi
call ebx
mov esi, eax
cmp word [esi], 0x20
ja 0x47e248
mov edx, esi
sub edx, edi
sar edx, 1
lea eax, [edx + 1]
cmp eax, 0x104
jle 0x47e268
mov eax, 0x104
push eax
push edi
lea eax, [esp + 0x224]
push eax
call ebp
lea edx, [esp + 0x21c]
push edx
lea eax, [esp + 0x18]
xor ecx, ecx
push eax
mov word [esp + 0x42a], cx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0047dce0
movzx eax, word [esi]
test ax, ax
je 0x47e2c6
cmp ax, 0x20
ja 0x47e2bc
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x47e2a7
jmp 0x47e2c6
cmp word [esi], 0
jne 0x47e1f5
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0049e9d2
add esp, 0x418
ret 4
mov ecx, dword [esp + 0x418]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0049e9d2
add esp, 0x418
ret 4
Function at 0x47f443
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
push edi
cmp ecx, dword [esi + 0xc0]
jne 0x47f4ad
mov eax, dword [esi + 0x130]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x47f481
push eax
mov eax, dword [esi + 0x108]
push eax
call edi
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
push 0
push 0
mov ecx, esi
call fcn.00479d90
mov ecx, dword [esi + 0xc0]
mov edx, dword [esi + 8]
push ecx
push edx
call edi
pop edi
mov dword [esi + 0xc0], 0
xor eax, eax
pop esi
add esp, 0x28
ret 0x10
mov eax, dword [esi + 0xc4]
cmp ecx, eax
jne 0x47f630
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xc4], 0
call fcn.00403350
push eax
push 0xbc614e
push str.AutoUpdate
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, 0xbc614e
jne 0x47f4fc
mov esi, 1
jmp 0x47f505
cmp esi, 4
je 0x47f630
mov ecx, dword [0x5144c4]
push str.update.log
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00417280
mov eax, dword [esp + 0x44]
add esp, 0xc
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x47f5cb
call fcn.00404800
test eax, eax
jne 0x47f5e3
lea ecx, [esp + 8]
push ecx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x47f605
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x47f605
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [esp + 0x10]
movzx ecx, word [esp + 0x20]
movzx eax, word [esp + 0x22]
sub ecx, edx
movzx edx, word [esp + 0x12]
imul ecx, ecx, 0x16d
sub eax, edx
mov edx, eax
shl edx, 4
sub edx, eax
lea eax, [ecx + edx*2]
movzx ecx, word [esp + 0x16]
movzx edx, word [esp + 0x26]
sub eax, ecx
add eax, edx
cmp esi, 1
jne 0x47f5cf
cmp eax, esi
jmp 0x47f5e1
mov edi, eax
jmp 0x47f551
cmp esi, 2
jne 0x47f5d9
cmp eax, 7
jmp 0x47f5e1
cmp esi, 3
jne 0x47f605
cmp eax, 0x1e
jl 0x47f605
push 0x10
call fcn.0049f1a2
add esp, 4
test eax, eax
je 0x47f5fa
mov ecx, eax
call fcn.0047f230
jmp 0x47f5fc
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x47f610
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret 0x10
Function at 0x47fad0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x464
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
call fcn.00403590
mov ebp, eax
xor eax, eax
push 0x246
push eax
lea ecx, [esp + 0x232]
push ecx
mov word [esp + 0x234], ax
call fcn.0049e9f0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x36]
push eax
mov word [esp + 0x38], dx
call fcn.0049e9f0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
xor esi, esi
cmp esi, 0xffffffff
jne 0x47fb44
mov eax, str.Command
jmp 0x47fb5e
push esi
push str.Command
push 0x4b9960
push 0x4dbb10
call ebx
add esp, 0x10
mov eax, 0x4dbb10
push ebp
push 0x124
lea ecx, [esp + 0x230]
push ecx
push 0
push eax
push str.Macro
call edi
test eax, eax
jbe 0x47fc26
lea edx, [esp + 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x47fc20
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x230]
push str._d____t_n_
push edx
mov dword [esp + 0x20], 0
call fcn.0049f49e
add esp, 0x10
cmp eax, 2
jne 0x47fc20
cmp dword [esp + 0x10], 0
je 0x47fc20
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x47fc20
movzx ecx, word [esp + 0x10]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0040cf30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0047f780
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47fc20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
jmp 0x47fb38
mov ecx, dword [esp + 0x470]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x464
ret
Function at 0x47fcd0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x108
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [ebp + 0x2b0]
lea eax, [edi + 1]
push 0x34
mov dword [ebp + 0x2b0], eax
call fcn.0049f1a2
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x47fe7d
push 0x1c
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov ecx, 5
push 0x1c
mov word [esi + 0x10], cx
mov edx, ecx
mov word [esi + 0x12], dx
push eax
mov dword [esi + 8], ebx
mov ecx, dword [ebp + 4]
push eax
lea edx, [esi + 0x14]
push edx
mov dword [esp + 0x24], esi
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x120]
mov dword [esi + 0x2c], eax
push ebx
mov byte [esi + 0x30], 0
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0xc], eax
push 0xc0
mov dword [esi + 0x28], edi
call fcn.0049f1a2
mov edi, eax
add esp, 4
test edi, edi
je 0x47fe4a
push esi
mov ecx, edi
call fcn.0047dff0
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [edi], vtable.CDockingPaneChildWindow.0
mov dword [eax], 0
mov eax, esp
mov dword [eax], section..data
mov ecx, dword [ebp + 4]
push ecx
mov ecx, edi
call fcn.0047f7e0
mov edx, dword [edi + 4]
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x1e]
mov dword [esi], edx
push ecx
mov word [esp + 0x20], ax
call fcn.0049e9f0
add esp, 0xc
push 0x7f
lea edx, [esp + 0x18]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x70
call fcn.0049f1a2
add esp, 4
test eax, eax
je 0x47fe4a
push esi
mov ecx, eax
call fcn.0047e310
mov edi, eax
test edi, edi
je 0x47fe4a
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp + 4]
xor ecx, ecx
test dword [eax + 0x2c], 0x400
je 0x47fe0e
mov ecx, 0xc40000
push 0
push ecx
mov eax, esp
push 0
push ecx
lea ecx, [esp + 0x24]
push ecx
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov ecx, edi
mov dword [eax], section..data
call fcn.0047f8e0
mov edx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [ebp + 0x284]
mov dword [esi + 4], edx
call fcn.00442c80
jmp 0x47fe7f
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x47fe64
mov edx, dword [esi]
push edx
call ebx
mov eax, dword [esi + 4]
push eax
call edi
test eax, eax
je 0x47fe74
mov ecx, dword [esi + 4]
push ecx
call ebx
push esi
call fcn.0049e4c4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x108
ret 8
Function at 0x482170
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
call fcn.00403650
mov edx, dword [0x514540]
mov ebp, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x514540
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
xor edi, edi
xor esi, esi
push esi
push edi
lea ecx, [esp + 0x18]
push str.Bar_d_d
push ecx
call fcn.00402950
mov ebx, dword [esp + 0x20]
add esp, 0x10
push ebp
push 0x80
lea edx, [esp + 0x20]
push edx
push 0
push ebx
push str.DockWindow
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x482203
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0049ecda
add esp, 8
test eax, eax
je 0x482245
inc esi
jmp 0x4821b5
inc edi
cmp edi, 4
jl 0x4821b3
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482225
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 5
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x10c
ret 4
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x482261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x48222a

Function at 0x4822f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
cmp ebp, 4
jae 0x482304
cmp ebp, 3
jbe 0x482304
xor ebp, ebp
mov eax, dword [esi + ebp*4 + 0xe4]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
push edi
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetParent]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f212
add esp, 4
push edi
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + ebp*4 + 0xe4]
push 0
push edi
push ebx
call fcn.00483600
push edi
call fcn.0049f207
mov eax, dword [esi + ebp*4 + 0xe4]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xdc]
add esp, 4
push eax
call fcn.0046f9c0
cmp word [eax + 0x10], 5
pop edi
pop ebx
jne 0x4823d5
mov ecx, dword [esi + ebp*4 + 0xe4]
mov eax, dword [ecx + 4]
mov esi, dword [esi + 0xdc]
push eax
mov ecx, esi
call fcn.0046f9c0
test eax, eax
je 0x4823d5
movzx ecx, word [eax + 0x12]
cmp cx, 4
jne 0x4823bd
push eax
mov ecx, esi
call fcn.004772a0
pop esi
pop ebp
ret 8
movzx edx, cx
cmp dx, 3
ja 0x4823d5
push 0xffffffffffffffff
push 1
push 0
push ecx
push eax
mov ecx, esi
call fcn.00477b10
pop esi
pop ebp
ret 8
Function at 0x482843
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x482920
cmp dword [esi + 0x70], 0
push ebx
push ebp
push edi
je 0x4828aa
call fcn.004826b0
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, eax
mov eax, dword [edi + 4]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x482882
mov ecx, dword [edi + 4]
push 5
push ecx
call ebp
mov edx, dword [esi + 0x80]
push edx
call ebx
test eax, eax
je 0x48291d
mov eax, dword [esi + 0x80]
push 0
push eax
call ebp
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x4828c8
mov ecx, dword [esi + 0x80]
push 5
push ecx
call ebp
mov ecx, esi
call fcn.004826b0
mov edi, eax
mov edx, dword [edi + 4]
push edx
call ebx
test eax, eax
je 0x4828e3
mov eax, dword [edi + 4]
push 0
push eax
call ebp
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x48291d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret 0x10

Function at 0x483b50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x64], 0xffffffff
jne 0x483c2f
push edi
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00457590
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 4]
cmp ecx, dword [esp + 0xc]
jne 0x483b7d
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], eax
mov dword [edi], 1
mov dword [esi + 0x28], 2
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 4]
mov dword [esi + 0x28], eax
mov ecx, dword [edi]
push ebp
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x483bb6
mov edx, dword [edi]
push 5
push edx
call ebp
mov eax, dword [edi + 4]
push 0
push eax
call ebp
cmp dword [edi + 0x1c], 0
pop ebp
je 0x483bcc
mov dword [edi + 0x1c], 0
mov ecx, edi
mov dword [edi + 0x40], 0
call fcn.00457e80
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x14]
push ecx
push str.HideOnlyOne
push 0x4bbe38
call fcn.00403350
mov ecx, eax
call fcn.00403f90
mov ecx, dword [esi + 0x78]
xor edx, edx
cmp byte [esp + 0xc], dl
setne dl
add ecx, 0x24
inc edx
mov edi, edx
push edi
call fcn.00483410
mov ecx, dword [esi + 0x7c]
push edi
add ecx, 0x24
call fcn.00483410
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 4]
pop edi
pop esi
mov dword [esp + 4], ecx
jmp dword [sym.imp.USER32.dll_SetFocus]
pop esi
ret 4
Function at 0x484f21
Capabilities:
Read .ini file

Disassembly:
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
xor ebp, ebp
push edi
test eax, eax
je 0x484f4a
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
mov eax, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ebp, eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xffffffff
mov byte [esi + 0x38], 0
call fcn.00403350
push eax
push 0xc
lea edi, [esi + 0x3c]
push edi
push 0x4c0cc0
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
jne 0x484f90
mov dword [edi], 0xffecec
mov dword [esi + 0x40], 0xffddff
mov dword [esi + 0x44], 0xc0
call fcn.00437330
mov edx, dword [esi + 4]
push 1
push eax
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00484d70
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0x10

Function at 0x485442
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
xor ebp, ebp
test eax, eax
je 0x48546a
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
mov eax, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ebp, eax
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x827
cmp eax, ecx
je 0x48548f
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
call fcn.00437330
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push ecx
call edi
call fcn.00403350
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x17]
push edx
push str.UseCTags
push str.Outline
mov ecx, eax
mov byte [esp + 0x23], 0
call fcn.00403f90
cmp byte [esp + 0xf], 0
je 0x4854e3
mov eax, dword [esi + 4]
push 0
push 0x4b1
push 0x111
push eax
call edi
mov dword [esi + 0x30], 0
mov dword [esi + 0x3c], 0
call fcn.00403350
push eax
push 0xbc614e
push str.OutlineMax
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x40], eax
pop edi
cmp eax, 0xbc614e
jne 0x48551e
mov dword [esi + 0x40], 0x4e20
mov ecx, dword [esi + 4]
push 0
push 0x5dc
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x38], eax
pop esi
mov eax, ebp
pop ebp
pop ecx
ret 0x10
Function at 0x4884e0
Capabilities:
Get file attributes
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
push 0xffff0000
push 0
lea esi, [ecx + 4]
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00403650
mov ebx, eax
push ebx
push 0xbc614e
push str.Count
push str.DirView
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
cmp ebp, 0xbc614e
jne 0x48853a
xor ebp, ebp
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.0049e9f0
add esp, 0xc
xor edi, edi
test ebp, ebp
jle 0x488619
mov edi, edi
cmp edi, 0xffffffff
jne 0x48856c
mov eax, 0x4bb238
jmp 0x48858a
push edi
push 0x4bb238
push 0x4b9960
push 0x4dbb10
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, 0x4dbb10
push ebx
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push str.DirView
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x488610
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x488610
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
test al, 0x10
je 0x4885fe
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0x23
mov ecx, esi
call fcn.0043e900
push 0xffff0002
push eax
push 0
push 0
push 0
push 0
push 0
push 0x4bad64
jmp 0x488607
push 2
push 2
lea edx, [esp + 0x2c]
push edx
push 0x23
mov ecx, esi
call fcn.0043e900
inc edi
cmp edi, ebp
jl 0x488560
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x20c
ret

Function at 0x488eb0
Capabilities:
Get file attributes

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 9
mov esi, ecx
mov eax, dword [esi + 4]
push 0x110a
push eax
call ebx
mov ecx, dword [esi + 4]
mov edi, eax
push edi
push 4
push 0x110a
push ecx
call ebx
test eax, eax
jne 0x488f3f
mov edx, dword [0x514540]
mov eax, dword [edx + 0xc]
mov ecx, 0x514540
call eax
lea ecx, [esp + 0xc]
push ecx
add eax, 0x10
push edi
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00488dc0
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x488f23
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 8]
push 0
push edi
push 0x8b1
push eax
call ebx
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488f3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x48a8f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
mov ebp, ecx
call fcn.0048a6d0
mov eax, dword [ebp + 0x54]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x184
push eax
call esi
mov ecx, dword [ebp + 0x2c]
push 0
push 0
push 0x147
push ecx
call esi
cmp eax, 0xffffffff
je 0x48aae6
test eax, eax
jl 0x48aafd
cmp eax, dword [ebp + 0x80]
jge 0x48aafd
mov edx, dword [ebp + 0x7c]
mov eax, dword [edx + eax*4]
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x1c]
push edx
push 0xbc614e
push str.Count
push str.Snippet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xbc614e
je 0x48aae5
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
push ebx
mov ecx, 0x514540
call edx
mov ebx, eax
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
add ebx, 0x10
mov ecx, 0x514540
mov dword [esp + 0x18], ebx
call edx
add eax, 0x10
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
test edi, edi
jle 0x48aaac
lea ebx, [ebx]
push esi
lea eax, [esp + 0x1c]
push str.Item_d
push eax
call fcn.00402950
mov ebx, dword [esp + 0x24]
add esp, 0xc
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x18]
push ecx
push str.Trigger
push ebx
lea ecx, [esp + 0x34]
call fcn.004031f0
test eax, eax
je 0x48aa9b
push 0xc
call fcn.0049f1a2
add esp, 4
test eax, eax
je 0x48aa20
mov ecx, eax
call fcn.0042c330
mov esi, eax
jmp 0x48aa22
xor esi, esi
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00402640
push 0xffffffffffffffff
push 0
lea eax, [esi + 8]
push eax
push str.Snippet
push ebx
lea ecx, [esp + 0x34]
call fcn.004031f0
push 0xffffffffffffffff
push 0
lea edi, [esi + 4]
push edi
push str.Title
push ebx
lea ecx, [esp + 0x34]
call fcn.004031f0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jne 0x48aa70
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.00402640
mov edi, dword [edi]
mov eax, dword [ebp + 0x54]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x180
push eax
call edi
mov ecx, dword [ebp + 0x54]
push esi
push eax
push 0x19a
push ecx
call edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x48a9d0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48aac8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48aae4
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
pop esi
pop ebp
xor ecx, esp
call fcn.0049e9d2
add esp, 0x21c
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]