joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467564
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x54]
jne 0x46759c
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov dword [esi + 0x54], 0
mov ecx, dword [0x513ce8]
push 0x6a
call fcn.004816f0
xor eax, eax
pop esi
ret 0x10

Function at 0x469300
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x469315
pop esi
ret 4
mov ecx, dword [esi + 4]
push edi
mov edi, dword [esp + 0xc]
push edi
push 0
push 0x37f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x46936d
cmp dword [edi + 4], 0x100
jne 0x469377
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov edx, 0x8000
test dx, ax
je 0x469377
push 0x42
call esi
mov ecx, 0x8000
test cx, ax
je 0x469377
mov ecx, dword [0x513ce8]
add ecx, 0x250
call fcn.00486e60
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x46b455
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 0xc], 0
push esi
mov esi, ecx
jne 0x46b52e
movzx eax, word [esp + 0xc]
sub eax, 0x84d0
cmp eax, dword [esi + 0xa0]
jae 0x46b52e
mov ecx, dword [esi + 0x9c]
mov edx, dword [ecx + eax*4]
cmp dword [edx - 0xc], 0
push ebx
lea ebx, [ecx + eax*4]
je 0x46b52d
push edi
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46b4ec
mov eax, dword [ebx]
lea edi, [esi + 0x1c0]
push eax
mov ecx, edi
call fcn.004316e0
test al, al
je 0x46b4ec
mov ecx, esi
call fcn.00481510
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00420810
mov ecx, edi
call fcn.00430d20
lea ecx, [esp + 0x18]
call fcn.00420840
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
push ebp
mov ecx, esi
call fcn.00481510
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
mov edi, eax
push 0x427
push edi
call ebp
mov ecx, dword [ebx]
push ecx
lea ecx, [esi + 0x1c0]
call fcn.00431670
push 0
push 0
push 0x427
push edi
call ebp
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
Function at 0x46c570
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x46c5cd
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x46c607
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x46c63a
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
Function at 0x470150
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push 0
push edi
mov esi, ecx
mov eax, dword [esi + 0xf8]
push 0x419
push eax
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4701dc
mov ecx, dword [esi + 0x100]
push 0
add edi, 0xfffff9bf
push edi
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea edx, [esp + 0x10]
push edx
push ebp
mov edi, eax
mov eax, dword [esi + 0xf8]
push 0x417
push eax
call ebx
mov ecx, dword [esi + 0xf8]
push 0
push 0
push 0x431
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edi
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
test edi, edi
je 0x4701dc
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x18
ret 4

Function at 0x470200
Capabilities:
Capture webcam image
Read .ini file

