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

Disassembly:
mov ecx, 0x102373b8
jmp 0x10016690
push 0xffffffffffffffff
push 0x101aa378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
mov ecx, dword [0x101cceac]
mov dword [esp], eax
mov dword [eax + 0x14], ecx
mov edx, dword [0x101cceac]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 0x18], edx
mov edx, dword [0x101cceac]
mov byte [esp + 0xc], 1
mov dword [eax + 0x1c], edx
mov edx, dword [0x101cceac]
mov byte [esp + 0xc], 2
mov dword [eax + 0x20], edx
mov edx, dword [0x101cceac]
mov byte [esp + 0xc], 3
mov dword [eax + 0x24], edx
mov edx, dword [0x101cceac]
mov byte [esp + 0xc], 4
mov dword [eax + 0x28], edx
mov edx, dword [0x101cceac]
mov byte [esp + 0xc], 5
mov dword [eax + 0x2c], edx
mov edx, dword [0x101cceac]
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 0x1001d6e0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ecx
mov eax, dword [0x102380b4]
push esi
test eax, eax
jne 0x1001d752
call fcn.1001d5a0
test eax, eax
je 0x1001d752
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 [0x102cb7c8]
test eax, eax
je 0x1001d738
mov ecx, dword [esp + 8]
push esi
push ecx
push edi
push str.HookLineBoard___x____x____x_
push str.LINE
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x1c
test esi, esi
pop edi
je 0x1001d752
push esi
push 0
push 0x1001d680
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x102380b4], eax
pop esi
pop ecx
ret
Function at 0x1001e270
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.10118200
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001e35b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtDll.dll
call ebx
push 0x101f5f0c
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 0x1001e3ad
mov edx, dword [esi + 0x30]
test edx, edx
je 0x1001e3ad
test eax, eax
je 0x1001e3ad
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.10118250
test eax, eax
je 0x1001e317
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 0x1001e3ad
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001e3ad
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1001e3ad
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1001e3ad
mov dword [esi + 0x38], 1
call fcn.10118250
test eax, eax
je 0x1001e3ad
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x1001e3ad
mov dword [esi + 0x38], 0
jmp 0x1001e3ad
push 0x101f5f0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x30], eax
je 0x1001e3ad
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 0x1001e3ad
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1001e3ad
test eax, eax
je 0x1001e3ad
mov dword [esi + 0x3c], 1
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1001e3cd
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 0x1001e3e2
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x1001e3e2
mov ecx, esi
call fcn.1001e3f0
pop edi
pop esi
ret
Function at 0x1001e6e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
test esi, esi
je 0x1001e77c
push esi
call fcn.100ecb78
add esp, 4
test eax, eax
je 0x1001e77c
cmp word [esi], 0x5c
jne 0x1001e7c6
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.100ed171
add esp, 0xc
test eax, eax
pop edi
jne 0x1001e788
lea eax, [esp + 4]
push str._SystemRoot_
push eax
call fcn.100ecb53
lea ecx, [esi + 0x18]
lea edx, [esp + 0x26]
push ecx
push edx
mov word [esp + 0x2c], 0x5c
call fcn.100ecb53
add esp, 0x10
lea eax, [esp + 4]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1001e77c
cmp eax, 0x104
jbe 0x1001e7c6
xor eax, eax
pop esi
add esp, 0x208
ret 8
push 4
push 0x101f6000
push esi
call fcn.100ed171
add esp, 0xc
test eax, eax
jne 0x1001e7c6
lea ecx, [esi + 8]
push 0x103
lea edx, [esp + 8]
push ecx
push edx
call fcn.100ecb95
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0x10]
dec eax
push eax
push ecx
push esi
call fcn.100ecb95
add esp, 0x18
mov eax, 1
pop esi
add esp, 0x208
ret 8
Function at 0x10024c00
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101aae6b
push eax
mov eax, dword [0x102383b4]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x10024e39
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 [0x102383b4], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.10001b40
push eax
lea eax, [esp + 0x41c]
push 0x101f1298
push eax
call fcn.100ecfca
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x10237188
push 0x101bc4d0
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x10024cfa
cmp word [esp + 0xe1a], bx
jne 0x10024cfa
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.101496a0
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x10024cfe
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x10024e03
lea ecx, [esp + 0xc]
call fcn.10119590
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0xe30], ebx
call fcn.10119700
test eax, eax
je 0x10024d7a
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x101bc4d8
call fcn.10119b20
cmp eax, ebx
je 0x10024d7a
mov ecx, dword [esp + 8]
cmp ecx, 0x400
jae 0x10024d6d
mov edx, ecx
push esi
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]
pop esi
jmp 0x10024d71
mov dword [esp + 8], ebx
push eax
call fcn.1019a457
add esp, 4
lea ecx, [esp + 0xc]
call fcn.10119750
lea ecx, [esp + 0xc]
mov dword [esp + 0xe24], 0xffffffff
call fcn.10119680
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x10024e03
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 0x10237188
push 0x101bc4d8
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x10024dfb
cmp word [esp + 0xe1a], bx
jne 0x10024dfb
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.101496a0
add esp, 0xc
jmp 0x10024dff
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x10024e39
cmp eax, 4
jbe 0x10024e39
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x10024e39
cmp dword [esp + 0x14], 1
je 0x10024e39
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x10024e39
add eax, 0xfffffffc
cmp ecx, eax
ja 0x10024e39
mov eax, dword [esp + 0x1c]
mov dword [0x102383b0], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x10026bd0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
or eax, 0xffffffff
cmp ecx, 0x4000
ja 0x10026cad
je 0x10026ca7
cmp ecx, 0x20
ja 0x10026c2d
je 0x10026c27
dec ecx
cmp ecx, 0x14
ja case.0x10026c02.9
xor edx, edx
mov dl, byte [ecx + 0x10026de0]
jmp dword [edx*4 + 0x10026dbc]
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 0x10026c79
je case.0x10026c02.6
cmp ecx, 0x100
ja 0x10026c61
je 0x10026c5b
sub ecx, 0x40
je case.0x10026c02.7
sub ecx, 0x40
jne case.0x10026c02.9
mov eax, 8
ret
mov eax, 7
ret
mov eax, 9
ret
cmp ecx, 0x200
jne case.0x10026c02.9
mov eax, 0xa
ret
mov eax, 0xb
ret
cmp ecx, 0x800
je 0x10026ca1
cmp ecx, 0x1000
je 0x10026c9b
cmp ecx, 0x2000
jne case.0x10026c02.9
mov eax, 0xe
ret
mov eax, 0xd
ret
mov eax, 0xc
ret
mov eax, 0xf
ret
cmp ecx, 0x800000
ja 0x10026d45
je 0x10026d3f
cmp ecx, 0x80000
ja 0x10026d11
je 0x10026d0b
cmp ecx, 0x20000
ja 0x10026cf9
je 0x10026cf3
cmp ecx, 0x8000
je 0x10026ced
cmp ecx, 0x10000
jne case.0x10026c02.9
mov eax, 0x11
ret
mov eax, 0x10
ret
mov eax, 0x12
ret
cmp ecx, 0x40000
jne case.0x10026c02.9
mov eax, 0x13
ret
mov eax, 0x14
ret
cmp ecx, 0x100000
je 0x10026d39
cmp ecx, 0x200000
je 0x10026d33
cmp ecx, 0x400000
jne case.0x10026c02.9
mov eax, 0x17
ret
mov eax, 0x16
ret
mov eax, 0x15
ret
mov eax, 0x18
ret
cmp ecx, 0x10000000
ja 0x10026d8f
je 0x10026d89
cmp ecx, 0x4000000
ja 0x10026d7b
je 0x10026d75
cmp ecx, 0x1000000
je 0x10026d6f
cmp ecx, 0x2000000
jne case.0x10026c02.9
mov eax, 0x1a
ret
mov eax, 0x19
ret
mov eax, 0x1b
ret
cmp ecx, 0x8000000
jne case.0x10026c02.9
mov eax, 0x1c
ret
mov eax, 0x1d
ret
cmp ecx, 0x20000000
je 0x10026db3
cmp ecx, 0x40000000
je 0x10026dad
cmp ecx, 0x80000000
jne case.0x10026c02.9
mov eax, 0x20
ret
mov eax, 0x1f
ret
mov eax, 0x1e
ret

