joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cff50
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5704d0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x830
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x840], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push str.GetWeb
lea ecx, [ebp - 0x30]
call fcn.004cfa60
push 0x400000
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0xc]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x30]
call fcn.004cfa40
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cfc20
push 0x582b94
lea ecx, [ebp - 0x20]
call fcn.0041c8a0
push 0
lea eax, [ebp - 0x24]
push eax
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.004cfc70
cmp dword [ebp - 0x24], 0xc8
jne 0x4d00fc
mov byte [ebp - 0x828], 0
push 0x7e8
push 0
lea ecx, [ebp - 0x827]
push ecx
call fcn.0053ef70
add esp, 0xc
push 0x7e8
lea edx, [ebp - 0x828]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004cfbe0
test eax, eax
jbe 0x4d00fc
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x828]
push eax
push 0
push 0xfde9
call dword [0x577324]
mov dword [ebp - 0x830], eax
xor ecx, ecx
mov eax, dword [ebp - 0x830]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x4d009f
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x838], ecx
mov edx, dword [ebp - 0x838]
push edx
call fcn.0053e96b
add esp, 4
mov eax, dword [ebp - 0x830]
push eax
mov ecx, dword [ebp - 0x82c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x828]
push edx
push 0
push 0xfde9
call dword [0x577324]
mov eax, dword [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c900
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x83c], ecx
mov edx, dword [ebp - 0x83c]
push edx
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x82c], 0
jmp 0x4d000e
lea ecx, [ebp - 0x1c]
call fcn.004cfa10
lea ecx, [ebp - 0x30]
call fcn.004cfa10
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.004cfd30
lea ecx, [ebp - 0x30]
call fcn.004cfbc0
lea ecx, [ebp + 0xc]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4d0171
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret 8
Function at 0x4e6b90
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570660
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x830
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x840], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push str.GetWeb
lea ecx, [ebp - 0x30]
call fcn.004cfa60
push 0x400000
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0xc]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x30]
call fcn.004cfa40
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cfc20
push 0x582b94
lea ecx, [ebp - 0x20]
call fcn.0041c8a0
push 0
lea eax, [ebp - 0x24]
push eax
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.004cfc70
cmp dword [ebp - 0x24], 0xc8
jne 0x4e6d3c
mov byte [ebp - 0x828], 0
push 0x7e8
push 0
lea ecx, [ebp - 0x827]
push ecx
call fcn.0053ef70
add esp, 0xc
push 0x7e8
lea edx, [ebp - 0x828]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004cfbe0
test eax, eax
jbe 0x4e6d3c
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x828]
push eax
push 0
push 0xfde9
call dword [0x577324]
mov dword [ebp - 0x830], eax
xor ecx, ecx
mov eax, dword [ebp - 0x830]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x4e6cdf
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x838], ecx
mov edx, dword [ebp - 0x838]
push edx
call fcn.0053e96b
add esp, 4
mov eax, dword [ebp - 0x830]
push eax
mov ecx, dword [ebp - 0x82c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x828]
push edx
push 0
push 0xfde9
call dword [0x577324]
mov eax, dword [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c900
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x83c], ecx
mov edx, dword [ebp - 0x83c]
push edx
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x82c], 0
jmp 0x4e6c4e
lea ecx, [ebp - 0x1c]
call fcn.004cfa10
lea ecx, [ebp - 0x30]
call fcn.004cfa10
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.004cfd30
lea ecx, [ebp - 0x30]
call fcn.004cfbc0
lea ecx, [ebp + 0xc]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4e6db1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret 8
Function at 0x4f6374
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 4
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
mov dword [ebp - 0xc], eax
call esi
push 5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4f6469
xor eax, eax
cmp dword [ebp - 4], eax
je 0x4f63f2
jmp 0x4f63c4
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4f63f0
push dword [ebp - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x4f63ea
and dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4f63c2
xor eax, eax
push eax
push eax
push eax
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4f6469
test eax, eax
je 0x4f6476
cmp dword [edi + 0x28], 0x10
jne 0x4f6426
mov eax, dword [ebp + 8]
cmp dword [edi + 0x24], eax
jne 0x4f6426
push 1
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [edi]
lea eax, [edi + 0x24]
push eax
mov ecx, edi
call dword [edx]
test eax, eax
jne 0x4f644e
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [edi + 0x28], 0x12
je 0x4f6476
lea eax, [edi + 0x24]
push eax
call fcn.004f5977
add esp, 4
test eax, eax
je 0x4f6469
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x4f63b9
push 1
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x28], 0x12
jne 0x4f6495
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [edi + 0x2c]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4f9fa2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 8
call fcn.0053e4e7
pop ecx
test eax, eax
jne 0x4f9fb4
leave
ret
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0x10]
push eax
push 0x4f9f82
push 0
push 0
call fcn.0054be74
add esp, 0x18
leave
ret

