joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002717c
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
push dword [eax + 0x580]
mov esi, dword [edi + 0xc]
call fcn.100270fe
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x1002730a
xor ecx, ecx
cmp word [ebp + 0xc], 0xffff
push ebx
sete cl
mov ebx, 0x2d0
mov esi, ecx
mov ecx, dword [edi + 0xc]
add ecx, ebx
call fcn.1000bd7c
cmp dword [eax + 8], esi
je 0x10027305
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 8]
add ecx, ebx
call fcn.1000bd7c
mov dword [eax + 8], esi
xor eax, eax
test esi, esi
sete al
push eax
mov eax, dword [edi + 8]
push dword [eax + 0x580]
mov eax, dword [edi + 0xc]
push 0x404
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
add ecx, ebx
call fcn.1000bd7c
mov esi, dword [eax]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [edi + 0xc]
add ecx, 0x1bc
call fcn.1000bd4f
mov esi, dword [ebp - 4]
xor eax, eax
cmp esi, eax
je 0x100272e8
cmp dword [esi + 0x2c], 7
jne 0x100272e8
cmp dword [esi + 0xd4], eax
je 0x100272e8
cmp word [ebp + 0xc], ax
jne 0x1002725b
push eax
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100272e8
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10027279
push 5
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 8]
add ecx, ebx
call fcn.1000bd7c
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [eax]
mov eax, dword [edi + 0xc]
push 0x419
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
je 0x100272e8
lea ecx, [ebp - 0x14]
push ecx
push eax
mov eax, dword [edi + 0xc]
push 0x41d
push dword [eax + 4]
call ebx
test eax, eax
je 0x100272e8
mov ecx, dword [esi + 0xd0]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 1
push ecx
push eax
mov eax, dword [ebp - 8]
sub eax, ecx
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [edi + 0xc]
call fcn.1001fde5
mov eax, dword [edi + 0xc]
push 0
push 0
push 0xbda
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop ebx
jmp 0x1002730f
mov eax, 0x80004005
pop edi
pop esi
leave
ret 8

Function at 0x10027315
Capabilities:
Capture webcam image

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esp + 0x10]
push 0x419
push dword [esi + 4]
call edi
lea ecx, [esi + 0x2d0]
call fcn.1000bd7c
cmp dword [eax + 8], 0
je 0x10027364
lea ebx, [esi + 0x2f4]
cmp dword [ebx], 0
je 0x10027364
push 0
push dword [esp + 0x10]
push 0x40c
push dword [esi + 4]
call edi
test eax, eax
je 0x10027364
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
jmp 0x10027366
xor eax, eax
pop edi
pop ebx
ret 4
Function at 0x10027e22
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 8], 0
push ebx
push esi
lea eax, [ebp - 8]
push eax
lea ecx, [edi + 0x1bc]
mov esi, edx
call fcn.1000bd4f
test al, al
je 0x10027eed
push 0x20
pop esi
push esi
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100c1480
mov ebx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], 0x48
push dword [ebx + 0x28]
push 0x43f
push dword [edi + 4]
call esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10027ef5
or byte [ebp - 0x17], 0x10
mov ecx, eax
movzx edx, word [ebp - 0x16]
cmp edx, ecx
je 0x10027eed
test eax, eax
jge 0x10027e98
xor eax, eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x28]
push 0x440
push dword [edi + 4]
call esi
mov eax, dword [ebx + 0x28]
xor ebx, ebx
push ebx
push eax
push 0x419
push dword [edi + 4]
call esi
cmp dword [edi + 0x2d4], eax
jbe 0x10027edd
mov esi, dword [ebp + 8]
cmp esi, ebx
jge 0x10027ecf
xor esi, esi
lea ecx, [edi + 0x2d0]
call fcn.1000bd7c
mov dword [eax + 4], esi
mov esi, edi
call fcn.1001fde5
push ebx
push ebx
mov eax, edi
call fcn.100197df
pop esi
xor eax, eax
pop ebx
leave
ret 4
and byte [ebp - 0x17], 0xef
test eax, eax
jge 0x10027e88
xor ecx, ecx
jmp 0x10027e8a

