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

Disassembly:
mov eax, dword [0x102cb7c8]
sub esp, 0x14
test eax, eax
je 0x1006ac5b
mov eax, dword [0x102c787c]
push eax
push str.LINEDestroyTmpWnd____x_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
mov eax, dword [0x102c787c]
test eax, eax
je 0x1006ad5e
push esi
push edi
push 0
push 0
mov ecx, 0x102c8130
call fcn.100cdb00
mov ecx, dword [0x102c787c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x102c7878]
xor edx, edx
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc]
mov dword [esp + 0x14], edx
push eax
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edi, dword [0x10237128]
sub edx, eax
cmp edi, 0x60000
mov dword [esp + 8], edx
fild dword [esp + 8]
sbb eax, eax
and al, 0xea
add eax, 0x28
mov dword [esp + 8], eax
fild dword [esp + 8]
fmul qword [0x102383a8]
fsubp st(1)
call fcn.100ee080
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
sub ecx, edi
mov si, ax
mov dword [esp + 8], ecx
and esi, 0xffff
fild dword [esp + 8]
fld qword [0x102383a8]
fmul qword [0x101c40c8]
shl esi, 0x10
fsubp st(1)
call fcn.100ee080
mov edx, dword [0x102c7878]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
and eax, 0xffff
or esi, eax
push esi
push 1
push 0x201
push edx
call edi
mov eax, dword [0x102c7878]
push esi
push 0
push 0x202
push eax
call edi
xor ecx, ecx
pop edi
mov dword [0x102c78a8], ecx
pop esi
mov dword [0x102c78ac], ecx
mov dword [0x102c7880], ecx
add esp, 0x14
ret
Function at 0x1006afb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x220
mov eax, dword [0x10204e64]
push ebx
push ebp
push esi
push edi
mov ebp, 1
xor edi, edi
cmp eax, ebp
mov esi, ecx
mov dword [esp + 0x10], edi
je 0x1006afd9
cmp eax, 2
jne 0x1006b1de
mov ebx, dword [esp + 0x234]
cmp ebx, edi
je 0x1006b1de
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esi + 0x25c]
call fcn.10065700
mov esi, eax
cmp esi, edi
mov dword [esp + 0x14], esi
je 0x1006b1de
mov eax, dword [0x102c78b8]
cmp eax, edi
jne 0x1006b021
mov eax, dword [esi + 8]
cmp eax, edi
mov dword [0x102c78b8], eax
je 0x1006b1de
cmp dword [0x102cb7c8], edi
je 0x1006b049
push eax
push ebx
push str.line_CheckLineWndIsPhoto__hWnd:__08x___hWndMain:__08x_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
mov eax, dword [0x102c78b8]
add esp, 0x18
cmp ebx, eax
je 0x1006b1de
cmp ebx, dword [0x102c78c0]
je 0x1006b1de
cmp ebx, dword [0x102c78bc]
je 0x1006b1da
mov word [esp + 0x28], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x28]
push 0x103
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006b0b5
lea ecx, [esp + 0x28]
push ecx
push str.line_CheckLineWndIsPhoto_2__Title:__s_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
lea edx, [esp + 0x28]
push 0x10205990
push edx
call fcn.10014c40
add esp, 8
test eax, eax
je 0x1006b0e4
pop edi
mov dword [esp + 0xc], ebp
mov eax, ebp
pop esi
mov dword [0x102c78bc], ebx
pop ebp
pop ebx
add esp, 0x220
ret 4
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
test ebp, ebp
je 0x1006b1b7
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
push ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub ebx, ecx
mov edi, 5
cmp ebx, edi
jle 0x1006b182
cmp edi, 0x19a
jge 0x1006b182
push 5
push edi
push ebp
call dword [sym.imp.GDI32.dll_GetPixel]
mov esi, eax
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006b169
push esi
push str.line_CheckLineWndIsPhoto_3__Color:__08x_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
cmp esi, 0x49362d
jne 0x1006b17a
add edi, 0x32
cmp edi, ebx
jl 0x1006b132
jmp 0x1006b182
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x234]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x234]
test eax, eax
je 0x1006b1b3
pop edi
pop esi
mov dword [0x102c78bc], ebx
pop ebp
pop ebx
add esp, 0x220
ret 4
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 8]
cmp ebx, eax
mov dword [0x102c78b8], eax
je 0x1006b1de
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [0x102c78c0], ebx
pop ebp
pop ebx
add esp, 0x220
ret 4
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x220
ret 4
Function at 0x1006b5a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x102cb7c8]
push esi
push edi
mov edi, dword [esp + 0xc]
test eax, eax
mov esi, ecx
je 0x1006b5cb
push edi
push str.DoLineMessageCopy_0___08x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
test edi, edi
je 0x1006b7dd
push 1
push edi
mov ecx, 0x102c8130
call fcn.100cdb00
push 0x102c7888
push edi
mov dword [0x102c7878], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x102c7878]
push 0
push 0
push 0x102c78a0
push eax
call fcn.10071d80
add esp, 0x10
test eax, eax
je 0x1006b7dd
mov ecx, dword [0x102c78a4]
mov edx, dword [0x102c788c]
mov eax, dword [0x102c78a0]
add ecx, edx
push ecx
mov ecx, dword [0x102c7888]
add eax, ecx
push eax
call fcn.10072300
add esp, 8
test eax, eax
jne 0x1006b64d
xor edx, edx
pop edi
mov dword [0x102c78a0], edx
pop esi
mov dword [0x102c78a4], edx
ret 8
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006b67c
mov eax, dword [0x102c78a4]
mov ecx, dword [0x102c78a0]
push eax
push ecx
push str.DoLineMessageCopy_1__Copy:__ld__ld_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
mov edx, dword [0x102c7878]
mov ecx, esi
push edx
call fcn.1006a960
test eax, eax
jne 0x1006b69f
push eax
push eax
mov ecx, 0x102c8130
call fcn.100cdb00
pop edi
pop esi
ret 8
mov ecx, esi
call fcn.1000d850
test eax, eax
je 0x1006b6b8
mov eax, dword [0x102c787c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006b6e1
mov ecx, dword [0x102c787c]
push ecx
push str.DoLineMessageCopy_2___08x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
mov esi, dword [0x102c78a4]
mov edx, dword [0x102c78a0]
and esi, 0xffff
and edx, 0xffff
shl esi, 0x10
or esi, edx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 1
push 0x201
push edi
call ebx
push esi
push 0
push 0x202
push edi
call ebx
mov edi, 0x43
call fcn.1001d5a0
test eax, eax
pop ebx
je 0x1006b72f
mov edi, 0x3a
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006b754
push edi
push 0x41
push str.DoLineMessageCopy_3___x____x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x11
call esi
push 0
push 0
push 0
push 0x41
call esi
push 0
push 2
push 0
push 0x41
call esi
push 0
push 2
push 0
push 0x11
call esi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x11
call esi
push 0
push 0
push 0
push edi
call esi
push 0
push 2
push 0
push edi
call esi
push 0
push 2
push 0
push 0x11
call esi
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006b7d2
push str.DoLineMessageCopy_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102c7880], eax
pop edi
pop esi
ret 8
Function at 0x1006c7e0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x102cb7c8]
sub esp, 0xa0
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
je 0x1006c827
mov eax, dword [esp + 0xb8]
mov ecx, dword [esi + 0xc70]
push eax
push ebx
push ecx
push str.AnalyzeMainMessage____08x____08x____08x_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x1c
cmp dword [esi + 0xc70], ebp
jne 0x1006c8e9
cmp ebx, ebp
je 0x1006c8e9
cmp dword [esp + 0xb8], ebp
je 0x1006c8e9
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esi + 8], ebx
je 0x1006c874
lea edx, [esp + 0x10]
push 0x4f
push edx
push ebx
mov ebp, 1
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006c897
push ebp
push str.AnalyzeMainMessage_1__IsSingleChat:__d_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
mov edi, dword [esp + 0xb8]
mov ecx, esi
push edi
call fcn.1006c2a0
mov esi, eax
test esi, esi
je 0x1006c8c5
test ebp, ebp
je 0x1006c8bd
lea eax, [esp + 0x10]
push ebp
push eax
mov ecx, esi
call fcn.1006ff60
push edi
mov ecx, esi
call fcn.10071ad0
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006c8e9
push edi
push edi
push str.AnalyzeMainMessage____08x____s_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8
Function at 0x1006cf30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x101ae914
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.10060010
xor eax, eax
lea ecx, [esi + 0x15c0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0x14], 1
mov dword [ecx], method.CCommandLineInfo.virtual_0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
lea ecx, [esi + 0x15d4]
mov byte [esp + 0x14], 2
mov dword [esp + 0x30], ecx
mov byte [esp + 0x14], 3
mov dword [ecx], method.CCommandLineInfo.virtual_0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
lea ecx, [esi + 0x15e8]
mov byte [esp + 0x14], 4
mov dword [esp + 0x30], ecx
mov byte [esp + 0x14], 5
mov dword [ecx], method.CCommandLineInfo.virtual_0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
lea ecx, [esi + 0x15fc]
mov byte [esp + 0x14], 6
mov dword [esp + 0x30], ecx
mov byte [esp + 0x14], 7
mov dword [ecx], method.CCommandLineInfo.virtual_0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
mov eax, dword [0x101cceac]
mov byte [esp + 0x14], 8
mov dword [esi + 0x1614], eax
lea edi, [esi + 0x16c4]
push 0xa
mov ecx, edi
mov byte [esp + 0x18], 9
mov dword [esp + 0x34], edi
call fcn.10198187
mov byte [esp + 0x14], 0xa
mov dword [edi], method.CPtrList.virtual_0
mov byte [esp + 0x14], 0xb
mov dword [edi], method.CPtrList.virtual_0
mov byte [esp + 0x14], 0xc
mov dword [edi], method.CPtrList.virtual_0
mov byte [esp + 0x14], 0xd
mov ecx, esi
mov dword [esi], 0x101c4114
call fcn.1006d330
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x1006db20
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
push ebp
test eax, eax
mov ebp, ecx
jne 0x1006db42
lea eax, [ebp + 0xd0]
push eax
call fcn.100ecb78
add esp, 4
test eax, eax
jne 0x1006dc9c
cmp dword [ebp + 0xb20], 0x64
jge 0x1006dc9c
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006db71
push str._Line__SetOpponentInfo_1
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x10
mov eax, dword [ebp + 0xc70]
push ebx
push esi
push edi
test eax, eax
je 0x1006dc70
mov ecx, dword [ebp + 8]
push 0
push 0
push 0xe
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
lea edi, [ebx + ebx + 4]
push edi
call fcn.1019a42e
mov esi, eax
mov eax, dword [0x102cb7c8]
add esp, 4
test eax, eax
je 0x1006dbc6
push ebx
push str._Line__SetOpponentInfo_2___d_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
test esi, esi
je 0x1006dc70
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
push eax
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006dc16
push esi
push str._Line__SetOpponentInfo_3___s_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
push esi
call fcn.100ecb78
add esp, 4
test eax, eax
jbe 0x1006dc67
cmp ebx, 0x50
mov dword [esp + 0x14], ebx
jb 0x1006dc34
mov dword [esp + 0x14], 0x4f
mov edx, dword [esp + 0x14]
lea ebx, [ebp + 0xd0]
push edx
push ebx
push esi
call fcn.100ed139
add esp, 0xc
test eax, eax
je 0x1006dc67
mov ecx, 0x28
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
push eax
push esi
push ebx
call fcn.100ecb95
add esp, 0xc
push esi
call fcn.1019a457
add esp, 4
mov eax, dword [0x102cb7c8]
pop edi
pop esi
pop ebx
test eax, eax
je 0x1006dc9c
add ebp, 0xd0
push ebp
push str._Line__SetOpponentInfo_5___s_
push str.line
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
pop ebp
ret 4
Function at 0x1006f0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101aeb48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], 0
test ebp, ebp
je 0x1006f24c
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1006f24c
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1006f156
push ebp
push str.AnalyzeLineHistory_0___s_
push str.IMCD
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
mov eax, dword [0x102cb7c8]
add esp, 0x14
test eax, eax
je 0x1006f156
mov ecx, dword [esp + 0x24]
push ecx
push str.AnalyzeLineHistory_1___s_
push str.IMCD
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
push ebx
push esi
push edi
push 0x101f7598
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebp
call fcn.10109af0
push 0
lea ecx, [esp + 0x34]
call fcn.10106dd0
mov esi, eax
push esi
mov dword [esp + 0x1c], esi
call fcn.100ecb78
push 0xa
push esi
mov edi, eax
call fcn.100ecae9
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1006f222
push 0x101f7598
push ebp
call fcn.100ed039
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x1006f222
jmp 0x1006f1b7
mov ebp, dword [esp + 0x14]
push ebx
push eax
call fcn.100ed039
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006f222
push ebx
call fcn.100ecb78
mov edx, dword [esp + 0x30]
mov esi, eax
sub edx, ebp
add esp, 4
sar edx, 1
add esi, edx
cmp esi, edi
jbe 0x1006f1ea
sub esi, edi
lea ebp, [ebp + esi*2]
mov esi, edi
mov ecx, dword [esp + 0x18]
mov eax, edi
sub eax, esi
push esi
push ebp
lea eax, [ecx + eax*2]
push eax
call fcn.100ed139
add esp, 0xc
test eax, eax
je 0x1006f21a
push ebx
call fcn.100ecb78
mov edx, dword [esp + 0x30]
add esp, 4
lea eax, [edx + eax*2]
test eax, eax
jne 0x1006f1b3
jmp 0x1006f222
lea eax, [ebp + esi*2]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.10106110
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.10106110
mov ecx, dword [esp + 0x10]
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x1006fab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101aebec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.10060010
xor edi, edi
lea ecx, [esi + 0x10a0]
mov dword [esp + 0x14], edi
call fcn.1010ce20
lea eax, [esi + 0x10b8]
mov byte [esp + 0x14], 1
mov dword [esp + 0x30], eax
mov byte [esp + 0x14], 2
mov dword [eax], method.CCommandLineInfo.virtual_0
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov byte [esp + 0x14], 3
mov ecx, esi
mov dword [esi], 0x101c4188
call fcn.1006fd10
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x10070410
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101aed38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
xor eax, eax
push ebx
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 8], ecx
push edi
xor ebx, ebx
mov dword [esp + 0x24], eax
mov ecx, 4
lea edi, [esp + 0x1c]
lea esi, [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1007046a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
push ebp
push 0x102c7634
lea ecx, [esp + 0x1c]
call fcn.10199dd9
lea eax, [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x40], ebx
call fcn.101499e0
add esp, 8
push eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x44], 1
call fcn.10199fa4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.10199d65
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x100704ed
push ebp
push str.CLineMsgWnd::SetLastMessage_1___x_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
cmp ebp, 0xffffffff
je 0x100705a7
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x10070524
push esi
push str.CLineMsgWnd::SetLastMessage_2___d_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
test esi, esi
je 0x100705a0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x10b0]
test eax, eax
je 0x10070549
push eax
call fcn.1019a457
add esp, 4
mov dword [edi + 0x10b0], 0
mov edx, esi
shr edx, 1
lea eax, [edx + edx + 2]
push eax
call fcn.1019a42e
mov edx, dword [esp + 0x14]
mov edi, eax
add esp, 4
test edi, edi
mov dword [edx + 0x10b0], edi
je 0x100705a0
lea ecx, [esi + 2]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x1c], 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [edx + 0x10b0]
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x102cb7c8]
pop ebp
test eax, eax
je 0x100705d6
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x10b0]
push ecx
push ebx
push str.CLineMsgWnd::SetLastMessage_3___d____s_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call fcn.10199d65
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.10199d65
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
Function at 0x10075260
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x4d0
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0x1090], ebx
jne 0x100753bd
cmp dword [ebp + 0x20], 0x10040
jne 0x100753bd
cmp dword [ebp + 0x24], 0x200
jne 0x100753bd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x1094]
add ecx, 0xbb8
cmp ecx, eax
ja 0x100753bd
mov edx, dword [ebp + 8]
mov ecx, 0xa9
xor eax, eax
lea edi, [esp + 0x23c]
push ebx
mov dword [esp + 0x23c], ebx
push ebx
push ebx
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x250]
push edx
push ecx
xor esi, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], str.Static
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], ebx
call fcn.1001de80
mov eax, dword [esp + 0x258]
add esp, 0x20
cmp eax, ebx
jbe 0x10075324
mov esi, dword [esp + eax*4 + 0x238]
cmp dword [0x102cb7c8], ebx
je 0x1007534b
push esi
push 0x39f
push str._LSC____d__SetSelfNickName__0x_08x_
push 0x10207d88
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
cmp esi, ebx
je 0x100753bd
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x30]
push 0x103
push edx
push esi
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x102cb7c8], ebx
je 0x100753a0
lea eax, [esp + 0x30]
push eax
push esi
push 0x3a7
push str._LSC____d__SetSelfNickName__0x_08x___s_
push 0x10207d88
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x1c
cmp word [esp + 0x30], bx
je 0x100753bd
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.10060af0
mov dword [ebp + 0x1090], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d0
ret
Function at 0x10075f30
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1060
call fcn.100ed270
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
cmp eax, 0x20004
jne 0x10075f53
cmp ecx, 0x200
je 0x10075f6a
cmp eax, 0x20008
jne 0x10076053
cmp ecx, 0x200
jne 0x10076053
mov ecx, 0x20b
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0xc]
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push 0x418
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 8]
push edx
call fcn.100ecb78
add esp, 4
test eax, eax
jbe 0x10076053
cmp dword [esi + 0x20], 0x20004
jne 0x10075fc9
cmp dword [esi + 0x24], 0x200
jne 0x10075fc9
mov dword [esi + 0x6d4], 0
jmp 0x10075fd3
mov dword [esi + 0x6d4], 1
mov ecx, 0x20b
xor eax, eax
lea edi, [esp + 0x83a]
mov word [esp + 0x838], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x838]
push 0x418
push eax
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
push ecx
call fcn.10012960
mov eax, dword [0x102cb7c8]
add esp, 0x10
test eax, eax
je 0x10076042
mov eax, dword [esi + 0x6d4]
test eax, eax
mov eax, str.Send
je 0x10076028
mov eax, str.Recv
push eax
push str._LSC___content__s
push str.IMCD
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
lea edx, [esp + 0x838]
push 1
push edx
mov ecx, esi
call fcn.100617f0
pop edi
pop esi
add esp, 0x1060
ret