Disassembly:
sub esp, 0x30
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 0
mov edi, ecx
mov eax, dword [edi + 0xf8]
push 0x418
push eax
call ebp
mov esi, eax
test esi, esi
jl 0x470248
mov ecx, dword [edi + 0xf8]
push 0
push esi
push 0x416
push ecx
call ebp
sub esi, 1
jns 0x470232
call fcn.00403350
mov esi, eax
push esi
push 0xbc614e
push str.Count
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp ebx, 0xbc614e
je 0x47034e
test ebx, ebx
je 0x47034e
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f212
add esp, 4
push esi
lea ecx, [ebx*4]
push ecx
push eax
push str.ToolBar
push str.ToolBar
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
xor eax, eax
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x470341
mov edi, edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi*4]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 4
cmp dword [eax + esi*4], 0
mov dword [esp + 0x14], 0
sete cl
mov byte [esp + 0x1d], cl
mov eax, dword [eax + esi*4]
test eax, eax
je 0x470327
mov edx, dword [edi + 0xfc]
push 0
push eax
push 0x419
push edx
call ebp
mov edx, dword [edi + 0xfc]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0x417
push edx
call ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov edx, dword [edi + 0xf8]
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 0x443
push edx
call ebp
inc esi
cmp esi, ebx
jl 0x4702d0
mov eax, dword [esp + 0x10]
push eax
call fcn.0049f207
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x30
ret
Function at 0x470870
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x24
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x30]
mov ecx, 0x514540
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x14], 0
call fcn.0044e6f0
add esp, 0xc
test al, al
je 0x470941
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 1
lea edx, [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp dword [esp + 8], 0
je 0x470941
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0xf8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edx
push 0x419
push eax
call edi
cmp eax, 0xffffffff
je 0x470936
mov edx, dword [esi + 0xf8]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x417
push edx
call edi
mov eax, dword [esi + 0xf8]
push 0
push 0
push 0x431
push eax
call edi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x470963
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049e9d2
add esp, 0x24
ret 8
Function at 0x4772a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp word [esi + 0x10], 5
je 0x4772b2
xor eax, eax
pop esi
ret 4
mov edx, dword [esi + 4]
mov eax, 4
mov ecx, eax
mov word [esi + 0x10], ax
mov eax, dword [esi + 8]
push edx
push eax
mov word [esi + 0x12], cx
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
push 4
sub edx, eax
push edx
mov edx, dword [esi + 0x1c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 0
push 0
push 0x74e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret 4

Function at 0x477320
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp word [esi + 0x10], 4
je 0x477332
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 5
mov word [esi + 0x10], cx
lea eax, [ecx - 4]
pop esi
ret 4

Function at 0x477530
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
push edi
test eax, eax
je 0x477565
mov edi, dword [esp + 0x10]
lea ecx, [esi + 0x6c]
lea esp, [esp]
sub eax, 1
js 0x4775bf
cmp eax, dword [ecx + 4]
jge 0x4775bf
mov edx, dword [ecx]
cmp dword [edx + eax*4], edi
je 0x477594
test eax, eax
jne 0x477550
mov ecx, esi
call fcn.00471910
test eax, eax
jne 0x4775d0
test byte [esi + 0x78], 0x20
je 0x47757f
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x80], eax
mov ecx, dword [esi + 4]
push 0
push ecx
mov dword [esi + 0x7c], 0
call ebx
pop edi
pop esi
pop ebx
ret 8
cmp dword [esp + 0x14], 0
je 0x4775a3
push eax
call fcn.004825e0
jmp 0x4775ad
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [edi]
push 0
push ecx
call ebx
mov edx, 5
mov word [edi + 0x10], dx
jmp 0x477565
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edx, dword [esi + 4]
push 0
push 0
push 0x74e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4777e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
mov edi, ecx
call fcn.0046f9c0
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
jne 0x4777ff
pop edi
xor eax, eax
pop esi
ret 4
movzx eax, word [esi + 0x10]
cmp ax, 4
jne 0x47782e
cmp word [esi + 0x10], ax
jne 0x4777f8
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, 5
pop edi
mov word [esi + 0x10], dx
mov eax, 1
pop esi
ret 4
movzx eax, ax
cmp ax, 3
ja 0x477846
push 1
push esi
mov ecx, edi
call fcn.00477730
pop edi
pop esi
ret 4
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x284]
call fcn.004777a0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetParent]
push 1
mov ecx, esi
call fcn.004770b0
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x478000
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xcc
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ecx + 0xf4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
call fcn.00403410
mov edx, dword [0x514540]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x514540
call eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, 1
jmp 0x478050
push esi
push str.Tool
lea ecx, [esp + 0x18]
push str._s_d
push ecx
call fcn.00402950
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x32]
push eax
mov word [esp + 0x34], dx
call fcn.0049e9f0
mov edi, dword [esp + 0x2c]
add esp, 0x1c
push ebx
push 0x1f
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push edi
call ebp
cmp word [esp + 0x18], 0
je 0x4780d6
push ebx
push 0x40
lea edx, [esp + 0x60]
push edx
push 0
push str.Title
push edi
call ebp
test eax, eax
ja 0x4780bc
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4780d6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
lea eax, [esi + 0x636]
push eax
push 0
push eax
push edx
call dword [sym.imp.USER32.dll_ModifyMenuW]
inc esi
cmp esi, 0xa
jl 0x478050
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
jg 0x478100
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0049e9d2
add esp, 0xcc
ret
Function at 0x478560
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
call fcn.00403650
mov ebx, eax
push ebx
push 0
push 0
push str.DockWindow
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
mov ecx, 0x514540
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
mov ecx, 0x514540
call edx
add eax, 0x10
lea edi, [esi + 0xe4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], edi
jmp 0x4785d8
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push str.Bar_d_
push ecx
call fcn.00402950
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0xdc]
add esp, 0xc
push eax
call fcn.0046f9c0
xor ecx, ecx
cmp word [eax + 0x10], 5
lea edx, [esp + 0x1c]
setne cl
push ecx
push 0x4bb71c
push edx
call fcn.00402950
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
add esp, 0xc
push ebx
push eax
push esi
push str.DockWindow
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, dword [edi]
xor ebp, ebp
cmp dword [ebx + 0x58], ebp
jle 0x4786dd
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esp + 0x18]
push str.Bar_d_d
push edx
call fcn.00402950
add esp, 0x10
cmp ebp, dword [ebx + 0x58]
jae 0x478667
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + ebp*4]
test eax, eax
jne 0x478671
mov dword [esp + 0x18], 0
jmp 0x478678
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f212
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
push ecx
push edi
push esi
push str.DockWindow
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
call fcn.0049f207
inc ebp
add esp, 4
cmp ebp, dword [ebx + 0x58]
jl 0x478640
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
inc eax
add edi, 4
cmp eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
jl 0x4785d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478732
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x478565
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
call fcn.00403650
mov ebx, eax
push ebx
push 0
push 0
push str.DockWindow
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
mov ecx, 0x514540
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
mov ecx, 0x514540
call edx
add eax, 0x10
lea edi, [esi + 0xe4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], edi
jmp 0x4785d8
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push str.Bar_d_
push ecx
call fcn.00402950
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0xdc]
add esp, 0xc
push eax
call fcn.0046f9c0
xor ecx, ecx
cmp word [eax + 0x10], 5
lea edx, [esp + 0x1c]
setne cl
push ecx
push 0x4bb71c
push edx
call fcn.00402950
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
add esp, 0xc
push ebx
push eax
push esi
push str.DockWindow
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, dword [edi]
xor ebp, ebp
cmp dword [ebx + 0x58], ebp
jle 0x4786dd
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esp + 0x18]
push str.Bar_d_d
push edx
call fcn.00402950
add esp, 0x10
cmp ebp, dword [ebx + 0x58]
jae 0x478667
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + ebp*4]
test eax, eax
jne 0x478671
mov dword [esp + 0x18], 0
jmp 0x478678
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f212
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
push ecx
push edi
push esi
push str.DockWindow
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
call fcn.0049f207
inc ebp
add esp, 4
cmp ebp, dword [ebx + 0x58]
jl 0x478640
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
inc eax
add edi, 4
cmp eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
jl 0x4785d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478732
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x478740
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x118
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.00403650
mov ebx, eax
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
mov ecx, 0x514540
call edx
add eax, 0x10
xor edi, edi
add esi, 0xe4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x18]
push str.Bar_d_
push edx
mov dword [esp + 0x2c], ecx
call fcn.00402950
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1b]
push eax
push ecx
push str.DockWindow
mov ecx, ebx
mov byte [esp + 0x27], 0
call fcn.00403f90
xor ebp, ebp
push ebp
push edi
lea edx, [esp + 0x1c]
push str.Bar_d_d
push edx
call fcn.00402950
mov esi, dword [esp + 0x24]
add esp, 0x10
push ebx
push 0x80
lea eax, [esp + 0x2c]
push eax
push 0
push esi
push str.DockWindow
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x478837
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp byte [esp + 0x13], cl
lea edx, [esp + 0x24]
setne cl
push ecx
mov ecx, dword [eax + 8]
push edx
push 0x8bb
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x478834
mov ecx, dword [esp + 0x18]
push edi
push esi
call fcn.004822f0
inc ebp
jmp 0x4787c5
cmp byte [esp + 0x13], 0
jne 0x478851
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x18]
push 1
push eax
call fcn.004820b0
add dword [esp + 0x1c], 4
inc edi
cmp edi, 4
jl 0x478787
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
jg 0x478880
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0049e9d2
add esp, 0x118
ret
Function at 0x47a430
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0x88
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, ecx
call fcn.00403710
mov ebx, eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47a56e
push edi
push ebx
push 0xbc614e
push str.Count
push str.Session
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
cmp edi, 0xbc614e
je 0x47a56d
test edi, edi
je 0x47a56d
mov eax, dword [0x514540]
mov edx, dword [eax + 0xc]
push esi
mov ecx, 0x514540
call edx
mov esi, eax
add esi, 0x10
add edi, 0xffffffff
mov dword [esp + 0x10], esi
js 0x47a550
lea ecx, [ecx]
push edi
push str.Item_d
lea eax, [esp + 0x1c]
push 0x40
push eax
call fcn.004011e0
add esp, 0x10
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x18]
push ecx
push str.Path
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.004031f0
mov esi, dword [esp + 0x10]
test eax, eax
je 0x47a550
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47a547
push ebx
push 0xbc614e
push str.Type
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0xbc614e
je 0x47a513
test eax, eax
jne 0x47a51f
push 0
push esi
mov ecx, ebp
call fcn.00479b00
jmp 0x47a529
push 0
push esi
mov ecx, ebp
call fcn.00479560
test eax, eax
je 0x47a547
lea ecx, [ebp + 0x138]
call fcn.00482b50
push 0
push edi
push 0x8be
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub edi, 1
jns 0x47a4b0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x47a56d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov ecx, dword [esp + 0x8c]
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.0049e9d2
add esp, 0x88
ret

Function at 0x47dc90
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x47dcdb
cmp byte [esi + 8], 0
mov byte [esi + 0xc], 1
je 0x47dcb6
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x47dcb6
mov byte [esi + 8], 0
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 4]
test eax, eax
je 0x47dcdb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x47dcdb
mov dword [esi + 4], 0
pop esi
ret