Function at 0x1002805e
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
lea eax, [ebp - 4]
push eax
lea ecx, [ebx + 0x1bc]
setne byte [ebp + 0xf]
call fcn.1000bd4f
test al, al
je 0x100280d1
push 0
push esi
push 0x419
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x4c], 8
mov eax, dword [ebx + 0x1b8]
mov esi, dword [eax + 0x580]
jb 0x100280b0
mov ecx, dword [edi + 0x38]
jmp 0x100280b3
lea ecx, [edi + 0x38]
mov ebx, dword [edi]
push 0
push ecx
mov edi, eax
call fcn.10013ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b8]
mov edi, dword [ebp + 0x10]
mov dword [eax + 0x580], esi
cmp byte [ebp + 0xf], 0
je 0x100280de
push 1
call fcn.10028031
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc

Function at 0x1002810a
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x100eb049
call fcn.100c74e5
and dword [ebp - 0x18], 0
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
mov eax, dword [esi + 0x1b8]
add eax, 0x5c0
cmp dword [eax + 0x18], 8
jb 0x10028142
mov eax, dword [eax + 4]
jmp 0x10028145
add eax, 4
lea ecx, [ebp - 0x2c]
push ecx
push eax
push 0x101365a0
call fcn.10039852
test eax, eax
jne 0x10028165
push str._nOnDisableToolbar_lookup_stringtable_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10028179
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10028171
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.1001abea
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100016e6
xor eax, eax
call fcn.100c7568
ret
Function at 0x1002c38f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
call fcn.1000670c
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
or dword [esp + 0x10], 0xffffffff
push 5
push dword [esp + 0x1c]
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x1002c44f
push 0xf0
push dword [esp + 0x1c]
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1002c3da
push eax
push esi
call edi
push eax
call ebp
and dword [esp + 0xc], 0
push ebx
push esi
call edi
test eax, eax
je 0x1002c434
push eax
call ebp
mov edi, eax
test edi, edi
je 0x1002c434
call fcn.1002c459
push 0
push 0x1002b054
push dword [esp + 0x24]
mov ebx, eax
push ebx
push esi
call fcn.1002c2f6
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002c416
cmp eax, 0xffffffff
jne 0x1002c420
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp ebx, edi
je 0x1002c43e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1002c43e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x1002c44f
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x1002c63f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
call fcn.1000670c
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
and dword [esp + 0x10], 0
push 5
push dword [esp + 0x1c]
push esi
call edi
mov ebp, eax
test ebp, ebp
je 0x1002c6fa
push 0xf0
push dword [esp + 0x1c]
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1002c68a
push eax
push esi
call edi
push eax
call ebx
and dword [esp + 0xc], 0
push ebp
push esi
call edi
test eax, eax
je 0x1002c6df
push eax
call ebx
mov edi, eax
test edi, edi
je 0x1002c6df
call fcn.1002c459
push 0
push 0x1002b054
push dword [esp + 0x24]
mov ebx, eax
push ebx
push esi
call fcn.1002c5ac
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002c6cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp ebx, edi
je 0x1002c6e9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1002c6e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x1002c6fa
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x1002d178
Capabilities:
Get file version info

Disassembly:
push 0x34
mov eax, 0x100e6fcd
call fcn.100c74e5
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x2c]
call fcn.1002d040
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002d1a0
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x1002d216
push esi
call fcn.100a2139
pop ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1002d20d
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002d1ca
lea eax, [ebp - 0x28]
push dword [ebp - 0x30]
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1002d20d
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x10107ca8
push dword [ebp - 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1002d20d
cmp dword [ebp - 0x38], 0
je 0x1002d20d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x34], 1
push dword [ebp - 0x30]
call fcn.100a212e
pop ecx
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100016e6
mov eax, dword [ebp - 0x34]
call fcn.100c7568
ret
Function at 0x1002f8c9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
push ebx
movsx ebx, ax
shr eax, 0x10
push esi
push dword [edi + 0x5c]
cwde
lea esi, [ebp - 0x18]
mov dword [ebp - 4], eax
call fcn.1002f4bf
push dword [ebp - 4]
mov eax, esi
push ebx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
pop esi
pop ebx
test eax, eax
je 0x1002f91e
push 0x1010ad68
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 0
jne 0x1002f934
lea ecx, [eax + 0x34]
push ecx
push dword [edi + 0x5c]
call fcn.1002f7c2
jmp 0x1002f934
push str._nmouseoutheader_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0x34
call fcn.1002faf8
xor eax, eax
inc eax
leave
ret 4