Function at 0x10026e00
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
dec ecx
cmp ecx, 0x21
ja case.0x10026e10.3
jmp dword [ecx*4 + 0x10026ed8]
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 0x1002ec30
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 0x1002ed7a
cmp ecx, 0x400
jne 0x1002ed7a
cmp edi, 0x2010010
jne 0x1002ed7a
cmp edx, ecx
jne 0x1002ed7a
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.100ecb78
mov edi, eax
add esp, 4
test edi, edi
je 0x1002ed7a
lea eax, [esp + 0xa8]
push 0x101fa184
push eax
call fcn.100ed039
add esp, 8
test eax, eax
je 0x1002ecee
mov word [esp + edi*2 + 0x9e], 0
jmp 0x1002ed0c
lea ecx, [esp + 0xa8]
push str._TM
push ecx
call fcn.100ed039
add esp, 8
test eax, eax
je 0x1002ed0c
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.10012960
add esp, 0x10
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10060a30
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.10060af0
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1002ed7a
lea eax, [esp + 8]
push eax
push str.SetSelfInfo_8___s_
push 0x101fa148
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
pop edi
pop esi
add esp, 0x2a8
ret
Function at 0x1002eda0
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 0x1002eff0
mov ebx, dword [esp + 0x41c]
test ebx, ebx
je 0x1002eff0
mov eax, dword [esp + 0x420]
test eax, eax
jle 0x1002eff0
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1002edfc
mov eax, dword [esi + 0x6d4]
push eax
push str.GetUserNameW_8_1___d_
push 0x101fa148
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
mov eax, dword [esi + 0xaec]
push edi
cmp eax, 1
je 0x1002ef7f
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.100ecb78
add esp, 4
test eax, eax
je 0x1002ee7c
lea ecx, [esp + 0xc]
lea edx, [esp + 0x214]
push ecx
push edx
call fcn.100ecb53
add esp, 8
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1002eeb8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x214]
push ecx
push edx
push edi
push str.GetUserNameW_8_2___x____s____s_
push 0x101fa148
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x1c
test edi, edi
je 0x1002ef33
lea eax, [esp + 0xc]
push eax
push 0x104
push 0xd
push edi
call ebx
push 2
lea ecx, [esp + 0x10]
push 0x101fa210
push ecx
call fcn.100ed139
add esp, 0xc
test eax, eax
je 0x1002eefb
push 2
lea edx, [esp + 0x10]
push 0x101fa208
push edx
call fcn.100ed139
add esp, 0xc
test eax, eax
jne 0x1002ef05
mov dword [esi + 0xaec], 1
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x1002ef33
mov ecx, dword [esi + 0xaec]
lea eax, [esp + 0xc]
push eax
push ecx
push str.GetUserNameW_8_3___d____s_
push 0x101fa148
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
cmp dword [esi + 0xaec], 1
je 0x1002ef5a
lea edx, [esp + 0x214]
push 0x101fa1c8
push edx
call fcn.100ed039
add esp, 8
test eax, eax
je 0x1002ef5a
mov word [eax], 0
lea eax, [esp + 0x214]
mov ecx, esi
push eax
call fcn.10060a30
lea ecx, [esp + 0x214]
push ecx
mov ecx, esi
call fcn.10060af0
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.100ecb95
mov eax, dword [0x102cb7c8]
add esp, 0xc
test eax, eax
pop edi
je 0x1002efdf
mov edx, dword [esi + 0xaec]
push ebx
push edx
push str.GetUserNameW_8_4___d____s_
push 0x101fa148
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
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 0x1003b010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101abd2a
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.10060010
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.100ec1ce
mov byte [esp + 0x18], 3
mov dword [ebx], 0x101bc3a4
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], 0x101c3a14
call fcn.1003b360
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 0x10045550
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 0x100456b4
mov ebp, dword [esp + 0x21c]
test ebp, ebp
je 0x100456b4
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x100456b4
push ebp
call fcn.100ecb78
add esp, 4
test eax, eax
jbe 0x100456b4
push 0xd
push ebp
call fcn.100ed78e
add esp, 8
test eax, eax
je 0x100456b4
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 8]
test eax, eax
je 0x100456b4
mov ecx, dword [0x102cb7c8]
test ecx, ecx
je 0x100455e7
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
push str.EIMQQComChatMessage__I64x
push str.eimqq
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
push ebx
lea ecx, [esi + 0x240]
call fcn.10065740
mov esi, eax
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x10045628
test esi, esi
je 0x1004560a
mov eax, dword [esi + 0xc70]
jmp 0x1004560c
xor eax, eax
push eax
push esi
push ebx
push str.EIMQQComChatMessage___x__x__x
push str.eimqq
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x1c
test esi, esi
je 0x100456b4
mov eax, dword [esi + 0xc70]
test eax, eax
je 0x100456b4
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 0x10045683
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.10060a30
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.10060af0
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x100456ac
lea eax, [esp + 0xc]
push ebp
push eax
push ebx
push str.EIMQQComChatMessage_____x__s__s
push str.eimqq
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x1c
push ebp
mov ecx, esi
call fcn.100465d0
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x100478d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101ac828
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.1010cef0
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push 0
call fcn.101984c0
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0xc], eax
jle 0x10047ad2
xor edi, edi
test eax, eax
jle 0x10047ad2
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, ebx
call fcn.100484b0
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.101058a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.10199d65
mov esi, dword [esp + 0x34]
xor ecx, ecx
mov eax, dword [esi - 8]
test eax, eax
jle 0x10047ab3
mov dx, word [esi]
cmp dx, 0xfffc
je 0x10047975
cmp dx, 0xd
jne 0x10047982
inc ecx
add esi, 2
cmp ecx, eax
jl 0x10047965
jmp 0x10047ab3
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, ebx
call fcn.100484b0
mov esi, dword [eax + 4]
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.10199d65
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push edx
push esi
push eax
mov ecx, ebp
call fcn.10047af0
push 0x20
push 0xfffc
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.10107fe0
push 0x101f7598
push 0x101f9cf0
lea ecx, [esp + 0x3c]
call fcn.101080e0
push 0x10237188
push 0x101ffe40
lea ecx, [esp + 0x3c]
call fcn.101080e0
push 0x10237188
push 0x101ffe08
lea ecx, [esp + 0x3c]
call fcn.101080e0
cmp dword [ebp + 0x1494], 1
jne 0x10047a6b
test edi, edi
jne 0x10047a6b
mov ecx, dword [esp + 0x34]
push 0x101ffa18
push ecx
call fcn.100ed039
add esp, 8
test eax, eax
jne 0x10047ab3
mov edx, dword [esp + 0x34]
push str.Be_wary_of_prize
push edx
call fcn.100ed039
add esp, 8
test eax, eax
jne 0x10047ab3
mov eax, dword [esp + 0x34]
push 0x101ff9e8
push eax
call fcn.100ed039
add esp, 8
test eax, eax
jne 0x10047ab3
mov ecx, dword [esp + 0x34]
push 0x101ff9bc
push ecx
call fcn.100ed039
add esp, 8
test eax, eax
jne 0x10047ab3
mov ecx, dword [esp + 0x3c]
push esi
mov eax, dword [ecx + 8]
push eax
call fcn.10198684
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.1010d580
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x10047ab3
mov eax, dword [esp + 0x34]
push eax
push esi
push str._DealArrString__AddChatLog__Dir:__d___Text:__s_
push str.eimqq
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10106110
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x10047925
pop esi
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10