joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0170
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x76c500]
jne 0x4d017a
repz ret
jmp fcn.004d61ae

Function at 0x4e0ad6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x76c500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004d6888
and dword [ebp - 0x14], 0
cmp dword [0x831c30], 0
mov dword [ebp - 0x18], eax
jne 0x4e0b89
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4e0c31
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4e0c31
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x831c30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x831c34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x831c38], eax
call edi
push eax
call esi
mov dword [0x831c40], eax
test eax, eax
je 0x4e0b89
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x831c3c], eax
mov eax, dword [0x831c3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4e0be2
cmp dword [0x831c40], ecx
je 0x4e0be2
push eax
call esi
push dword [0x831c40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4e0be2
test ebx, ebx
je 0x4e0be2
call edi
test eax, eax
je 0x4e0bd9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4e0bd9
test byte [ebp - 8], 1
jne 0x4e0be2
or dword [ebp + 0x10], 0x200000
jmp 0x4e0c15
mov eax, dword [0x831c34]
cmp eax, dword [ebp - 0x18]
je 0x4e0c15
push eax
call esi
test eax, eax
je 0x4e0c15
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4e0c15
mov eax, dword [0x831c38]
cmp eax, dword [ebp - 0x18]
je 0x4e0c15
push eax
call esi
test eax, eax
je 0x4e0c15
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x831c30]
call esi
test eax, eax
je 0x4e0c31
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4e0c33
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0170
leave
ret
Function at 0x402b20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x488a98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00401f70
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402b80
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00402340
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401f70
cmp dword [esp + 0x28], 8
jb 0x402bcd
mov eax, dword [esp + 0x14]
push eax
call fcn.00469789
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
Function at 0x404df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x488e26
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xec]
xor ebx, ebx
push ebx
push ebx
mov edi, ecx
push 0x1009
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x14]
push ebp
push eax
xor esi, esi
call fcn.004046e0
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0xe4], ebx
call eax
test al, al
je 0x404f5e
lea ebx, [esi + 1]
lea ebp, [esi + 0x10]
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x404e8b
call fcn.00469ad4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x404e8f
mov eax, dword [eax]
jmp 0x404e91
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x404e9f
call fcn.00469ad4
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x64]
call fcn.004027e0
cmp byte [esp + 0x19], 0
mov byte [esp + 0xe4], bl
sete al
mov byte [esp + 0x19], al
test al, al
je 0x404f29
push 2
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x88]
call fcn.00402920
cmp dword [eax + 0x18], ebp
jb 0x404ee3
mov eax, dword [eax + 4]
jmp 0x404ee6
add eax, 4
push eax
push esi
push edi
call fcn.00432c20
add esp, 0xc
cmp dword [esp + 0x5c], ebp
jb 0x404f04
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00469789
add esp, 4
push edi
lea ecx, [esp + 0x64]
mov edx, esi
call fcn.00402dc0
add esp, 4
add esi, ebx
cmp byte [esp + 0x19], 0
mov byte [esp + 0x18], bl
sete al
mov byte [esp + 0x19], al
test al, al
jne 0x404ec4
lea ecx, [esp + 0x60]
mov byte [esp + 0xe4], 0
call fcn.00401dc0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x14]
call eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x14]
call eax
test al, al
jne 0x404e76
xor ebx, ebx
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x404f8b
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x404f82
mov edi, edi
mov ecx, esi
call fcn.00401dc0
add esi, 0x78
cmp esi, edi
jne 0x404f70
mov esi, dword [esp + 0x28]
push esi
call fcn.00469789
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00469789
add esp, 4
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.00469f7b
add esp, 0xd4
ret
Function at 0x405e10
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x8d4]
sub esp, 0x8d4
push 0xffffffffffffffff
push 0x489017
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4b38b4]
xor eax, ebp
mov dword [ebp + 0x8d0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x8dc]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x18], eax
cmp dword [esi + 0xc], eax
jbe 0x405e6d
call fcn.00469ad4
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x3c], eax
cmp edi, dword [esi + 0x10]
jbe 0x405e7f
call fcn.00469ad4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi]
push ecx
push edx
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.00403cc0
cmp byte [ebp + 0x8e0], bl
je 0x405ebb
lea ecx, [ebp - 0x5c]
push str.TrueCrypt_System_Favorite_Volumes.xml
push ecx
call fcn.0043ddd0
add esp, 8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
jmp 0x405f04
push str.Favorite_Volumes.xml
call fcn.004375f0
mov esi, eax
mov ecx, esi
add esp, 4
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
invalid
Function at 0x408c10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov dword [edi], 0
xor esi, esi
push esi
call ebx
test ax, ax
jge 0x408c3d
push ebp
push esi
call fcn.00407f60
add esp, 8
test eax, eax
je 0x408c3d
mov dword [edi], esi
inc esi
cmp esi, 0xff
jbe 0x408c25
pop esi
pop ebp
pop ebx
ret

