joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4187a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x4533e4]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor eax, eax
or ebx, 0xffffffff
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [0x455c84], eax
mov dword [0x455c80], eax
mov dword [0x455c70], ebx
mov dword [0x455c74], ebx
mov dword [0x455c78], ebx
mov dword [0x455c7c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x418946
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x418961
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [0x455c84], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x455c80], eax
lea eax, [esp + 0x230]
push eax
push ebx
push 0x418530
push 0x418580
push 0x418500
push 0x4184b0
push 0x418480
push 0x418470
push 0x418460
call dword [sym.imp.Cabinet.dll_FDICreate]
mov esi, eax
add esp, 0x24
test esi, esi
je 0x418925
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
mov dword [esp + 0x22c], ecx
lea ecx, [esp + 0x24]
push 0x104
push ecx
mov dword [esp + 0x238], edx
call fcn.0042c4dd
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push 0
push 0x4185a0
push 0
push 0x4469b0
push 0x4469b0
push esi
call dword [sym.imp.Cabinet.dll_FDICopy]
add esp, 0x1c
test eax, eax
jne 0x418900
mov edi, dword [esp + 0x230]
push esi
add edi, 0xb000
call dword [sym.imp.Cabinet.dll_FDIDestroy]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.Cabinet.dll_FDIDestroy]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x230]
add eax, 0xb000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x23c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
Function at 0x41b310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, eax
push 0
call fcn.0041b240
mov eax, dword [edi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
call esi
test eax, eax
je 0x41b389
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
lea ebx, [ebx]
cmp byte [edi + 0xc], 0
jne 0x41b388
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1c]
push edx
push eax
call ebx
test eax, eax
jne 0x41b378
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x41b350
pop ebx
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 0x455c98
call fcn.00412f60
mov edx, dword [0x4564d8]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x4564d4
call fcn.00413350
mov eax, dword [0x4564d8]
mov dword [eax + 4], eax
mov eax, dword [0x4564d8]
mov dword [eax], eax
mov eax, dword [0x4564d8]
mov dword [eax + 8], eax
mov dword [0x4564dc], 0
mov eax, dword [edi + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b3e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44130b
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x4533e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], ebx
mov word [ebp - 0x830], cx
mov dword [ebp - 4], ebx
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push edx
call edi
mov esi, eax
cmp esi, ebx
je 0x41b49f
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
lea esp, [esp]
push 0x400
lea eax, [ebp - 0x814]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0x814]
push edx
mov ecx, 0x455c98
call fcn.00412e50
cmp dword [ebp - 0x81c], 8
mov eax, dword [ebp - 0x830]
jae 0x41b490
lea eax, [ebp - 0x830]
push eax
push esi
call ebx
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x41b450
cmp dword [ebp - 0x81c], 8
jb 0x41b4b7
mov eax, dword [ebp - 0x830]
push eax
call fcn.0042b948
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042b939
mov esp, ebp
pop ebp
ret 4
Function at 0x41c740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4533e4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, ebx
sub eax, 0x110
push edi
mov esi, ecx
je 0x41c8ac
dec eax
je 0x41c78c
sub eax, 0x27
jne 0x41c7a8
push eax
call dword [sym.imp.GDI32.dll_GetStockObject]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
movzx ecx, word [ebp + 0xc]
mov dword [esi + 0x10], ecx
mov byte [esi + 0xc], 1
jmp 0x41c890
cmp ebx, 0x110
ja 0x41c884
je 0x41c7f4
mov eax, ebx
sub eax, 2
je 0x41c7e4
dec eax
je 0x41c835
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0041b5b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x41c7c0
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x41c7c0
mov eax, dword [0x455c88]
call fcn.00408810
test al, al
je 0x41c835
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [esi + 4]
push eax
push 0
push edx
push 0x1e
push 0x5a
push 0
push 0
push 0x90000000
push str.Exit
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x38], eax
cmp dword [esi + 0x38], 0
je 0x41c7c0
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
push ecx
call edi
mov eax, dword [esi + 0x38]
lea edx, [esp + 0xc]
push edx
push eax
call edi
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push 0x15
push 0
push 0
lea eax, [ecx + edx - 0xe]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x38]
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41c7c0
cmp ebx, 0x111
jne 0x41c7c0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x41c7c0
cmp dword [ebp + 0x10], eax
jne 0x41c7c0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0041bfe0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0042b939
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d910
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4533e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00430500
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ecx
mov dword [ebp - 0x128], 0x11c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x14c]
cmp ax, 9
jne 0x41d973
test ebx, ebx
js 0x41d980
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
test ax, ax
jne 0x41d962
test ebx, 0x40000000
je 0x41d962
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 2
mov edx, ebx
shr edx, 8
push 0
and edx, 0xff
push 0
mov dword [ebp - 0x124], edx
call esi
push 3
push 1
movzx ecx, bl
push edx
push eax
mov dword [ebp - 0x120], ecx
call esi
mov ecx, 3
test ebx, 0x10000000
je 0x41d9c5
mov byte [ebp - 0xe], 1
jmp 0x41d9d8
test ebx, 0x20000000
je 0x41d9d2
mov byte [ebp - 0xe], cl
jmp 0x41d9d8
cmp byte [ebp - 0xe], 0
jbe 0x41d9e8
push 1
push 0x80
push edx
push eax
call esi
mov ecx, 0x83
push edx
push eax
push ecx
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
cmp eax, 1
jne 0x41d962
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, al
pop esi
call fcn.0042b939
mov esp, ebp
pop ebp
ret
Function at 0x4232c0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4533e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
xor ecx, ecx
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], eax
push 0xb
mov eax, str.GlobalIIF_
lea esi, [ebp - 0x2c]
call fcn.00402c70
mov eax, edi
lea edx, [eax + 2]
jmp 0x423320
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423320
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00405a00
mov eax, dword [ebx]
test eax, eax
je 0x42334d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebx], 0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x423359
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
test eax, eax
jne 0x4233c4
call edi
mov esi, eax
cmp esi, 2
jne 0x4233aa
push str.Mutex_with_given_name_doesnt_exist._Creating_new_one._n
push 0x4549c0
mov ecx, 0x4462a0
call fcn.00406580
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], 8
jae 0x42339f
lea eax, [ebp - 0x2c]
push eax
call fcn.00423470
mov dword [ebp - 0x30], eax
jmp 0x4233db
push esi
push str.Error_opening_mutex:__lu_n
push 0x4549c0
mov ecx, 0x446820
call fcn.00406580
add esp, 0xc
jmp 0x4233de
push str.Opened_existing_mutex_n
push 0x4549c0
mov ecx, 0x4462a0
call fcn.00406580
add esp, 8
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x423434
push 0x7d0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x423414
push str.Obtained_mutex_succesfully.
push 0x4549c0
mov ecx, 0x4462a0
call fcn.00406580
add esp, 8
mov dword [ebp - 0x30], 0
jmp 0x423431
push esi
push str.GetMutex:_wait_unsuccseffull___lu_
push 0x4549c0
mov ecx, 0x446820
call fcn.00406580
add esp, 0xc
call edi
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 8
jb 0x423446
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042b948
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
Function at 0x424010
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov esi, eax
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42408e
push ebx
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042abb9
add esp, 4
push ebx
mov esi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push 0x510
push eax
push 0xffffffffffffffff
push esi
push ecx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
call fcn.0042c5c5
mov esi, dword [ebp - 4]
add esp, 4
pop ebx
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4248f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4533e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
mov dword [ebp - 4], ebx
mov ecx, dword [ecx + 4]
push ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [ebp - 0x238]
push edx
push ebx
push ebx
push 0x11
push ebx
mov dword [ebp - 0x258], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, 0x208a
mov edx, 0x455c98
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x248], 0x41
call fcn.00412980
cmp dword [ebp - 0x220], 8
jb 0x4249d6
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x24c], edx
jmp 0x4249e2
lea eax, [ebp - 0x234]
mov dword [ebp - 0x24c], eax
mov edi, dword [0x455c88]
push esi
add edi, 4
mov dword [ebp - 0x244], 0x423880
call fcn.00404030
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.0042c4dd
add esp, 0xc
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x218]
push eax
mov dword [ebp - 0x240], edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
je 0x424a54
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, dword [0x455c88]
lea edx, [ebp - 0x218]
push edx
add ecx, 4
mov ebx, esi
call fcn.00404120
mov bl, 1
cmp dword [ebp - 0x220], 8
jb 0x424a6c
mov eax, dword [ebp - 0x234]
push eax
call fcn.0042b948
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b939
mov esp, ebp
pop ebp
ret
Function at 0x424cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fdc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4533e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
sub eax, 2
mov esi, ecx
jne 0x424e0b
lea ecx, [esi + 0x74]
lea edi, [eax + 6]
mov eax, dword [ecx + 0x10]
push str.LAUNCH
call fcn.00410a20
test eax, eax
jne 0x424e0b
lea eax, [esi + 0x3c]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x424d53
mov eax, dword [eax]
mov edi, dword [0x455c88]
add edi, 4
call fcn.00404080
test al, al
je 0x424e0b
cmp dword [esi + 0xa8], ebx
lea eax, [esi + 0x94]
jb 0x424d79
mov eax, dword [eax]
push eax
mov eax, dword [0x455c88]
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404790
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x424d9d
lea eax, [ebp - 0x2c]
push eax
push str.__Launching:__s
push 0x4549c0
mov ecx, 0x4462a0
call fcn.00406580
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x424dc0
lea eax, [ebp - 0x2c]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x424dfa
test eax, eax
jne 0x424de2
mov eax, 0xe
push eax
push str.__Launch_error_0x_X
push 0x4549c0
mov ecx, 0x446470
call fcn.00406580
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jb 0x424e0b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042b948
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b939
mov esp, ebp
pop ebp
ret 4

Function at 0x425010
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x200
push esi
mov esi, ecx
jne 0x425084
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042abb9
add esp, 4
mov ebx, eax
mov eax, dword [esi + 4]
push edi
push ebx
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
add esi, 0x3c
cmp dword [esi + 0x14], 8
jb 0x425065
mov esi, dword [esi]
mov ecx, dword [0x455c88]
push ebx
add ecx, 4
mov ebx, esi
call fcn.00404120
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042c5c5
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x425900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4401e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4533e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xfffffffe
je 0x42593e
cmp ecx, 0xfffffffc
jne 0x425a2b
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], ecx
lea ebx, [ecx + 8]
cmp dword [eax + 0xa4], ecx
je 0x4259a1
add eax, 0x94
cmp dword [eax + 0x14], ebx
jb 0x42596a
mov eax, dword [eax]
push eax
mov eax, dword [0x455c88]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.00404790
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00405650
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], ebx
jb 0x4259d8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042b948
add esp, 4
jmp 0x4259d8
add eax, 0x3c
cmp dword [eax + 0x14], ebx
jb 0x4259ab
mov eax, dword [eax]
mov edi, dword [0x455c88]
push eax
add edi, 4
call fcn.00404030
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4259c0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.00402c70
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x4259e3
lea eax, [ebp - 0x2c]
push eax
push str.Link:_Launching__s
push 0x4549c0
mov ecx, 0x4462a0
call fcn.00406580
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x425a06
lea eax, [ebp - 0x2c]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x18], ebx
jb 0x425a2b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042b948
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b939
mov esp, ebp
pop ebp
ret 4
Function at 0x427e60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x4533e4]
xor eax, esp
mov dword [esp + 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
mov edi, ecx
cmp eax, 0x401
jg 0x427f28
je 0x427f1c
sub eax, 2
je 0x427ec2
sub eax, 0x3fa
jne 0x427f2f
mov esi, dword [edi + 0x54]
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + esi*4 - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
dec esi
call eax
test al, al
je 0x427ea0
mov ecx, edi
mov dword [edi + 0x54], esi
call fcn.00427560
jmp 0x427fb9
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x427fb9
mov ecx, dword [edi + 4]
push 0x1f86
push 2
push 3
push 0x4e20
call fcn.0041b670
add esp, 0x10
cmp eax, 6
jne 0x427fb9
mov esi, dword [0x455c88]
mov ecx, 0x642
call fcn.0040bb10
push 0x40b
mov esi, edi
call fcn.0041b590
jmp 0x427fb9
mov esi, edi
call fcn.004276d0
jmp 0x427fb9
cmp eax, 0x40b
je 0x427f58
mov edi, dword [edi + 0x38]
test edi, edi
je 0x427f43
cmp dword [ebp + 0xc], edi
jne 0x427f43
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0042b939
mov esp, ebp
pop ebp
ret 8
cmp byte [edi + 0x5c], 0
jne 0x427fa2
mov eax, dword [0x455c88]
call fcn.00408810
test al, al
jne 0x427fa2
mov ecx, dword [edi + 4]
push 0x1f86
push 2
push 3
push 0x4e20
call fcn.0041b670
add esp, 0x10
cmp eax, 6
jne 0x427fb9
mov esi, dword [0x455c88]
mov ecx, 0x642
call fcn.0040bb10
mov edx, dword [edi + 4]
push 0
push edx
jmp 0x427fa8
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov byte [edi + 0xc], 1
mov dword [edi + 0x10], 0x40b
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042b939
mov esp, ebp
pop ebp
ret 8
Function at 0x42a330
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4533e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042abb9
add esp, 4
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0x10
or eax, 0x400
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0xffffffffffffffff
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.0042c5c5
add esp, 4
push 0x80
lea edx, [ebp - 0x108]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.Button
lea eax, [ebp - 0x108]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a426
test dx, dx
je 0x42a422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a426
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a400
xor eax, eax
jmp 0x42a42b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42a454
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0xb
jle 0x42a454
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x110]
add ecx, eax
mov dword [ebp - 0x110], ecx
jmp 0x42a45a
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
sub ecx, dword [ebp - 0x118]
push 6
inc eax
push eax
inc ecx
push ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b939
mov esp, ebp
pop ebp
ret 8

Function at 0x42b939
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4533e4]
jne 0x42b943
repz ret
jmp fcn.0043057a