joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443280
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4432b3
push esi
call fcn.00451630
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4432ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443339
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443322
mov eax, dword [esi + 8]
test eax, eax
je 0x4432d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44331e
cmp eax, 2
je 0x443322
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4432ca
cmp eax, 3
je 0x4432fd
cmp eax, 1
jne 0x4432ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4432ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4432ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443360
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443348
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443360
add esp, 4
pop esi
ret

Function at 0x443bd0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x443bf1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x443bf1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x443bf1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x45e940
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x45e9e3
test eax, eax
jbe 0x45e9e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45e9e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45e98e
xor esi, esi
jmp 0x45e994
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45e9bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00401e10
add esi, eax
push esi
mov ebx, esi
call fcn.00401e10
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45e9a0
pop ebp
test edi, edi
pop edi
jne 0x45e9e3
test ebx, ebx
je 0x45e9e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046c090
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45eb05
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45ec1d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45ec1d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047d472
mov esi, eax
test esi, esi
je 0x45ec1d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45ec1d
mov ecx, esi
call fcn.0045ea90
cmp edi, eax
jge 0x45ec1d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45eba3
mov dword [esp + 0x34], 1
jmp 0x45ebfe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45ec1d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045e070
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47de15
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47de4d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047be2c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047be04
jmp 0x47de59
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47f503
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47f545
call fcn.004851ec
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47f545
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47f53c
xor eax, eax
jmp 0x47f54d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047f553
pop edi
pop esi
pop ebx
ret 4
Function at 0x48571c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48574a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x485768
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00485682
jmp 0x485768
mov eax, dword [esi + 0x14]
test eax, eax
je 0x485768
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00485682
test edi, edi
mov eax, edi
jne 0x485752
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5e00f9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, ecx
test edi, edi
je 0x5e02d4
cmp dword [edi + 0x20], 0
je 0x5e02d4
cmp dword [edi + 0x24], 0
je 0x5e02d4
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x5e02d4
cmp dword [esi], edi
jne 0x5e02d4
mov eax, dword [esi + 4]
cmp eax, 0x2a
je 0x5e015d
cmp eax, 0x39
je 0x5e015d
cmp eax, 0x45
je 0x5e015d
cmp eax, 0x49
je 0x5e015d
cmp eax, 0x5b
je 0x5e015d
cmp eax, 0x67
je 0x5e015d
cmp eax, 0x71
je 0x5e015d
cmp eax, 0x29a
jne 0x5e02d4
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 2
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], 0
test eax, eax
jns 0x5e0192
neg eax
mov dword [esi + 0x18], eax
cmp eax, 2
jne 0x5e019c
lea ecx, [eax + 0x37]
jmp 0x5e01ab
test eax, eax
mov ecx, 0x71
mov edx, 0x2a
cmovne ecx, edx
mov dword [esi + 4], ecx
cmp eax, 2
jne 0x5e01b7
xor eax, eax
jmp 0x5e01c5
push 0
xor edx, edx
xor ecx, ecx
call fcn.005df9b9
add esp, 4
mov dword [edi + 0x30], eax
mov ecx, esi
lea eax, [esi + 0x94]
mov dword [esi + 0x28], 0
mov dword [esi + 0xb18], eax
lea eax, [esi + 0x988]
mov dword [esi + 0xb24], eax
lea eax, [esi + 0xa7c]
mov dword [esi + 0xb30], eax
xor eax, eax
mov dword [esi + 0xb20], 0x1002b24c
mov dword [esi + 0xb2c], 0x1002b770
mov dword [esi + 0xb38], 0x1002b260
mov word [esi + 0x16b8], ax
mov dword [esi + 0x16bc], eax
call fcn.005e46b9
mov esi, dword [edi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.005e7729
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x10029a82]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x10029a80]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x10029a84]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x10029a86]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
pop edi
mov eax, 0xfffffffe
pop esi
ret
Function at 0x43b656
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
mov ebx, dword [esp]
add esp, 4
add ecx, 0xf3331c9d
call fcn.0043b698
mov ecx, 0x6ecb88e7
or ecx, eax
mov ecx, 0x789b8bb4
xor dword [esi], ebx
and ecx, eax
add ecx, 0xf3b0b8e2
inc esi
mov eax, ecx
add eax, eax
cmp esi, edx
jne fcn.0043b656
mov ecx, 0xb9236408
ret
Function at 0x1003b1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor ebx, ebx
xor ecx, ecx
cmp esi, ebx
setne cl
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
inc ecx
mov dword [ebp - 4], ecx
push eax
jmp 0x1003c27
cmp eax, 0x80
je 0x1003c46
cmp dword [ebp + 0xc], ebx
je 0x1003b77
push ebx
push dword [ebp + 0xc]
call esi
cmp eax, ebx
je 0x1003c35
cmp eax, 0x80
je 0x1003c46
cmp dword [ebp + 0x14], ebx
je 0x1003bdf
push 3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1003bc9
cmp dword [ebp + 0x10], ebx
mov edi, dword [ebp - 4]
je 0x1003bb3
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x1003bf0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x1003bf0
push 0xff
push edi
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x1003bee
push edi
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
cmp edi, 0x102
je 0x1003c4d
or edi, 0xffffffff
cmp dword [ebp + 0x18], edi
je 0x1003c23
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 8]
jae 0x1003c0e
mov dword [ebp - 8], eax
mov edi, dword [ebp - 8]
mov ecx, eax
sub ecx, edi
cmp dword [ebp + 0x18], ecx
ja 0x1003c1e
xor edi, edi
jmp 0x1003c23
sub edi, eax
add edi, dword [ebp + 0x18]
push ebx
push dword [ebp + 8]
call esi
cmp eax, ebx
jne 0x1003b59
xor eax, eax
jmp 0x1003c52
push ebx
push dword [ebp + 8]
call esi
neg eax
sbb eax, eax
and eax, 0x8000ffff
jmp 0x1003c52
mov eax, 0x8000ffff
jmp 0x1003c52
mov eax, 0x800705b4
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x100436f
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4a0
mov eax, dword [0x10170f4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.01004204
xor ebx, ebx
test eax, eax
jne 0x100444b
cmp dword [ebp + 0x10], ebx
je 0x1004420
cmp edi, ebx
push 0x104
jne 0x10043c1
lea eax, [ebp - 0x294]
push eax
push 0x14
push dword [0x10171dc]
call fcn.01011dd1
jmp 0x10043ed
lea eax, [ebp - 0x4a0]
push eax
push 0x15
push dword [0x10171dc]
call fcn.01011dd1
push edi
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x88]
push eax
push 0x16
push dword [0x10171dc]
call fcn.01011dd1
push 0x14
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x294]
push eax
push dword [esi + 0x18]
call fcn.010129f1
cmp eax, 6
jne 0x1004435
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x100443a
lea ecx, [esi + 0x1c]
push ecx
push eax
call fcn.01005d85
cmp eax, ebx
jne 0x100443a
xor eax, eax
inc eax
jmp 0x100446c
push dword [esi + 0x14]
call fcn.01004198
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 1
mov dword [esi], ebx
mov dword [esi + 8], ebx
je 0x100446a
push eax
mov dword [esi + 0xc], ebx
call fcn.010034f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01010e5d
leave
ret 0xc
Function at 0x1004aa1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10170f4]
push ebx
xor ebx, ebx
cmp dword [0x1017158], 2
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
jne 0x1004bc6
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
push 1
mov esi, 0x20008
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jne 0x1004b17
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1004b7f
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
call fcn.01013952
mov eax, dword [ebp - 0x210]
cmp eax, ebx
jbe 0x1004b73
add eax, eax
push eax
call fcn.01010fcd
mov esi, eax
cmp esi, ebx
je 0x1004b73
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x20c]
call fcn.01013952
test eax, eax
je 0x1004b6d
push esi
push 0x10015c0
call edi
mov dword [ebp - 0x214], eax
push esi
call fcn.01010fe6
push dword [ebp - 0x20c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 0x21c], 0x101
call fcn.010120d0
test eax, eax
je 0x1004bb4
lea eax, [ebp - 0x208]
push eax
push 0x10015ac
call edi
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x214], ebx
pop edi
pop esi
je 0x1004bcb
cmp dword [ebp - 0x218], ebx
je 0x1004bcb
xor eax, eax
inc eax
jmp 0x1004bcd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01010e5d
leave
ret
Function at 0x100bfcb
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x10170f4]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
push 0x40
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
add eax, 6
push eax
push dword [0x10171dc]
mov esi, ecx
call fcn.01011dd1
lea eax, [ebp - 0x84]
push eax
push dword [esi + 4]
call fcn.01013386
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor eax, eax
cmp dword [ebp + 8], eax
push eax
je 0x100c100
push 0x401
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x406
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0x405
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0x3fb
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0x41f
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0x3e8
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0x3fc
push dword [esi + 4]
call edi
push eax
call ebx
cmp dword [esi + 0x224], 0
lea eax, [ebp - 0x84]
push 0x40
push eax
jle 0x100c0a6
push 8
jmp 0x100c0b5
cmp dword [esi + 0x220], 0
jle 0x100c0b3
push 9
jmp 0x100c0b5
push 7
push dword [0x10171dc]
call fcn.01011dd1
lea eax, [ebp - 0x84]
push eax
push 0x407
push dword [esi + 4]
call edi
push eax
call fcn.01013386
push 5
push 0x407
push dword [esi + 4]
call edi
push eax
call ebx
cmp dword [ebp + 0xc], 0
je 0x100c1b9
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x29
jmp 0x100c187
push 0x407
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
push 0x401
push dword [esi + 4]
call edi
push eax
call ebx
push 5
push 0x406
push dword [esi + 4]
call edi
push eax
call ebx
push 5
push 0x405
push dword [esi + 4]
call edi
push eax
call ebx
push 5
push 0x3fb
push dword [esi + 4]
call edi
push eax
call ebx
push 5
push 0x41f
push dword [esi + 4]
call edi
push eax
call ebx
push 5
push 0x3e8
push dword [esi + 4]
call edi
push eax
call ebx
push 5
push 0x3fc
push dword [esi + 4]
call edi
push eax
call ebx
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x28
push dword [0x10171dc]
call fcn.01011dd1
lea eax, [ebp - 0x84]
push eax
mov ebx, 0x3fe
push ebx
push dword [esi + 4]
call edi
push eax
call fcn.01013386
push 1
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call fcn.0100b28c
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.01010e5d
leave
ret 8
Function at 0x100cab1
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
push ebx
mov esi, ecx
call edi
push ebx
mov dword [ebp - 4], eax
mov dword [esi + 4], ebx
call fcn.010114ca
test eax, eax
mov dword [esi + 0x10], eax
je 0x100caf5
push 0
push 0x402
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xfffffffffffffffc
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ecx, ecx
cmp eax, ecx
mov dword [esi + 0x20], eax
je 0x100cb27
push 0x100e6de
push 0xfffffffffffffffc
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor ecx, ecx
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1d0], ecx
mov dword [esi + 0x1d4], ecx
mov dword [esi + 0x1d8], ecx
mov dword [esi + 0x1dc], ecx
mov dword [esi + 0x1e0], ecx
mov dword [esi + 0x1e8], ecx
push ebx
mov ecx, esi
call fcn.0100ac70
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x100cbe6
mov ebx, 0x10017d8
mov dword [ebp - 4], 7
mov eax, dword [esi + 0x1cc]
imul eax, eax, 0x1c
lea eax, [eax + esi + 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.0101124b
test eax, eax
je 0x100cba3
inc dword [esi + 0x1cc]
inc dword [esi + 0x1d0]
add ebx, 8
dec dword [ebp - 4]
jne 0x100cb74
mov dword [ebp - 4], 8
mov eax, dword [esi + 0x1d0]
imul eax, eax, 0x1c
lea eax, [eax + esi + 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.0101124b
test eax, eax
je 0x100cbdb
inc dword [esi + 0x1d0]
add ebx, 8
dec dword [ebp - 4]
jne 0x100cbb2
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x1ec]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x100cc42
mov eax, dword [esi + 0x1f4]
sub eax, dword [esi + 0x1ec]
mov dword [esi + 0x1d4], eax
mov eax, dword [esi + 0x1f8]
sub eax, dword [esi + 0x1f0]
mov dword [esi + 0x1d8], eax
lea eax, [ebp - 0x24]
push eax
push 0x3ec
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x100cc42
mov eax, dword [ebp - 0x20]
sub eax, dword [esi + 0x1f0]
mov dword [esi + 0x1dc], eax
push ebx
mov ecx, esi
call fcn.0100ad3d
test eax, eax
je 0x100cc5e
push ebx
mov ecx, esi
call fcn.0100ae40
push ebx
mov ecx, esi
call fcn.0100c878
xor eax, eax
mov ax, word [0x1017144]
push eax
push dword [0x1017158]
push 0x3fb
push ebx
call edi
push eax
call fcn.010114c2
xor eax, eax
mov ax, word [0x1017144]
push eax
push dword [0x1017158]
push 0x41f
push ebx
call edi
push eax
call fcn.010114c2
push 0x80
push 0x401
push ebx
call edi
push eax
call fcn.01011d08
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x100d036
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x238]
push edi
xor edi, edi
cmp eax, edi
jne 0x100d056
mov eax, 0x8000ffff
jmp 0x100d20b
inc dword [esi + 0x274]
cmp dword [ebp + 0xc], edi
je 0x100d0ae
push dword [ebp + 0xc]
push eax
call fcn.01007b4b
mov eax, dword [esi + 0x29c]
cmp eax, edi
je 0x100d09e
push 1
push edi
push 1
push 0xffffffffffffffff
push 2
push 0x420
push dword [esi + 0x238]
push eax
call fcn.0100821f
mov ecx, dword [esi + 0x29c]
push 3
push 3
push edi
call fcn.0101416b
mov ecx, esi
call fcn.0100b599
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
and dword [esi + 0x248], 0xfffffffe
push ebx
push edi
push edi
mov ecx, esi
call fcn.0100bfcb
mov eax, dword [esi + 0x248]
mov ecx, 0x400
test ecx, eax
jne 0x100d12c
or eax, ecx
mov ecx, esi
mov dword [esi + 0x248], eax
call fcn.0100b28c
push edi
mov ecx, esi
call fcn.0100ccba
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffff0000
push 0xffffffffffffffff
push 0x465
mov ebx, 0x401
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x1f4
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor edi, edi
mov ecx, dword [esi + 0x23c]
cmp ecx, edi
je 0x100d172
mov eax, dword [esi + 0x248]
mov ebx, 0x10000
test ebx, eax
jne 0x100d172
push edi
push 1
and eax, 0xfffdffff
push esi
mov dword [esi + 0x248], eax
call fcn.01010cee
test eax, eax
jne 0x100d16b
or dword [esi + 0x248], ebx
push esi
call fcn.0100ab11
jmp 0x100d172
and byte [esi + 0x24a], 0xfe
mov eax, dword [esi + 0x248]
test al, 2
pop ebx
jne 0x100d18c
or eax, 2
push esi
mov dword [esi + 0x248], eax
call fcn.0100ab11
mov eax, dword [esi + 0x248]
dec dword [esi + 0x274]
test ah, 0x19
jne 0x100d1d0
test al, al
js 0x100d1d0
test al, 4
jne 0x100d1b9
push dword [esi + 0x238]
or eax, 4
mov dword [esi + 0x248], eax
call fcn.0100646f
or byte [esi + 0x248], 0x80
push edi
push edi
push 0x40e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x248]
and eax, 0xffefffff
or eax, 0x100
mov dword [esi + 0x248], eax
lea eax, [esi + 0x18]
cmp dword [eax], edi
je 0x100d209
push edi
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test byte [esi + 0x24a], 0x20
jne 0x100d209
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x100d3cb
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
and edi, 0xfff0
mov eax, edi
sub eax, 0xf020
mov esi, ecx
je 0x100d433
sub eax, 0x10
je 0x100d3f2
sub eax, 0xf0
jne 0x100d42f
cmp edi, 0xf120
push ebx
mov ebx, 0xf030
jne 0x100d409
cmp dword [esi + 0x1e8], 0
jne 0x100d40d
cmp edi, ebx
jne 0x100d421
cmp dword [esi + 0x1e0], 0
jne 0x100d421
push 0
push 1
mov ecx, esi
call fcn.0100d216
xor eax, eax
cmp edi, ebx
sete al
pop ebx
mov dword [esi + 0x1e8], eax
xor eax, eax
jmp 0x100d460
cmp dword [esi + 0x278], 0
jne 0x100d45d
push 1
mov ecx, esi
call fcn.0100ca32
test eax, eax
je 0x100d42f
push 1
mov ecx, esi
call fcn.0100afd8
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret 0xc