Function at 0x40abc0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x560
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x55c], eax
push ebp
mov ebp, dword [esp + 0x568]
push esi
push 0x502
lea eax, [esp + 0x66]
push 0
push eax
mov byte [esp + 0x6c], 0x22
mov byte [esp + 0x6d], 0
call fcn.0046a470
add esp, 0xc
push 0x503
lea ecx, [esp + 0x65]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x60]
push 0x5c
push edx
call fcn.0046a760
mov esi, eax
add esp, 8
test esi, esi
je 0x40ad3c
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0046a470
mov ecx, dword [str.TrueCrypt_Format.exe_]
mov dword [esi + 1], ecx
mov edx, dword [0x48e6d8]
mov dword [esi + 5], edx
mov eax, dword [0x48e6dc]
mov dword [esi + 9], eax
mov ecx, dword [0x48e6e0]
mov dword [esi + 0xd], ecx
mov edx, dword [0x48e6e4]
mov dword [esi + 0x11], edx
mov ax, word [0x48e6e8]
lea ecx, [esp + 0x6c]
push ecx
mov word [esi + 0x15], ax
call fcn.004329a0
add esp, 0x10
test eax, eax
jne 0x40ac88
push str.VOL_CREATION_WIZARD_NOT_FOUND
call fcn.00432fe0
add esp, 4
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ac90
sub eax, edx
je 0x40acde
push edi
lea edi, [esp + 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40aca1
mov dx, word [0x48e6b0]
mov eax, ebx
mov word [edi], dx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40acb7
lea edi, [esp + 0x64]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40acc7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40ad28
push ebp
call fcn.00433e20
add esp, 4
pop esi
pop ebp
mov ecx, dword [esp + 0x55c]
xor ecx, esp
call fcn.00469f7b
add esp, 0x560
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov ecx, dword [esp + 0x564]
pop esi
pop ebp
xor ecx, esp
call fcn.00469f7b
add esp, 0x560
ret
Function at 0x40ad60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xd4
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebp
mov ebp, dword [esp + 0xdc]
push esi
push edi
push 0x41
lea eax, [esp + 0x14]
push eax
push ecx
push ebp
mov dword [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
call esi
mov eax, dword [0x4b8a60]
cmp eax, 1
jne 0x40adb1
mov dword [esp + 0xf4], ebx
jmp 0x40adbc
xor edi, edi
cmp eax, edi
jle 0x40ade3
cmp eax, 3
jg 0x40ade3
mov ecx, 0x10
lea esi, [esp + 0x10]
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x10
lea esi, [esp + 0x10]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
jmp 0x40ae18
mov eax, dword [esp + 0xec]
push 0x41
lea edx, [esp + 0x58]
push edx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov edx, dword [esp + 0xf0]
push 0x41
lea ecx, [esp + 0x9c]
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
cmp ebx, edi
jne 0x40ae31
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ae23
sub eax, edx
cmp eax, 1
jb 0x40ae8e
lea edx, [esp + 0x98]
lea ecx, [esp + 0x54]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40ae60
test al, al
je 0x40ae5c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40ae60
add ecx, 2
add edx, 2
test al, al
jne 0x40ae40
xor eax, eax
jmp 0x40ae65
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x40ae8e
cmp dword [esp + 0xf4], edi
jne 0x40ae92
lea eax, [esp + 0x54]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ae80
sub eax, edx
cmp eax, 1
jae 0x40ae92
mov dword [esp + 0xc], edi
lea edx, [esp + 0x10]
mov ecx, 0x41
mov esi, ecx
mov eax, edx
nop
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40aea0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
cmp ecx, edi
jne 0x40aeb0
lea edx, [esp + 0x54]
mov ecx, 0x41
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40aec6
nop
dec ecx
mov byte [edx], 0
inc edx
cmp ecx, edi
jne 0x40aed0
lea edx, [esp + 0x98]
mov ecx, 0x41
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40aef0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
cmp ecx, edi
jne 0x40af00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xe8]
push eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00469f7b
add esp, 0xd4
ret
Function at 0x40caa0
Capabilities:
Get graphical window text

Disassembly:
push 0x105
push 0x4b4e48
push 0x40a
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x4b4e48
call fcn.00440aa0
add esp, 4
test eax, eax
je 0x40caeb
cmp dword [0x4b8a60], 1
mov eax, str.MOUNTED_NO_PKCS5_PRF_CHANGE
je 0x40cae1
mov eax, str.MOUNTED_NOPWCHANGE
push eax
call fcn.00432f40
add esp, 4
ret
push 0x4b4e48
call fcn.0043e980
add esp, 4
test eax, eax
jne 0x40cb06
push esi
call fcn.00433e20
add esp, 4
ret
mov eax, dword [0x4dc3d0]
push 0
push 0x40af40
push esi
push 0x66
push eax
mov dword [0x4b8a64], 0
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x40cb63
mov eax, dword [0x4b8a60]
cmp eax, 1
je 0x40cb58
jle 0x40cb4a
cmp eax, 3
jg 0x40cb4a
push str.KEYFILE_CHANGED
call fcn.00432ee0
add esp, 4
ret
push str.PASSWORD_CHANGED
call fcn.00432ee0
add esp, 4
ret
push str.PKCS5_PRF_CHANGED
call fcn.00432ee0
pop ecx
ret

Function at 0x40e040
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x3bc
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x3b8], eax
push esi
mov esi, dword [esp + 0x3c4]
push 0x3b8
lea eax, [esp + 8]
push 0
push eax
call fcn.0046a470
add esp, 0xc
cmp dword [0x4b8a58], 0
je 0x40e094
mov eax, 1
pop esi
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.00469f7b
add esp, 0x3bc
ret
push str.TrueCryptTaskBarIcon
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4b8a58], eax
test eax, eax
je 0x40e177
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e177
xor eax, eax
mov dword [esp + 8], esi
mov esi, dword [0x4b116c]
cmp esi, 0x78
setge al
xor edx, edx
mov ecx, 7
mov dword [esp + 0x10], ecx
mov dword [esp + 4], 0x3b8
mov dword [esp + 0xc], 0x1f5
mov dword [esp + 0x14], 0x8066
dec eax
and eax, 0x10
cmp dword [0x4dc384], ecx
setne dl
xor ecx, ecx
dec edx
and edx, 0x80
cmp esi, 0x78
setl cl
dec ecx
and ecx, 0x40
or edx, ecx
or edx, 0x8000
push edx
mov edx, dword [0x4dc3d0]
push eax
push eax
push 1
push 0x1f5
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x40e140
movzx ecx, word [eax + 0x48f024]
mov word [esp + eax + 0x1c], cx
add eax, 2
test cx, cx
jne 0x40e140
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
pop esi
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.00469f7b
add esp, 0x3bc
ret
mov ecx, dword [esp + 0x3bc]
pop esi
xor ecx, esp
mov dword [0x4b8a58], 0
xor eax, eax
call fcn.00469f7b
add esp, 0x3bc
Function at 0x40e340
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x260
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, dword [0x4b8ce8]
jbe 0x40e378
call esi
sub eax, dword [0x4b8ce8]
cmp eax, 0xea60
jb 0x40e548
push ebx
push ebp
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [0x4b8ce8], eax
mov eax, 1
xor esi, esi
mov dword [esp + 0x10], eax
test dword [0x4b4f58], eax
je 0x40e531
push 0x254
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0046a470
add esp, 0xc
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x4b118c]
push 0x254
lea edx, [esp + 0x24]
push edx
push 0x254
mov eax, edx
push eax
push 0x22201c
push ecx
mov dword [esp + 0x38], esi
call ebx
test eax, eax
je 0x40e531
mov edx, dword [esi*8 + 0x4b8c18]
mov eax, dword [esp + 0x254]
mov ecx, dword [esp + 0x260]
mov edi, dword [esp + 0x1c]
cmp edx, eax
mov edx, dword [esp + 0x25c]
jne 0x40e4fc
mov ebp, dword [esi*8 + 0x4b8c1c]
cmp ebp, dword [esp + 0x258]
jne 0x40e4fc
mov ebp, dword [esi*8 + 0x4b8b48]
cmp ebp, edx
jne 0x40e4fc
mov ebp, dword [esi*8 + 0x4b8b4c]
cmp ebp, ecx
jne 0x40e4fc
cmp dword [esi*4 + 0x4b8ae0], edi
jne 0x40e4fc
inc dword [esi*4 + 0x4b8a78]
mov eax, dword [esi*4 + 0x4b8a78]
cmp eax, dword [0x4b0358]
jl 0x40e531
push 0
push esi
push 0x8003
call fcn.00436b60
add esp, 0xc
cmp dword [0x4b0338], 0
je 0x40e49e
mov eax, dword [0x4dc364]
push esi
push eax
call fcn.00431210
add esp, 8
test eax, eax
je 0x40e49e
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x4b0348]
mov edx, dword [0x4dc364]
push ecx
push esi
push edx
call fcn.004359c0
add esp, 0xc
test eax, eax
jne 0x40e531
push eax
push esi
push 0x8004
mov dword [esi*4 + 0x4b8a78], eax
call fcn.00436b60
add esp, 0xc
cmp dword [0x4b033c], 0
je 0x40e531
mov ecx, dword [0x4b118c]
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0x222030
push ecx
call ebx
call fcn.00451fd0
jmp 0x40e531
mov dword [esi*8 + 0x4b8c18], eax
mov eax, dword [esp + 0x258]
mov dword [esi*4 + 0x4b8a78], 0
mov dword [esi*8 + 0x4b8c1c], eax
mov dword [esi*8 + 0x4b8b48], edx
mov dword [esi*8 + 0x4b8b4c], ecx
mov dword [esi*4 + 0x4b8ae0], edi
mov eax, dword [esp + 0x10]
inc esi
rol eax, 1
cmp esi, 0x1a
mov dword [esp + 0x10], eax
jl 0x40e393
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
pop esi
xor ecx, esp
call fcn.00469f7b
add esp, 0x260
ret

Function at 0x40e710
Capabilities:
Hide graphical window

Disassembly:
xor eax, eax
cmp dword [0x4b8a5c], eax
sete al
mov dword [0x4b8a5c], eax
test eax, eax
jne 0x40e735
mov eax, dword [0x4dc364]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x4b8a5c]
mov ecx, dword [0x4dc364]
neg eax
sbb eax, eax
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
and eax, 0xfffffffb
add eax, 5
push eax
push ecx
call esi
cmp dword [0x4b8a5c], 0
jne 0x40e764
mov edx, dword [0x4dc364]
push 9
push edx
call esi
pop esi
ret
Function at 0x40edd0
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40ede5
sub ecx, edi
mov edi, ecx
mov ecx, esi
push ebp
lea ebp, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40edf6
sub ecx, ebp
mov edx, esi
je 0x40ee0c
mov byte [edx], 0
inc edx
sub ecx, 1
jne 0x40ee03
test edi, edi
je 0x40ee19
dec edi
mov byte [esi], 0
inc esi
test edi, edi
jne 0x40ee10
mov ecx, eax
mov ebp, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40ee20
sub ecx, esi
sar ecx, 1
lea esi, [ecx + ecx]
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40ee37
sub ecx, edi
sar ecx, 1
add ecx, ecx
je 0x40ee59
lea ebx, [ebx]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x40ee50
test esi, esi
je 0x40ee6a
lea ecx, [ecx]
dec esi
mov byte [ebp], 0
inc ebp
test esi, esi
jne 0x40ee60
mov eax, dword [0x4b8a4c]
pop ebp
test eax, eax
je 0x40ee85
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x4b8a4c], 0
mov edx, 0x4b85d0
mov ecx, 0x48
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40ee93
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x40eea0
mov edx, 0x4b8618
mov ecx, 0x48
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40eeb7
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x40eec0
mov edx, 0x4b8800
mov ecx, 0x64
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40eed7
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x40eee0
mov edx, 0x4b86d0
mov ecx, 0x64
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40eef7
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x40ef00
mov edx, 0x4b4e48
mov ecx, 0x105
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40ef17
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x40ef20
call fcn.00438420
mov ecx, dword [0x4b89d4]
test ecx, ecx
je 0x40ef52
mov esi, ecx
call fcn.004267d0
push esi
call fcn.00469789
add esp, 4
mov dword [0x4b89d4], 0
push 1
call fcn.0044d780
add esp, 4
pop edi
pop esi
ret
Function at 0x40f130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489450
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4b89d4]
lea eax, [ebp - 0x72]
push eax
mov dword [ebp - 4], 0
call fcn.00423cd0
mov ecx, 0x17
mov esi, eax
mov edi, 0x4b8798
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [0x4b87a6], 0
je 0x40f225
mov ecx, dword [0x4dc364]
push 0x105
push 0x4b4e48
push 0x40a
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x4dc364]
push 0
push edx
push 0x4b4e48
call fcn.004466f0
push 0
mov esi, eax
call fcn.0040a650
add esp, 0x10
test eax, eax
je 0x40f1f5
cmp esi, 2
je 0x40f1de
cmp esi, 1
jne 0x40f225
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp esi, 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret