joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001dac0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.100f5350
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001dbab
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtDll.dll
call ebx
push 0x101c23dc
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 0x1001dbfd
mov edx, dword [esi + 0x30]
test edx, edx
je 0x1001dbfd
test eax, eax
je 0x1001dbfd
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.100f53a0
test eax, eax
je 0x1001db67
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 0x1001dbfd
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001dbfd
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1001dbfd
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1001dbfd
mov dword [esi + 0x38], 1
call fcn.100f53a0
test eax, eax
je 0x1001dbfd
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x1001dbfd
mov dword [esi + 0x38], 0
jmp 0x1001dbfd
push 0x101c23dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x30], eax
je 0x1001dbfd
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 0x1001dbfd
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1001dbfd
test eax, eax
je 0x1001dbfd
mov dword [esi + 0x3c], 1
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1001dc1d
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 0x1001dc32
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x1001dc32
mov ecx, esi
call fcn.1001dc40
pop edi
pop esi
ret
Function at 0x1001df30
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
test esi, esi
je 0x1001dfcc
push esi
call fcn.100c9da4
add esp, 4
test eax, eax
je 0x1001dfcc
cmp word [esi], 0x5c
jne 0x1001e016
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.100ca3d2
add esp, 0xc
test eax, eax
pop edi
jne 0x1001dfd8
lea eax, [esp + 4]
push str._SystemRoot_
push eax
call fcn.100c9d7f
lea ecx, [esi + 0x18]
lea edx, [esp + 0x26]
push ecx
push edx
mov word [esp + 0x2c], 0x5c
call fcn.100c9d7f
add esp, 0x10
lea eax, [esp + 4]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1001dfcc
cmp eax, 0x104
jbe 0x1001e016
xor eax, eax
pop esi
add esp, 0x208
ret 8
push 4
push 0x101c374c
push esi
call fcn.100ca3d2
add esp, 0xc
test eax, eax
jne 0x1001e016
lea ecx, [esi + 8]
push 0x103
lea edx, [esp + 8]
push ecx
push edx
call fcn.100c9dc1
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0x10]
dec eax
push eax
push ecx
push esi
call fcn.100c9dc1
add esp, 0x18
mov eax, 1
pop esi
add esp, 0x208
ret 8
Function at 0x100232e0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018484b
push eax
mov eax, dword [0x101fb744]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x10023528
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 [0x101fb744], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.10001b40
push eax
lea eax, [esp + 0x41c]
push 0x101be288
push eax
call fcn.100ca1f6
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x101fa2d8
push 0x10193658
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x100233da
cmp word [esp + 0xe1a], bx
jne 0x100233da
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.10124a50
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x100233de
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x100234f2
push esi
lea ecx, [esp + 0x10]
call fcn.100f66e0
mov dword [esp + 0xe28], ebx
mov esi, 0x20019
call fcn.100f52c0
test eax, eax
je 0x1002340a
mov esi, 0x20219
push esi
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.100f6850
test eax, eax
je 0x10023468
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
push 0x101936ec
call fcn.100f6c70
cmp eax, ebx
je 0x10023468
mov ecx, dword [esp + 0xc]
cmp ecx, 0x400
jae 0x1002345b
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 0x1002345f
mov dword [esp + 0xc], ebx
push eax
call fcn.10173959
add esp, 4
lea ecx, [esp + 0x10]
call fcn.100f68a0
lea ecx, [esp + 0x10]
mov dword [esp + 0xe28], 0xffffffff
call fcn.100f67d0
mov eax, dword [esp + 0xc]
pop esi
cmp eax, ebx
jne 0x100234f2
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 0x101fa2d8
push 0x101936ec
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x100234ea
cmp word [esp + 0xe1a], bx
jne 0x100234ea
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.10124a50
add esp, 0xc
jmp 0x100234ee
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x10023528
cmp eax, 4
jbe 0x10023528
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x10023528
cmp dword [esp + 0x14], 1
je 0x10023528
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x10023528
add eax, 0xfffffffc
cmp ecx, eax
ja 0x10023528
mov eax, dword [esp + 0x1c]
mov dword [0x101fb740], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x10024410
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
or eax, 0xffffffff
cmp ecx, 0x8000
ja 0x100244f9
je 0x100244f3
cmp ecx, 0x40
ja 0x10024473
je case.0x10024442.6
dec ecx
cmp ecx, 0x1f
ja case.0x10024442.9
xor edx, edx
mov dl, byte [ecx + 0x10024614]
jmp dword [edx*4 + 0x100245f0]
mov eax, 1
ret
mov eax, 0x21
ret
mov eax, 5
ret
mov eax, 2
ret
mov eax, 4
ret
mov eax, 6
ret
mov eax, 7
ret
cmp ecx, 0x800
ja 0x100244c5
je 0x100244bf
cmp ecx, 0x200
ja 0x100244ad
je 0x100244a7
cmp ecx, 0x80
je 0x100244a1
cmp ecx, 0x100
jne case.0x10024442.9
mov eax, 9
ret
mov eax, 8
ret
mov eax, 0xa
ret
cmp ecx, 0x400
jne case.0x10024442.9
mov eax, 0xb
ret
mov eax, 0xc
ret
cmp ecx, 0x1000
je 0x100244ed
cmp ecx, 0x2000
je case.0x10024442.7
cmp ecx, 0x4000
jne case.0x10024442.9
mov eax, 0xf
ret
mov eax, 0xe
ret
mov eax, 0xd
ret
mov eax, 0x10
ret
cmp ecx, 0x1000000
ja 0x10024589
je 0x10024583
cmp ecx, 0x100000
ja 0x10024559
je 0x10024553
cmp ecx, 0x40000
ja 0x10024541
je 0x1002453b
cmp ecx, 0x10000
je 0x10024535
cmp ecx, 0x20000
jne case.0x10024442.9
mov eax, 0x12
ret
mov eax, 0x11
ret
mov eax, 0x13
ret
cmp ecx, 0x80000
jne case.0x10024442.9
mov eax, 0x14
ret
mov eax, 0x15
ret
cmp ecx, 0x200000
je 0x1002457d
cmp ecx, 0x400000
je 0x10024577
cmp ecx, 0x800000
jne case.0x10024442.9
mov eax, 0x18
ret
mov eax, 0x17
ret
mov eax, 0x16
ret
mov eax, 0x19
ret
cmp ecx, 0x10000000
ja 0x100245c3
je 0x100245bd
cmp ecx, 0x2000000
je 0x100245b7
cmp ecx, 0x4000000
je 0x100245b1
cmp ecx, 0x8000000
jne case.0x10024442.9
mov eax, 0x1c
ret
mov eax, 0x1b
ret
mov eax, 0x1a
ret
mov eax, 0x1d
ret
cmp ecx, 0x20000000
je 0x100245e7
cmp ecx, 0x40000000
je 0x100245e1
cmp ecx, 0x80000000
jne case.0x10024442.9
mov eax, 0x20
ret
mov eax, 0x1f
ret
mov eax, 0x1e
ret