Function at 0x10030e6a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
cmp dword [ebp + 0x1c], ebx
jne 0x10030ee3
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x10030ea2
call fcn.1000670c
push dword [esi + 4]
mov ecx, esi
call fcn.10030476
mov eax, dword [ebp + 0x18]
xor edi, edi
inc edi
mov dword [eax], edi
mov eax, edi
jmp 0x10030ee5
xor edi, edi
inc edi
cmp eax, 2
jne 0x10030eee
mov eax, dword [esi + 0x18]
mov ebx, esi
mov dword [eax + 0x20], edi
call fcn.100301e4
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x10030e9e
xor ebx, ebx
push ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10032454
test eax, eax
jne 0x10030e9e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x10030f1e
mov dword [esp + 0xc], edi
cmp byte [esi + 0x12c], bl
jne 0x10030f05
xor eax, eax
jmp 0x10030f11
lea eax, [esp + 0xc]
push eax
mov eax, esi
call fcn.10030127
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [esp + 0xc], ebx
je 0x10030ec8
jmp 0x10030e9e
cmp eax, 0x202
jne 0x10030f41
call dword [sym.imp.USER32.dll_ReleaseCapture]
push str._nOnMouseUp
mov byte [esi + 0x12c], bl
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10030e96
cmp eax, 5
jne 0x10030ec8
mov dword [esp + 0xc], edi
cmp dword [esi + 0xe0], ebx
je 0x10030f5e
lea eax, [esp + 0xc]
push eax
call fcn.1003019f
jmp 0x10030f11
mov dword [esp + 0xc], edi
mov eax, edi
jmp 0x10030f11
Function at 0x10031c66
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push esi
push edi
je 0x10031c7e
cmp dword [ebx + 0x330], 0
mov byte [ebp + 0xb], 1
jne 0x10031c82
mov byte [ebp + 0xb], 0
movzx edi, byte [ebp + 0xb]
neg edi
sbb edi, edi
and edi, 5
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x358], 0
je 0x10031d2b
cmp byte [ebp + 0xb], 0
jne 0x10031ccc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10031d1b
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
jmp 0x10031d15
mov esi, ebx
call fcn.10031dd3
sub esp, 0x1c
lea eax, [ebx + 0x30c]
mov esi, esp
mov dword [ebp + 8], esp
push eax
call fcn.1000e554
mov ecx, dword [ebx + 0x358]
call fcn.1003004b
push 3
xor eax, eax
push eax
push eax
push eax
push eax
mov eax, dword [ebx + 0x358]
push dword [eax + 4]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x358]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x358]
push edi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
Function at 0x10034464
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 0x74]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push dword [ecx + 0x28]
mov dword [ebp - 0x48], eax
push 0x419
push eax
call edi
lea ecx, [ebp - 0x6c]
push ecx
push eax
push 0x41d
push dword [ebp - 0x48]
call edi
test eax, eax
je 0x10034561
lea eax, [ebp - 0x44]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
mov edi, eax
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 4]
mov dword [ebp - 0x48], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esi + 0x24]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x4c], eax
cmp byte [esi + 0x5c], bl
jne 0x10034508
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], eax
push dword [esi + 0x58]
push edi
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
call edi
push dword [esi + 0x28]
mov eax, dword [esi + 0x30]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [esi + 0x44]
push ecx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x48]
call ebx
push dword [esi + 0x54]
push dword [ebp - 0x48]
call edi
push dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x34]
push ecx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x48]
call ebx
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x44]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100bfae1
leave
ret
Function at 0x10034571
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x60], 0xffffffff
push edi
lea eax, [ebp - 0x1c]
push eax
jne 0x1003464b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
mov ecx, eax
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
add dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
mov edx, ecx
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
add dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [esi + 0x60], eax
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push 0xcc0020
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push edi
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
xor eax, eax
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 4]
push ebx
call esi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1003469b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 0x60]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push edi
call esi
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
push 0xcc0020
mov ebx, eax
xor eax, eax
push eax
push eax
push edi
push ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push ecx
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp + 0xc]
pop edi
xor eax, eax
inc eax
pop esi
mov dword [ecx], eax
pop ebx
leave
ret 8

Function at 0x100346aa
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xa0]
push edi
cmp eax, 0xffffffff
je 0x100346c0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xc8
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100346e3
push 0
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xa0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x9c]
call edi
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4
Function at 0x10034707
Capabilities:
Create thread

Disassembly:
push edi
lea eax, [esi + 0x64]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x68]
sub eax, ecx
xor edx, edx
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x6c]
lea edi, [esi + 0x9c]
cmp dword [edi], 0xffffffff
mov dword [esi + 0x40], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], edx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x5c], 1
jne 0x1003475b
push edx
push edx
push esi
push 0x10034118
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi], eax
xor eax, eax
pop edi
ret

Function at 0x1003537a
Capabilities:
Get graphical window text

Disassembly:
push 8
mov eax, 0x100e60ef
call fcn.100c747c
and dword [ebp - 0x14], 0
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.100013d8
and dword [ebp - 4], 0
mov eax, dword [edi + 0x4c]
add eax, 4
push dword [eax]
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x100353ed
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a2139
pop ecx
mov ebx, eax
mov eax, dword [edi + 0x4c]
push esi
add eax, 4
push ebx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
push ebx
call fcn.100013eb
push ebx
call fcn.100a212e
pop ecx
mov eax, dword [ebp - 0x10]
call fcn.100c7554
ret
Function at 0x10036c1e
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x1f48]
mov eax, 0x1fc8
call fcn.100c7ed0
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x1f44], eax
mov eax, dword [ebp + 0x1f50]
push ebx
xor ebx, ebx
push ebx
push ebx
push 0x10102458
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1f54]
push ebx
push str.AskToolbarv5
mov dword [ebp - 0x80], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x10036df7
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push edi
push 4
pop edi
push edi
lea ecx, [ebp - 0x74]
push ecx
push 2
push eax
mov dword [ebp - 0x74], 0xbb8
call esi
push edi
lea eax, [ebp - 0x74]
push eax
push 6
push dword [ebp - 0x60]
call esi
push edi
lea eax, [ebp - 0x74]
push eax
push 8
push dword [ebp - 0x60]
call esi
mov esi, dword [ebp - 0x6c]
mov eax, dword [esi]
push ebx
push SysReAllocStringLen
push ebx
push ebx
push eax
push dword [ebp - 0x60]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x64], eax
cmp eax, ebx
jne 0x10036cca
push dword [ebp - 0x60]
jmp 0x10036de6
push str.http:__
xor ecx, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], edi
call fcn.100286e6
cmp eax, 0xffffffff
je 0x10036d16
push ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x20000013
push dword [ebp - 0x64]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10036de3
cmp dword [ebp - 0x70], 0xc8
je 0x10036d16
cmp dword [ebp - 0x70], 0xc9
jne 0x10036de3
push 0x1f9f
lea eax, [ebp - 0x5b]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x5c], bl
call fcn.100c1480
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x1fa0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10036de3
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, 0xfde9
cmp dword [ebp - 0x68], ebx
je 0x10036de3
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
push ebx
push edi
call esi
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x78], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a2139
pop ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
push ebx
push edi
call esi
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
push dword [ebp - 0x6c]
call fcn.1003953c
push dword [ebp - 0x6c]
call fcn.100a212e
mov dword [esp], 0x1f9f
lea eax, [ebp - 0x5b]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x5c], bl
call fcn.100c1480
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x1fa0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10036d57
push dword [ebp - 0x64]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x60]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
mov ecx, dword [ebp + 0x1f44]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100bfae1
add ebp, 0x1f48
leave
ret 8