Function at 0x4fa7cf
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x4fa7e5
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x4fa7f1
or edi, 1
push 1
call esi
test ax, ax
jns 0x4fa7fd
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4fa809
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x4fa815
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x509b4a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x148]
call fcn.004f9c16
mov edi, dword [ebp + 8]
test eax, eax
jle 0x509b9b
push dword [ebp - 4]
lea ecx, [esi + 0x148]
call fcn.004f9c39
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
test al, al
jne 0x509c2d
inc dword [ebp - 4]
lea ecx, [esi + 0x148]
call fcn.004f9c16
cmp dword [ebp - 4], eax
jl 0x509b6b
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push 0xfffffffffffffff0
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi]
cmp dword [edi], ecx
je 0x509bc8
cmp ebx, ecx
jne 0x509c83
test eax, 0x40000000
je 0x509c83
mov edx, dword [edi + 8]
mov edi, dword [edi + 4]
sub edi, 0x100
je 0x509c8c
sub edi, 4
je 0x509c31
dec edi
dec edi
jne 0x509c83
xor eax, eax
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
push edx
stosw word es:[edi], ax
call fcn.0054c037
pop ecx
mov ecx, dword [esi + 0x70]
push 0x80000014
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x50871a
call dword [eax + 0x1cc]
mov esi, eax
test esi, esi
je 0x509c83
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1a4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov al, 1
jmp 0x509c85
cmp dword [esi + 0x74], 0
je 0x509c83
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x28], 0
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x10], dx
mov dword [ebp - 0x14], eax
call fcn.004fa7cf
mov word [ebp - 0xe], ax
call dword [0x577248]
mov ecx, dword [esi + 0x74]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
cmp edx, 9
jne 0x509c83
cmp dword [esi + 0x74], 0
je 0x509ce5
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x509ce5
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x509ce5
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
push 0x59cc7c
call dword [eax + 8]
push eax
call fcn.00548b1f
pop ecx
pop ecx
test eax, eax
je 0x509ce5
mov eax, dword [esi + 0x74]
test eax, eax
je 0x509cda
lea ecx, [eax - 8]
jmp 0x509cdc
xor ecx, ecx
call fcn.005253bc
test al, al
jne 0x509c83
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.005099a3
jmp 0x509c2d
Function at 0x525dfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x298], ebx
je 0x525e67
cmp dword [ebp + 8], 0x100
jne 0x525e56
cmp word [ebp + 0xc], 0xd
jne 0x525e56
cmp byte [esi + 0x29e], bl
je 0x525e3a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x525e56
cmp byte [esi + 0x29f], bl
jne 0x525e56
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
je 0x525e52
push ebx
push ebx
push ebx
lea eax, [esi + 8]
push str.return
push eax
call fcn.0050969e
xor eax, eax
jmp 0x525e6a
mov eax, dword [esi + 0x298]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x52ad49
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
je 0x52ad75
mov ecx, dword [esi + 0x10]
add ecx, 8
mov eax, dword [ecx]
push 0
call dword [eax + 0x18]
mov ecx, eax
call fcn.00507f26
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x52adc7
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
call fcn.00544280
mov eax, esp
test eax, eax
je 0x52adc7
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
leave
ret 0x10
Function at 0x52c8df
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
push edi
je 0x52c989
cmp dword [esi + 0x10], 0
je 0x52c989
mov eax, dword [esi]
call dword [eax + 0x1c]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x52c989
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00544280
mov ebx, esp
test ebx, ebx
je 0x52c989
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
mov edi, 0xe0
push ebx
add ecx, edi
call fcn.0041cf20
test eax, eax
je 0x52c989
mov ecx, dword [esi + 0x10]
push ebx
add ecx, edi
call fcn.0041dca0
mov eax, dword [esi + 0x10]
xor edx, edx
cmp eax, edx
je 0x52c96c
add eax, 8
jmp 0x52c96e
xor eax, eax
mov ecx, dword [esi + 0x10]
push edx
push edx
push edx
push str.textchanged
add ecx, 8
push eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, eax
call fcn.0050969e
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
leave
ret 0x10

Function at 0x52e500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, esi
mov edx, eax
call fcn.0052d465
test al, al
je 0x52e552
cmp byte [ebp + 8], 0
je 0x52e552
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x11], 1
je 0x52e534
push edx
call fcn.0052e233
jmp 0x52e538
mov byte [esi + 0x10], 1
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x52e56e
push 4
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x52e56e
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x52e56a
push 0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x11], 0
pop esi
pop ebp
ret 8
Function at 0x53caba
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0xc]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x53cb36
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00544280
mov dword [ebp - 8], esp
test esp, esp
je 0x53cb5e
push edi
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 8]
test eax, eax
je 0x53cb19
push dword [ebp - 8]
lea ecx, [eax + 0xd8]
call fcn.0041dca0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0x10
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 8], 0
je 0x53cb5e
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0xffffffffffffffff
call dword [eax + 0x148]
mov ecx, dword [esi + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.killfocus
call fcn.005025c4
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
leave
ret 0x10

Function at 0x53cb74
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 4], 0
je 0x53cbee
mov eax, dword [edi]
call dword [eax + 0xc]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x53cbee
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
call fcn.00544280
mov ebx, esp
test ebx, ebx
je 0x53cbee
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 8]
test eax, eax
je 0x53cbee
push ebx
lea ecx, [eax + 0xd8]
call fcn.0041dca0
mov ecx, dword [edi + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.textchanged
call fcn.005025c4
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
leave
ret 0x10
Function at 0x100771a
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1008160
call fcn.01007a84
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1009858
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100752f
cmp eax, esi
jne 0x1007522
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1007532
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1007509
xor esi, esi
inc esi
mov eax, dword [0x1009854]
cmp eax, esi
jne 0x1007545
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1007580
mov eax, dword [0x1009854]
test eax, eax
jne 0x100757a
mov dword [0x1009854], esi
push 0x10011fc
push 0x10011f0
call fcn.01007486
pop ecx
pop ecx
test eax, eax
je 0x1007580
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100764a
mov dword [0x1009520], esi
mov eax, dword [0x1009854]
cmp eax, esi
jne 0x10075a4
push 0x10011ec
push 0x10011dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1009854], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10075b1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1009864], ebx
je 0x10075d2
push 0x1009864
call fcn.010079f9
pop ecx
test eax, eax
je 0x10075d2
push ebx
push 2
push ebx
call dword [0x1009864]
push dword [0x1009508]
push dword [0x100950c]
push dword [0x1009504]
call fcn.01007102
add esp, 0xc
mov dword [0x100951c], eax
cmp dword [0x1009510], ebx
jne 0x1007630
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1009520], ebx
jne 0x100763e
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100951c]
call fcn.01007ac9
ret
call fcn.01007bd1
jmp 0x10074e7
Function at 0x12d4082
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x12d40ce
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x12d40c8
mov ecx, dword [0x13147f8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x12d40bc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x12d40a1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x12d40ca
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x12d5c53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x12d5cbf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x12d5d08
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.012ef100
add esp, 8
test eax, eax
jne 0x12d5d06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x12d5d0a
jmp 0x12d5cb6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12de8fa
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.012d8337
add esp, 4
and eax, 0xff
test eax, eax
je 0x12de983
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.012e9820
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x12de981
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x12de981
jmp 0x12de983
jmp 0x12de903
mov esp, ebp
pop ebp
ret

Function at 0x12dedf3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x1315404]
test eax, eax
jne 0x12dee07
call fcn.012ded24
xor ecx, ecx
mov cl, byte [0x1315401]
test ecx, ecx
jne 0x12dee8e
xor edx, edx
mov dl, byte [0x1315400]
test edx, edx
jne 0x12dee8e
cmp dword [0x131560c], 0
je 0x12dee69
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x131560c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x131560c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x131560c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x12dee8e
push 0x10001
push 0x1315404
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x12dee8e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret