joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100167a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov ecx, 0x102325e8
jmp 0x100167b0
push 0xffffffffffffffff
push 0x101a6338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
mov ecx, dword [0x101c918c]
mov dword [esp], eax
mov dword [eax + 0x14], ecx
mov edx, dword [0x101c918c]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 0x18], edx
mov edx, dword [0x101c918c]
mov byte [esp + 0xc], 1
mov dword [eax + 0x1c], edx
mov edx, dword [0x101c918c]
mov byte [esp + 0xc], 2
mov dword [eax + 0x20], edx
mov edx, dword [0x101c918c]
mov byte [esp + 0xc], 3
mov dword [eax + 0x24], edx
mov edx, dword [0x101c918c]
mov byte [esp + 0xc], 4
mov dword [eax + 0x28], edx
mov edx, dword [0x101c918c]
mov byte [esp + 0xc], 5
mov dword [eax + 0x2c], edx
mov edx, dword [0x101c918c]
mov byte [esp + 0xc], 6
mov dword [eax + 0x30], edx
mov byte [esp + 0xc], 7
mov word [eax], cx
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], 0xffffffff
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1001d500
Capabilities:
Log keystrokes via application hook

Disassembly:
push ecx
mov eax, dword [0x102332d4]
push esi
test eax, eax
jne 0x1001d572
call fcn.1001d3c0
test eax, eax
je 0x1001d572
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x1001d558
mov ecx, dword [esp + 8]
push esi
push ecx
push edi
push str.HookLineBoard___x____x____x_
push str.LINE
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x1c
test esi, esi
pop edi
je 0x1001d572
push esi
push 0
push 0x1001d4a0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x102332d4], eax
pop esi
pop ecx
ret
Function at 0x1001e060
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.10114fd0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001e14b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtDll.dll
call ebx
push 0x101f1f14
mov dword [esi + 0x2c], eax
call ebx
push str.psapi.dll
mov dword [esi + 0x30], eax
call ebx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x34], eax
test ecx, ecx
pop ebx
je 0x1001e19d
mov edx, dword [esi + 0x30]
test edx, edx
je 0x1001e19d
test eax, eax
je 0x1001e19d
push str.NtQuerySystemInformation
push ecx
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x34]
push str.EnumProcesses
push eax
call edi
mov ecx, dword [esi + 0x34]
push str.GetModuleFileNameExA
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x34]
push str.GetModuleFileNameExW
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
call fcn.10115020
test eax, eax
je 0x1001e107
mov eax, dword [esi + 0x30]
push str.ProcessIdToSessionId
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001e19d
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001e19d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1001e19d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1001e19d
mov dword [esi + 0x38], 1
call fcn.10115020
test eax, eax
je 0x1001e19d
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x1001e19d
mov dword [esi + 0x38], 0
jmp 0x1001e19d
push 0x101f1f14
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x30], eax
je 0x1001e19d
push str.CreateToolhelp32Snapshot
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.Process32First
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x30]
push str.Process32Next
push edx
mov dword [esi + 0x10], eax
call edi
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x1001e19d
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1001e19d
test eax, eax
je 0x1001e19d
mov dword [esi + 0x3c], 1
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1001e1bd
push str.GetLongPathNameA
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x30]
push str.GetLongPathNameW
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x1001e1d2
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x1001e1d2
mov ecx, esi
call fcn.1001e1e0
pop edi
pop esi
ret
Function at 0x1001e4d0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
test esi, esi
je 0x1001e56c
push esi
call fcn.100e9958
add esp, 4
test eax, eax
je 0x1001e56c
cmp word [esi], 0x5c
jne 0x1001e5b6
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0xc
rep stosd dword es:[edi], eax
push str.SystemRoot_
push esi
stosw word es:[edi], ax
call fcn.100e9f51
add esp, 0xc
test eax, eax
pop edi
jne 0x1001e578
lea eax, [esp + 4]
push str._SystemRoot_
push eax
call fcn.100e9933
lea ecx, [esi + 0x18]
lea edx, [esp + 0x26]
push ecx
push edx
mov word [esp + 0x2c], 0x5c
call fcn.100e9933
add esp, 0x10
lea eax, [esp + 4]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1001e56c
cmp eax, 0x104
jbe 0x1001e5b6
xor eax, eax
pop esi
add esp, 0x208
ret 8
push 4
push 0x101f2008
push esi
call fcn.100e9f51
add esp, 0xc
test eax, eax
jne 0x1001e5b6
lea ecx, [esi + 8]
push 0x103
lea edx, [esp + 8]
push ecx
push edx
call fcn.100e9975
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0x10]
dec eax
push eax
push ecx
push esi
call fcn.100e9975
add esp, 0x18
mov eax, 1
pop esi
add esp, 0x208
ret 8
Function at 0x100249e0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101a6e2b
push eax
mov eax, dword [0x102335d4]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x10024c28
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x61e]
mov word [esp + 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x416]
mov word [esp + 0x414], bx
rep stosd dword es:[edi], eax
push str.OAgent.ini
mov dword [0x102335d4], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.10001b40
push eax
lea eax, [esp + 0x41c]
push 0x101ed298
push eax
call fcn.100e9daa
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x102323b8
push 0x101b8560
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x10024ada
cmp word [esp + 0xe1a], bx
jne 0x10024ada
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.10145630
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x10024ade
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x10024bf2
push esi
lea ecx, [esp + 0x10]
call fcn.10116360
mov dword [esp + 0xe28], ebx
mov esi, 0x20019
call fcn.10114f40
test eax, eax
je 0x10024b0a
mov esi, 0x20219
push esi
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.101164d0
test eax, eax
je 0x10024b68
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
push 0x101b85f4
call fcn.101168f0
cmp eax, ebx
je 0x10024b68
mov ecx, dword [esp + 0xc]
cmp ecx, 0x400
jae 0x10024b5b
mov edx, ecx
mov esi, eax
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10024b5f
mov dword [esp + 0xc], ebx
push eax
call fcn.101963e7
add esp, 4
lea ecx, [esp + 0x10]
call fcn.10116520
lea ecx, [esp + 0x10]
mov dword [esp + 0xe28], 0xffffffff
call fcn.10116450
mov eax, dword [esp + 0xc]
pop esi
cmp eax, ebx
jne 0x10024bf2
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x61c]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x620]
push eax
push 0x102323b8
push 0x101b85f4
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x10024bea
cmp word [esp + 0xe1a], bx
jne 0x10024bea
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.10145630
add esp, 0xc
jmp 0x10024bee
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x10024c28
cmp eax, 4
jbe 0x10024c28
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x10024c28
cmp dword [esp + 0x14], 1
je 0x10024c28
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x10024c28
add eax, 0xfffffffc
cmp ecx, eax
ja 0x10024c28
mov eax, dword [esp + 0x1c]
mov dword [0x102335d0], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x10025be0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
or eax, 0xffffffff
cmp ecx, 0x4000
ja 0x10025cbd
je 0x10025cb7
cmp ecx, 0x20
ja 0x10025c3d
je 0x10025c37
dec ecx
cmp ecx, 0x14
ja case.0x10025c12.9
xor edx, edx
mov dl, byte [ecx + 0x10025df0]
jmp dword [edx*4 + 0x10025dcc]
mov eax, 1
ret
mov eax, 0x21
ret
mov eax, 5
ret
mov eax, 2
ret
mov eax, 4
ret
mov eax, 6
ret
cmp ecx, 0x400
ja 0x10025c89
je case.0x10025c12.6
cmp ecx, 0x100
ja 0x10025c71
je 0x10025c6b
sub ecx, 0x40
je case.0x10025c12.7
sub ecx, 0x40
jne case.0x10025c12.9
mov eax, 8
ret
mov eax, 7
ret
mov eax, 9
ret
cmp ecx, 0x200
jne case.0x10025c12.9
mov eax, 0xa
ret
mov eax, 0xb
ret
cmp ecx, 0x800
je 0x10025cb1
cmp ecx, 0x1000
je 0x10025cab
cmp ecx, 0x2000
jne case.0x10025c12.9
mov eax, 0xe
ret
mov eax, 0xd
ret
mov eax, 0xc
ret
mov eax, 0xf
ret
cmp ecx, 0x800000
ja 0x10025d55
je 0x10025d4f
cmp ecx, 0x80000
ja 0x10025d21
je 0x10025d1b
cmp ecx, 0x20000
ja 0x10025d09
je 0x10025d03
cmp ecx, 0x8000
je 0x10025cfd
cmp ecx, 0x10000
jne case.0x10025c12.9
mov eax, 0x11
ret
mov eax, 0x10
ret
mov eax, 0x12
ret
cmp ecx, 0x40000
jne case.0x10025c12.9
mov eax, 0x13
ret
mov eax, 0x14
ret
cmp ecx, 0x100000
je 0x10025d49
cmp ecx, 0x200000
je 0x10025d43
cmp ecx, 0x400000
jne case.0x10025c12.9
mov eax, 0x17
ret
mov eax, 0x16
ret
mov eax, 0x15
ret
mov eax, 0x18
ret
cmp ecx, 0x10000000
ja 0x10025d9f
je 0x10025d99
cmp ecx, 0x4000000
ja 0x10025d8b
je 0x10025d85
cmp ecx, 0x1000000
je 0x10025d7f
cmp ecx, 0x2000000
jne case.0x10025c12.9
mov eax, 0x1a
ret
mov eax, 0x19
ret
mov eax, 0x1b
ret
cmp ecx, 0x8000000
jne case.0x10025c12.9
mov eax, 0x1c
ret
mov eax, 0x1d
ret
cmp ecx, 0x20000000
je 0x10025dc3
cmp ecx, 0x40000000
je 0x10025dbd
cmp ecx, 0x80000000
jne case.0x10025c12.9
mov eax, 0x20
ret
mov eax, 0x1f
ret
mov eax, 0x1e
ret

Function at 0x10025e10
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
dec ecx
cmp ecx, 0x21
ja case.0x10025e20.3
jmp dword [ecx*4 + 0x10025ee8]
mov eax, 0x40000000
ret
mov eax, 0x20000000
ret
mov eax, 0x10000000
ret
mov eax, 0x8000000
ret
mov eax, SysReAllocString
ret
mov eax, 1
ret
mov eax, 0x11
ret
mov eax, 0x10
ret
mov eax, 2
ret
mov eax, 8
ret
mov eax, 0x20
ret
mov eax, 0x14
ret
mov eax, 0x80
ret
mov eax, 0x100
ret
mov eax, 0x200
ret
mov eax, 0x400
ret
mov eax, 0x800
ret
mov eax, 0x1000
ret
mov eax, 0x15
ret
mov eax, 0x4000
ret
mov eax, 0x8000
ret
mov eax, 0x10000
ret
mov eax, 0x20000
ret
mov eax, 0x40000
ret
mov eax, 0x80000
ret
mov eax, 0x100000
ret
mov eax, 0x200000
ret
mov eax, 0x400000
ret
mov eax, 0x800000
ret
mov eax, 0x1000000
ret
mov eax, 0x2000000
ret
mov eax, 0x4000000
ret
Function at 0x1002d860
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2a8
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov eax, edi
mov ecx, edx
and eax, 0x10000
and ecx, 0x400
cmp eax, 0x10000
jne 0x1002d9aa
cmp ecx, 0x400
jne 0x1002d9aa
cmp edi, 0x2010010
jne 0x1002d9aa
cmp edx, ecx
jne 0x1002d9aa
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xaa]
mov word [esp + 0xa8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 8]
stosw word es:[edi], ax
lea eax, [esp + 0xa8]
push eax
push 0x104
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0xa8]
push edx
call fcn.100e9958
mov edi, eax
add esp, 4
test edi, edi
je 0x1002d9aa
lea eax, [esp + 0xa8]
push 0x101f5ce0
push eax
call fcn.100e9e19
add esp, 8
test eax, eax
je 0x1002d91e
mov word [esp + edi*2 + 0x9e], 0
jmp 0x1002d93c
lea ecx, [esp + 0xa8]
push str._TM
push ecx
call fcn.100e9e19
add esp, 8
test eax, eax
je 0x1002d93c
mov word [eax], 0
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
push 0x50
stosw word es:[edi], ax
push edx
lea eax, [esp + 0xb0]
push 0xffffffffffffffff
push eax
call fcn.10012a80
add esp, 0x10
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10060190
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.10060250
mov eax, dword [0x102acd68]
test eax, eax
je 0x1002d9aa
lea eax, [esp + 8]
push eax
push str.SetSelfInfo_8___s_
push 0x101f5ca4
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
pop edi
pop esi
add esp, 0x2a8
ret
Function at 0x1002d9d0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x410
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1002dc20
mov ebx, dword [esp + 0x41c]
test ebx, ebx
je 0x1002dc20
mov eax, dword [esp + 0x420]
test eax, eax
jle 0x1002dc20
mov eax, dword [0x102acd68]
test eax, eax
je 0x1002da2c
mov eax, dword [esi + 0x6d4]
push eax
push str.GetUserNameW_8_1___d_
push 0x101f5ca4
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
mov eax, dword [esi + 0xaec]
push edi
cmp eax, 1
je 0x1002dbaf
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esi + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x104
push 0xd
push edx
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0xc]
push eax
call fcn.100e9958
add esp, 4
test eax, eax
je 0x1002daac
lea ecx, [esp + 0xc]
lea edx, [esp + 0x214]
push ecx
push edx
call fcn.100e9933
add esp, 8
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x1002dae8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x214]
push ecx
push edx
push edi
push str.GetUserNameW_8_2___x____s____s_
push 0x101f5ca4
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x1c
test edi, edi
je 0x1002db63
lea eax, [esp + 0xc]
push eax
push 0x104
push 0xd
push edi
call ebx
push 2
lea ecx, [esp + 0x10]
push 0x101f5d6c
push ecx
call fcn.100e9f19
add esp, 0xc
test eax, eax
je 0x1002db2b
push 2
lea edx, [esp + 0x10]
push 0x101f5d64
push edx
call fcn.100e9f19
add esp, 0xc
test eax, eax
jne 0x1002db35
mov dword [esi + 0xaec], 1
mov eax, dword [0x102acd68]
test eax, eax
je 0x1002db63
mov ecx, dword [esi + 0xaec]
lea eax, [esp + 0xc]
push eax
push ecx
push str.GetUserNameW_8_3___d____s_
push 0x101f5ca4
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
cmp dword [esi + 0xaec], 1
je 0x1002db8a
lea edx, [esp + 0x214]
push 0x101f5d24
push edx
call fcn.100e9e19
add esp, 8
test eax, eax
je 0x1002db8a
mov word [eax], 0
lea eax, [esp + 0x214]
mov ecx, esi
push eax
call fcn.10060190
lea ecx, [esp + 0x214]
push ecx
mov ecx, esi
call fcn.10060250
mov ebx, dword [esp + 0x420]
mov edx, dword [esp + 0x424]
xor eax, eax
mov edi, ebx
lea ecx, [edx + edx]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x424]
lea ecx, [esi + 0xd0]
dec eax
push eax
push ecx
push ebx
call fcn.100e9975
mov eax, dword [0x102acd68]
add esp, 0xc
test eax, eax
pop edi
je 0x1002dc0f
mov edx, dword [esi + 0xaec]
push ebx
push edx
push str.GetUserNameW_8_4___d____s_
push 0x101f5ca4
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
mov eax, dword [esi + 0xaec]
pop esi
pop ebx
add esp, 0x410
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x410
ret 8
Function at 0x1003a780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101a7c0a
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 ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.1005f770
xor edi, edi
lea eax, [esi + 0x12b8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], eax
mov byte [esp + 0x18], 1
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
lea ebx, [esi + 0x12d8]
mov byte [esp + 0x18], 2
push edi
mov ecx, ebx
mov dword [esp + 0x38], ebx
call fcn.100e8fae
mov byte [esp + 0x18], 3
mov dword [ebx], 0x101b83ec
add ebx, 8
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x12f8]
mov byte [esp + 0x18], 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x18], 5
mov dword [eax], method.CCommandLineInfo.virtual_0
mov dword [eax + 4], edi
mov dword [eax + 8], 0x11
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], 0xa
mov byte [esp + 0x18], 6
mov ecx, esi
mov dword [esi], 0x101bfa9c
call fcn.1003aad0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x10044cb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
push ebp
push esi
test ebx, ebx
mov esi, ecx
je 0x10044e14
mov ebp, dword [esp + 0x21c]
test ebp, ebp
je 0x10044e14
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x10044e14
push ebp
call fcn.100e9958
add esp, 4
test eax, eax
jbe 0x10044e14
push 0xd
push ebp
call fcn.100ea56e
add esp, 8
test eax, eax
je 0x10044e14
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 8]
test eax, eax
je 0x10044e14
mov ecx, dword [0x102acd68]
test ecx, ecx
je 0x10044d47
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
push str.EIMQQComChatMessage__I64x
push str.eimqq
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
push ebx
lea ecx, [esi + 0x240]
call fcn.10064e70
mov esi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x10044d88
test esi, esi
je 0x10044d6a
mov eax, dword [esi + 0xc70]
jmp 0x10044d6c
xor eax, eax
push eax
push esi
push ebx
push str.EIMQQComChatMessage___x__x__x
push str.eimqq
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x1c
test esi, esi
je 0x10044e14
mov eax, dword [esi + 0xc70]
test eax, eax
je 0x10044e14
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x10], 0
pop edi
je 0x10044de3
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.10060190
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.10060250
mov eax, dword [0x102acd68]
test eax, eax
je 0x10044e0c
lea eax, [esp + 0xc]
push ebp
push eax
push ebx
push str.EIMQQComChatMessage_____x__s__s
push str.eimqq
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x1c
push ebp
mov ecx, esi
call fcn.10045d30
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x10047030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101a8708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push edi
mov ebp, ecx
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push 0
call fcn.10109cc0
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push 0
call fcn.101949fb
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0xc], eax
jle 0x10047232
xor edi, edi
test eax, eax
jle 0x10047232
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, ebx
call fcn.10047c10
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.10102670
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.10195cf5
mov esi, dword [esp + 0x34]
xor ecx, ecx
mov eax, dword [esi - 8]
test eax, eax
jle 0x10047213
mov dx, word [esi]
cmp dx, 0xfffc
je 0x100470d5
cmp dx, 0xd
jne 0x100470e2
inc ecx
add esi, 2
cmp ecx, eax
jl 0x100470c5
jmp 0x10047213
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, ebx
call fcn.10047c10
mov esi, dword [eax + 4]
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.10195cf5
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push edx
push esi
push eax
mov ecx, ebp
call fcn.10047250
push 0x20
push 0xfffc
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.10104db0
push 0x101f3348
push 0x101f584c
lea ecx, [esp + 0x3c]
call fcn.10104eb0
push 0x102323b8
push 0x101fbd38
lea ecx, [esp + 0x3c]
call fcn.10104eb0
push 0x102323b8
push 0x101fbd00
lea ecx, [esp + 0x3c]
call fcn.10104eb0
cmp dword [ebp + 0x1494], 1
jne 0x100471cb
test edi, edi
jne 0x100471cb
mov ecx, dword [esp + 0x34]
push 0x101fb910
push ecx
call fcn.100e9e19
add esp, 8
test eax, eax
jne 0x10047213
mov edx, dword [esp + 0x34]
push str.Be_wary_of_prize
push edx
call fcn.100e9e19
add esp, 8
test eax, eax
jne 0x10047213
mov eax, dword [esp + 0x34]
push 0x101fb8e0
push eax
call fcn.100e9e19
add esp, 8
test eax, eax
jne 0x10047213
mov ecx, dword [esp + 0x34]
push 0x101fb8b4
push ecx
call fcn.100e9e19
add esp, 8
test eax, eax
jne 0x10047213
mov ecx, dword [esp + 0x3c]
push esi
mov eax, dword [ecx + 8]
push eax
call fcn.10194bbf
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.1010a350
mov eax, dword [0x102acd68]
test eax, eax
je 0x10047213
mov eax, dword [esp + 0x34]
push eax
push esi
push str._DealArrString__AddChatLog__Dir:__d___Text:__s_
push str.eimqq
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10102ee0
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x10047085
pop esi
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10