Function at 0x10024640
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
dec ecx
cmp ecx, 0x21
ja case.0x10024650.3
jmp dword [ecx*4 + 0x10024718]
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 0x10029880
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 0x100299ca
cmp ecx, 0x400
jne 0x100299ca
cmp edi, 0x2010010
jne 0x100299ca
cmp edx, ecx
jne 0x100299ca
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.100c9da4
mov edi, eax
add esp, 4
test edi, edi
je 0x100299ca
lea eax, [esp + 0xa8]
push 0x101c5168
push eax
call fcn.100ca359
add esp, 8
test eax, eax
je 0x1002993e
mov word [esp + edi*2 + 0x9e], 0
jmp 0x1002995c
lea ecx, [esp + 0xa8]
push str._TM
push ecx
call fcn.100ca359
add esp, 8
test eax, eax
je 0x1002995c
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.10012f10
add esp, 0x10
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.1005d700
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.1005d7c0
mov eax, dword [0x10274670]
test eax, eax
je 0x100299ca
lea eax, [esp + 8]
push eax
push str.SetSelfInfo_8___s_
push 0x101c4aa0
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
pop edi
pop esi
add esp, 0x2a8
ret
Function at 0x100299f0
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 0x10029c40
mov ebx, dword [esp + 0x41c]
test ebx, ebx
je 0x10029c40
mov eax, dword [esp + 0x420]
test eax, eax
jle 0x10029c40
mov eax, dword [0x10274670]
test eax, eax
je 0x10029a4c
mov eax, dword [esi + 0x6d4]
push eax
push str.GetUserNameW_8_1___d_
push 0x101c4aa0
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
mov eax, dword [esi + 0xaec]
push edi
cmp eax, 1
je 0x10029bcf
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.100c9da4
add esp, 4
test eax, eax
je 0x10029acc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x214]
push ecx
push edx
call fcn.100c9d7f
add esp, 8
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
mov eax, dword [0x10274670]
test eax, eax
je 0x10029b08
lea ecx, [esp + 0xc]
lea edx, [esp + 0x214]
push ecx
push edx
push edi
push str.GetUserNameW_8_2___x____s____s_
push 0x101c4aa0
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x1c
test edi, edi
je 0x10029b83
lea eax, [esp + 0xc]
push eax
push 0x104
push 0xd
push edi
call ebx
push 2
lea ecx, [esp + 0x10]
push 0x101c51f4
push ecx
call fcn.100ca39a
add esp, 0xc
test eax, eax
je 0x10029b4b
push 2
lea edx, [esp + 0x10]
push 0x101c51ec
push edx
call fcn.100ca39a
add esp, 0xc
test eax, eax
jne 0x10029b55
mov dword [esi + 0xaec], 1
mov eax, dword [0x10274670]
test eax, eax
je 0x10029b83
mov ecx, dword [esi + 0xaec]
lea eax, [esp + 0xc]
push eax
push ecx
push str.GetUserNameW_8_3___d____s_
push 0x101c4aa0
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
cmp dword [esi + 0xaec], 1
je 0x10029baa
lea edx, [esp + 0x214]
push 0x101c51ac
push edx
call fcn.100ca359
add esp, 8
test eax, eax
je 0x10029baa
mov word [eax], 0
lea eax, [esp + 0x214]
mov ecx, esi
push eax
call fcn.1005d700
lea ecx, [esp + 0x214]
push ecx
mov ecx, esi
call fcn.1005d7c0
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.100c9dc1
mov eax, dword [0x10274670]
add esp, 0xc
test eax, eax
pop edi
je 0x10029c2f
mov edx, dword [esi + 0xaec]
push ebx
push edx
push str.GetUserNameW_8_4___d____s_
push 0x101c4aa0
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
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 0x1002e980
Capabilities:
Extract http body

Disassembly:
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
and eax, 0x20000
and edx, 0x400
cmp eax, 0x20000
jne 0x1002e9e7
cmp edx, 0x400
jne 0x1002e9e7
mov eax, dword [ecx + 0xc70]
test eax, eax
je 0x1002e9e7
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
cmp edx, 0x1010004
jne 0x1002e9c4
cmp eax, 0x400
jne 0x1002e9c4
jmp fcn.1002d150
cmp edx, 0x1010002
jne 0x1002e9d3
cmp eax, 0x400
je 0x1002e9e2
cmp edx, 0x1010008
jne 0x1002e9e7
cmp eax, 0x400
jne 0x1002e9e7
jmp fcn.1002c7c0
ret

Function at 0x10030800
Capabilities:
Get graphical window text

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x800
xor eax, eax
push ebx
cmp edx, eax
mov ebx, ecx
je 0x1003089f
cmp dword [esp + 0x80c], eax
je 0x10030857
push esi
lea esi, [ebx + 0x169c]
push 0x101c31a4
mov ecx, esi
mov dword [ebx + 0x6d4], eax
call fcn.10173658
mov eax, dword [esi]
push 1
push eax
mov ecx, ebx
call fcn.1005e8d0
mov ecx, esi
call fcn.101731ef
pop esi
pop ebx
add esp, 0x800
ret 8
push edi
mov word [esp + 8], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0xa]
push 0x3ff
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.100c9da4
add esp, 4
test eax, eax
pop edi
jbe 0x1003089f
lea eax, [esp + 4]
lea ecx, [ebx + 0x169c]
push eax
call fcn.101733fe
pop ebx
add esp, 0x800
ret 8
Function at 0x10042f50
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 0x100430b4
mov ebp, dword [esp + 0x21c]
test ebp, ebp
je 0x100430b4
mov eax, dword [esi + 0x2a8]
test eax, eax
je 0x100430b4
push ebp
call fcn.100c9da4
add esp, 4
test eax, eax
jbe 0x100430b4
push 0xd
push ebp
call fcn.100caf3c
add esp, 8
test eax, eax
je 0x100430b4
mov eax, dword [esi + 0x2a0]
mov eax, dword [eax + 8]
test eax, eax
je 0x100430b4
mov ecx, dword [0x10274670]
test ecx, ecx
je 0x10042fe7
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
push str.EIMQQComChatMessage__I64x
push str.eimqq
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
push ebx
lea ecx, [esi + 0x29c]
call fcn.10062730
mov esi, eax
mov eax, dword [0x10274670]
test eax, eax
je 0x10043028
test esi, esi
je 0x1004300a
mov eax, dword [esi + 0xc70]
jmp 0x1004300c
xor eax, eax
push eax
push esi
push ebx
push str.EIMQQComChatMessage___x__x__x
push str.eimqq
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x1c
test esi, esi
je 0x100430b4
mov eax, dword [esi + 0xc70]
test eax, eax
je 0x100430b4
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 0x10043083
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.1005d700
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.1005d7c0
mov eax, dword [0x10274670]
test eax, eax
je 0x100430ac
lea eax, [esp + 0xc]
push ebp
push eax
push ebx
push str.EIMQQComChatMessage_____x__s__s
push str.eimqq
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x1c
push ebp
mov ecx, esi
call fcn.10043ff0
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x100452b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10186318
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.100ea040
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push 0
call fcn.10171d0b
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0xc], eax
jle 0x100454b2
xor edi, edi
test eax, eax
jle 0x100454b2
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, ebx
call fcn.10045e90
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.100e29f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.10173267
mov esi, dword [esp + 0x34]
xor ecx, ecx
mov eax, dword [esi - 8]
test eax, eax
jle 0x10045493
mov dx, word [esi]
cmp dx, 0xfffc
je 0x10045355
cmp dx, 0xd
jne 0x10045362
inc ecx
add esi, 2
cmp ecx, eax
jl 0x10045345
jmp 0x10045493
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, ebx
call fcn.10045e90
mov esi, dword [eax + 4]
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.10173267
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push edx
push esi
push eax
mov ecx, ebp
call fcn.100454d0
push 0x20
push 0xfffc
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.100e5130
push 0x101c31a4
push 0x101c43ec
lea ecx, [esp + 0x3c]
call fcn.100e5230
push 0x101fa2d8
push 0x101cb644
lea ecx, [esp + 0x3c]
call fcn.100e5230
push 0x101fa2d8
push 0x101cb60c
lea ecx, [esp + 0x3c]
call fcn.100e5230
cmp dword [ebp + 0x1494], 1
jne 0x1004544b
test edi, edi
jne 0x1004544b
mov ecx, dword [esp + 0x34]
push 0x101cb21c
push ecx
call fcn.100ca359
add esp, 8
test eax, eax
jne 0x10045493
mov edx, dword [esp + 0x34]
push str.Be_wary_of_prize
push edx
call fcn.100ca359
add esp, 8
test eax, eax
jne 0x10045493
mov eax, dword [esp + 0x34]
push 0x101cb1ec
push eax
call fcn.100ca359
add esp, 8
test eax, eax
jne 0x10045493
mov ecx, dword [esp + 0x34]
push 0x101cb1c0
push ecx
call fcn.100ca359
add esp, 8
test eax, eax
jne 0x10045493
mov ecx, dword [esp + 0x3c]
push esi
mov eax, dword [ecx + 8]
push eax
call fcn.10171ecf
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.100ea6d0
mov eax, dword [0x10274670]
test eax, eax
je 0x10045493
mov eax, dword [esp + 0x34]
push eax
push esi
push str._DealArrString__AddChatLog__Dir:__d___Text:__s_
push str.eimqq
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100e3260
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x10045305
pop esi
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x10047af0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x101865b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x24]
xor ebp, ebp
test edi, edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 8], ebp
je 0x10047d0c
push esi
push edi
call fcn.100c9da4
add esp, 4
test eax, eax
je 0x10047ce5
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10047ce5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10047ce5
mov ecx, 0x101fadf8
call fcn.1001aa40
mov ecx, 0x101fadf8
call fcn.1001b250
mov esi, eax
test esi, esi
je 0x10047ce5
push esi
call fcn.100c9da4
add esp, 4
test eax, eax
je 0x10047ce5
mov ecx, 0x101f9f48
call fcn.10002860
lea eax, [esp + 0x14]
mov ecx, 0x101f9f48
push eax
push esi
call fcn.10002a40
test eax, eax
jne 0x10047ce5
push 0x101fa2d8
lea ecx, [esp + 0x2c]
call fcn.100e29f0
push edi
lea ecx, [esp + 0x2c]
push str.SELECT_T1.hostname__t_t_t_t_t_tFROM_user_as_T1__t_t_t_t_t_tWHERE_T1.ip___s_AND_trim_T1.hostname______t_t_t_t_t_tLIMIT_1
push ecx
mov dword [esp + 0x2c], ebp
call fcn.100e6270
mov eax, dword [0x10274670]
add esp, 0xc
or ebp, 0xffffffff
test eax, eax
je 0x10047bed
mov edx, dword [esp + 0x28]
push edx
push str.GetNickNameFromDateBase_1___s_
push 0x101cb848
push ebp
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push 0
push eax
push ebp
push ecx
push edx
mov ecx, 0x101f9f48
call fcn.10002a60
test eax, eax
jne 0x10047cb3
mov eax, dword [esp + 0xc]
mov ecx, 0x101f9f48
push eax
call fcn.10002af0
cmp eax, 0x64
jne 0x10047cd4
mov ecx, dword [esp + 0xc]
push 0
push ecx
mov ecx, 0x101f9f48
call fcn.10002b40
mov esi, eax
mov eax, dword [0x10274670]
test eax, eax
je 0x10047c69
test esi, esi
mov eax, str.NULL
je 0x10047c50
mov eax, esi
push eax
push str.GetNickNameFromDateBase_2___s_
push 0x101cb848
push ebp
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
test esi, esi
je 0x10047cd4
push esi
call fcn.100c9da4
add esp, 4
test eax, eax
jbe 0x10047cd4
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
xor eax, eax
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 + 0x30]
mov ecx, dword [esp + 0x2c]
dec eax
push eax
push esi
push ecx
call fcn.100c9dc1
add esp, 0xc
mov dword [esp + 0x10], 1
jmp 0x10047cd4
mov eax, dword [0x10274670]
test eax, eax
je 0x10047cd4
push str.DealDateBase_1
push 0x101cb848
push ebp
push 0x10273ddc
call fcn.10119f10
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebp
call fcn.100e3260
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x10047cf9
push eax
mov ecx, 0x101f9f48
call fcn.10002b80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10047d0c
push eax
mov ecx, 0x101f9f48
call fcn.10002b60
mov ecx, dword [esp + 0x14]
mov eax, ebp
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc