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

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.1009c5a0
mov eax, dword [0x102acd68]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x1009bfa0
push edi
push str.DoSkypeMessageCopy_1___08x_
push str.skype
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
test edi, edi
je 0x1009c172
push 0x102a9158
push edi
mov dword [0x102a914c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x102a914c]
mov ecx, esi
push eax
call fcn.1009c180
test eax, eax
je 0x1009c172
mov ecx, esi
call fcn.1000da00
test eax, eax
je 0x1009bfe9
mov ecx, dword [0x102a9150]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x102acd68]
test eax, eax
je 0x1009c018
mov edx, dword [0x102a9150]
mov eax, dword [0x102a914c]
push edx
push eax
push str.DoSkypeMessageCopy_2__CopyWnd:__08x___TmpWnd:__08x_
push str.skype
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esi + 0xf0]
call fcn.10064f60
test eax, eax
je 0x1009c172
mov edx, dword [0x102335cc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [0x102335c8]
push edx
push ecx
mov ecx, eax
call fcn.100a3e00
test eax, eax
jne 0x1009c070
push eax
mov eax, dword [esi + 0x1c]
push 0x1f4
push 4
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
mov dword [0x102a9154], 0
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x102a9164]
mov esi, dword [0x102a915c]
sub ecx, esi
mov dword [0x102a9154], eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld qword [0x102335c8]
fmul qword [0x101c0860]
fsubp st(1)
call fcn.100eaf90
mov edx, dword [0x102a9160]
mov si, ax
mov eax, dword [0x102a9158]
and esi, 0xffff
sub edx, eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fld qword [0x102335c8]
fmul qword [0x101bfdd8]
shl esi, 0x10
fsubp st(1)
call fcn.100eaf90
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xffff
or esi, eax
mov eax, dword [0x102a914c]
push esi
push 1
push 0x201
push eax
call edi
mov ecx, dword [0x102a914c]
push esi
push 1
push 0x202
push ecx
call edi
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 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x43
call esi
push 0
push 2
push 0
push 0x43
call esi
push 0
push 2
push 0
push 0x11
call esi
mov eax, dword [0x102acd68]
test eax, eax
je 0x1009c172
push str.DoSkypeMessageCopy_3___
push str.skype
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x10
pop edi
pop esi
ret 4

Function at 0x1009c3b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x102acd68]
test eax, eax
je 0x1009c3d8
mov eax, dword [0x102a9150]
push eax
push str.SkypeDestroyTmpWnd____x_
push str.skype
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov eax, dword [0x102a9150]
test eax, eax
je 0x1009c3f4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x102a9154], 0
ret
Function at 0x100a9c80
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x102acd68]
sub esp, 0xa4
test eax, eax
push ebx
push esi
mov esi, dword [esp + 0xb0]
push edi
mov edi, ecx
je 0x100a9cb5
push esi
push str.TIMChangeSession____08x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
test esi, esi
je 0x100a9d9e
push esi
lea ecx, [edi + 0x294]
xor ebx, ebx
call fcn.10064f20
test eax, eax
je 0x100a9d7b
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], bx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x50
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x102acd68]
test eax, eax
je 0x100a9d1f
lea ecx, [esp + 0xc]
push ecx
push 0x102a91d8
push str.TIMChangeSession_1___s____s_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
lea edx, [esp + 0xc]
push edx
call fcn.100e9a88
mov esi, eax
add esp, 4
test esi, esi
je 0x100a9d7b
push esi
lea eax, [esp + 0x10]
push 0x102a91d8
push eax
call fcn.100ea049
add esp, 0xc
test eax, eax
je 0x100a9d7b
mov ecx, 0x28
xor eax, eax
mov edi, 0x102a91d8
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x102a91d8
stosw word es:[edi], ax
call fcn.100e9aa5
add esp, 0xc
mov ecx, 0x102a96e8
call fcn.100ccee0
mov ebx, 1
mov eax, dword [0x102acd68]
test eax, eax
je 0x100a9d9e
push ebx
push str.TIMChangeSession____d_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
pop edi
pop esi
pop ebx
add esp, 0xa4
ret 4
Function at 0x100aa230
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x102acd68]
test eax, eax
je 0x100aa258
mov eax, dword [0x102a91ac]
push eax
push str.TIMDestroyTmpWnd____x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov eax, dword [0x102a91ac]
test eax, eax
je 0x100aa288
push 0
push 0
mov ecx, 0x102a96e8
call fcn.100cce90
mov ecx, dword [0x102a91ac]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x102a91b0], 0
ret

Function at 0x100aa390
Capabilities:
Check for time delay via gettickcount
Get graphical window text

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
push 0x50
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc4]
lea eax, [esp + 0x1c]
push eax
push edi
mov ebp, 1
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x102acd68]
test eax, eax
je 0x100aa3f1
lea ecx, [esp + 0x18]
push ecx
push str.TIMDealCtrlAC___hwnd___s_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
push edi
mov ecx, ebx
call fcn.100a9db0
test eax, eax
je 0x100aa504
lea edx, [esp + 0x18]
push 0x101f8e98
push edx
call fcn.100eb5ce
add esp, 8
test eax, eax
je 0x100aa504
mov eax, dword [esp + 0xc4]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 3
je 0x100aa474
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 8
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
mov eax, dword [0x102acd68]
test eax, eax
je 0x100aa467
mov ecx, dword [esp + 0x14]
push ecx
push str.TIMDealCtrlAC_1___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
call esi
sub eax, dword [esp + 0x14]
cmp eax, 0x3e8
jb 0x100aa4df
call esi
mov esi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x100aa4a6
mov edx, dword [0x102a9284]
mov eax, dword [ebx + 0x60]
push edx
push esi
push eax
push str.TIMDealCtrlAC_2___d____d__d_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x1c
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x100aa509
mov edx, dword [0x102a9284]
mov ecx, esi
sub ecx, edx
cmp ecx, 0xbb8
jbe 0x100aa509
mov dword [0x102a9284], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push edi
mov ecx, 0x102a96e8
call fcn.100ccbe0
mov ebp, 3
jmp 0x100aa509
mov eax, dword [0x102acd68]
test eax, eax
je 0x100aa52c
push edi
push str.TIMDealCtrlAC_is_input___x_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
jmp 0x100aa509
mov ebp, 2
mov eax, dword [0x102acd68]
test eax, eax
je 0x100aa52c
push ebp
push str.TIMDealCtrlAC____d_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8
Function at 0x100ab350
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x102acd68]
sub esp, 0xa4
test eax, eax
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
push esi
mov esi, dword [esp + 0xb4]
mov ebp, ecx
je 0x100ab38d
push ebx
push esi
push str.TIMDealCtrlMessage____x____s_
push 0x101f8e98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
test esi, esi
je 0x100ab3ef
test ebx, ebx
je 0x100ab3ef
push ebx
call fcn.100e9a88
add esp, 4
test eax, eax
je 0x100ab3ef
push edi
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
push 0x50
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
push ecx
call fcn.100e9a88
add esp, 4
test eax, eax
pop edi
je 0x100ab3ef
lea edx, [esp + 0xc]
mov ecx, ebp
push edx
call fcn.100ab2b0
test eax, eax
je 0x100ab3ef
push ebx
mov ecx, eax
call fcn.100ac830
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 8
Function at 0x100b0880
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2a8
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xd0]
push eax
call fcn.100e9a88
add esp, 4
test eax, eax
jne 0x100b0954
mov edx, dword [esi + 8]
mov ecx, 0x81
lea edi, [esp + 0xaa]
mov word [esp + 0xa8], ax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xa8]
push ecx
push 0x104
push 0xd
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0xa8]
push eax
call fcn.100e9a88
add esp, 4
test eax, eax
je 0x100b0954
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x50
push ecx
lea edx, [esp + 0xb0]
push 0xffffffffffffffff
push edx
stosw word es:[edi], ax
call fcn.10012bb0
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.100602c0
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10060380
mov eax, dword [0x102acd68]
test eax, eax
je 0x100b0954
lea edx, [esp + 8]
push edx
push str._TM___2008___OppoInfo___user___s
push str.IMCD
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
pop edi
pop esi
add esp, 0x2a8
ret
Function at 0x100bd6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101af694
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.1005f8a0
xor ebx, ebx
lea edi, [esi + 0x128c]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], edi
call fcn.100e90de
mov byte [esp + 0x18], 1
mov dword [edi], 0x101b83ec
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x12ac]
mov byte [esp + 0x18], 2
mov dword [esp + 0x34], eax
mov byte [esp + 0x18], 3
mov dword [eax], method.CCommandLineInfo.virtual_0
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov byte [esp + 0x18], 4
mov ecx, esi
mov dword [esi], 0x101c0c90
call fcn.100bd940
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 0x100c4180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x308
mov edx, dword [esp + 0x30c]
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x10]
push edi
cmp eax, esi
je 0x100c41a3
cmp edx, esi
je 0x100c4332
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
cmp ecx, 0x20001
jne 0x100c41d5
cmp eax, 0x40000
jne 0x100c41d5
mov eax, dword [ebx + 8]
cmp edx, esi
mov dword [ebx + 0x10], eax
je 0x100c4332
pop edi
mov dword [ebx + 0x10], edx
pop esi
pop ebx
add esp, 0x308
ret 4
cmp ecx, 0x20004
jne 0x100c41e8
cmp eax, 0x40000
je 0x100c4332
cmp ecx, 0x20002
jne 0x100c4233
cmp eax, 0x40000
jne 0x100c4233
mov ecx, dword [ebx + 8]
push esi
push str.Edit
push esi
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
cmp edi, esi
je 0x100c4332
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test ah, 8
je 0x100c4332
mov dword [ebx + 0x10], edi
pop edi
pop esi
pop ebx
add esp, 0x308
ret 4
cmp ecx, 0x10001
jne 0x100c4332
cmp eax, 0x40000
jne 0x100c4332
mov eax, 2
push esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov ecx, 0xa9
xor eax, eax
lea edi, [esp + 0x74]
push esi
mov dword [esp + 0x74], esi
push esi
push 1
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
lea edx, [esp + 0x1c]
push 3
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], str.32770
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x10000000
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], str.Static
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], str.Button
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], esi
call fcn.1001dda0
mov edx, dword [esp + 0x8c]
mov eax, 1
add esp, 0x20
cmp edx, eax
jl 0x100c4332
lea ecx, [esp + 0x70]
cmp dword [ecx], esi
jne 0x100c432b
inc eax
add ecx, 4
cmp eax, edx
jle 0x100c4313
pop edi
pop esi
pop ebx
add esp, 0x308
ret 4
mov edx, dword [esp + eax*4 + 0x6c]
mov dword [ebx + 0x10], edx
pop edi
pop esi
pop ebx
add esp, 0x308
ret 4
Function at 0x100c71c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101b0130
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
mov esi, ecx
je 0x100c7218
mov edi, dword [esp + 0x20]
test edi, edi
je 0x100c7218
push 0x103
push eax
lea eax, [esi + 4]
push eax
call fcn.100e9aa5
push 0x103
lea ecx, [esi + 0x20c]
push edi
push ecx
call fcn.100e9aa5
add esp, 0x18
mov dword [esi + 0x61c], 0
mov eax, dword [esi + 0x61c]
test eax, eax
jne 0x100c731d
lea edi, [esi + 4]
lea edx, [esp + 0x20]
push edi
push edx
call fcn.10001b90
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x18], 0
call fcn.101027a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 2
call fcn.10196a35
mov eax, dword [esp + 0x1c]
mov ebx, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100c727d
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x100c72af
lea edx, [esi + 0x414]
push ebx
lea eax, [esi + 0x20c]
push edx
push eax
push edi
push str.CIMMessageFile::Init_1___s____s____s____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x20
test ebx, ebx
je 0x100c730c
push 0x5c
lea ecx, [esp + 0x20]
call fcn.10103c90
lea ebx, [esi + 0x414]
mov ecx, 0x82
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
push 0x103
push ecx
push ebx
call fcn.100e9aa5
mov eax, dword [0x102acd68]
add esp, 0xc
test eax, eax
je 0x100c7305
push ebx
push str.CIMMessageFile::Init_2___s_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov ecx, esi
call fcn.100c7340
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.10103010
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x100cded0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
xor esi, esi
push edi
cmp ebx, esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 0xfe
je 0x100cdfa3
mov edi, dword [esp + 0x20]
cmp edi, esi
je 0x100cdfa3
push edi
call fcn.100e9a88
add esp, 4
test eax, eax
je 0x100cdfa3
push ebx
call fcn.100e9a88
mov ebp, eax
add esp, 4
shl ebp, 1
je 0x100cdfa3
push esi
push edi
call fcn.10120750
add esp, 8
mov ebx, eax
push esi
push 0x80
push 4
push esi
push 7
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100cdfaa
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x20], 0
test ebx, ebx
jne 0x100cdf74
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x1a]
push 2
push ecx
push esi
call edi
test eax, eax
je 0x100cdfa3
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push 0
push edx
push ebp
push eax
push esi
call edi
test eax, eax
je 0x100cdfa3
cmp dword [esp + 0x20], ebp
jne 0x100cdfa3
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x100ce900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101b0a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor eax, eax
push ebp
push esi
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
push edi
lea edx, [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], eax
push ecx
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
call fcn.10146810
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
cmp edi, ebx
mov dword [esp + 0x30], ebx
mov esi, dword [eax - 8]
je 0x100cea08
push edi
call fcn.100e9a88
add esp, 4
cmp eax, esi
jb 0x100cea08
push edi
lea ecx, [esp + 0x18]
call fcn.101027a0
lea ecx, [esp + 0x3c]
push esi
mov bl, 1
push ecx
mov ecx, eax
mov byte [esp + 0x38], bl
call fcn.101057e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.101031c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.10103010
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.10103010
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.10146960
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.10103010
mov eax, dword [esp + 0x38]
mov ecx, eax
mov dword [ecx], esi
mov dword [ecx + 4], edi
pop edi
pop esi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.10103010
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov dword [edx], esi
mov dword [edx + 4], edi
pop edi
pop esi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100d7610
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x102acd68]
sub esp, 0x148
test eax, eax
push esi
mov esi, dword [esp + 0x150]
push edi
mov edi, ecx
je 0x100d7644
push esi
push str.QNCheckIsMainWnd____08x_
push 0x102069cc
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
test esi, esi
jne 0x100d7655
pop edi
xor eax, eax
pop esi
add esp, 0x148
ret 4
push ebp
push esi
xor ebp, ebp
call fcn.1001ded0
mov esi, eax
add esp, 4
test esi, esi
je 0x100d782d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [edi + 4]
call fcn.10064f60
test eax, eax
je 0x100d7687
cmp dword [eax + 8], esi
je 0x100d7828
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0xb2]
mov word [esp + 0xb0], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb0]
push 0x50
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d76ed
mov ecx, dword [0x10232358]
lea edx, [esp + 0xb0]
push ecx
push edi
push edx
push str.QNCheckIsMainWnd_1___s____08x___d_
push 0x102069cc
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x1c
mov eax, dword [0x10232358]
shr eax, 0x10
cmp eax, 9
jne 0x100d7721
lea ecx, [esp + 0xb0]
push str.Qt5152QWindowIcon
push ecx
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x100d782d
test edi, edi
jne 0x100d782d
jmp 0x100d7746
lea edx, [esp + 0xb0]
push str.StandardFrame
push edx
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x100d782d
test edi, edi
jne 0x100d782d
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x50
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d778f
lea ecx, [esp + 0xc]
push ecx
push str.QNCheckIsMainWnd_2___s_
push 0x102069cc
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov edx, dword [0x10232358]
shr edx, 0x10
cmp edx, 9
jne 0x100d77f9
lea eax, [esp + 0xc]
push 0x101edf6c
push eax
call fcn.100e9f49
mov esi, eax
add esp, 8
test esi, esi
je 0x100d782d
push esi
call fcn.100e9a88
push 0x101edf6c
mov edi, eax
call fcn.100e9a88
add esp, 8
cmp edi, eax
jne 0x100d782d
mov ecx, 0x14
xor eax, eax
mov edi, 0x102a8f68
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
sub esi, ecx
shr esi, 1
push esi
push edx
push 0x102a8f68
call fcn.100e9aa5
add esp, 0xc
jmp 0x100d7828
lea eax, [esp + 0xc]
push 0x10216af4
push eax
call fcn.100e9f49
add esp, 8
test eax, eax
je 0x100d782d
push eax
call fcn.100e9a88
push 0x10216af4
mov esi, eax
call fcn.100e9a88
add esp, 8
cmp esi, eax
jne 0x100d782d
mov ebp, 1
mov eax, dword [0x102acd68]
test eax, eax
je 0x100d7850
push ebp
push str.QNCheckIsMainWnd____d_
push 0x102069cc
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov eax, ebp
pop ebp
pop edi
pop esi
add esp, 0x148
ret 4
Function at 0x10101500
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, eax
push esi
mov esi, dword [esp + 0x10]
and ebp, 0xf
shr eax, 4
inc eax
push edi
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10101559
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10101559
xor edi, edi
xor ebx, ebx
mov bx, word [esi]
add esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebp, edi
je 0x10101560
inc edi
lea esi, [esi + ebx*2]
cmp edi, 0x10
jl 0x1010153d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, ecx
xor eax, eax
mov edi, ebp
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec eax
push eax
push ebp
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1010155b
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
pop edi
dec ecx
pop esi
pop ebp
mov eax, ecx
pop ebx
ret

Function at 0x10107030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10107080
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10107080
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x10107085
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x1010706b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x10107092
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret