joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e73e
Capabilities:
Parse url

Disassembly:
push esi
mov esi, eax
push edi
push esi
push dword [esp + 0x14]
mov eax, 0x81
push 0
push dword [esp + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov eax, 0x801
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x41e79f
push 0x3f
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll_wcschr]
test eax, eax
pop ecx
pop ecx
je 0x41e79f
push eax
add esi, 0x1486
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x41e8ec
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
xor edx, edx
cmp ecx, edx
push ebx
mov ebx, eax
je 0x41e906
cmp word [ecx], dx
je 0x41e906
xor eax, eax
jmp 0x41e909
xor eax, eax
inc eax
cmp ebx, edx
mov dword [esi + 4], eax
je 0x41e9cb
cmp dword [ebx], 0x18
jne 0x41e9cb
push edi
push dword [ebx + 8]
lea edi, [ebp - 4]
call fcn.004031b3
mov eax, dword [ebx + 4]
xor edi, edi
cmp eax, edi
jne 0x41e939
push edi
push edi
push edi
push 1
jmp 0x41e9a9
cmp eax, 1
je 0x41e9a5
mov eax, dword [ebp - 4]
cmp dword [eax - 8], edi
je 0x41e9a5
push dword [ebx + 0x10]
lea eax, [esi + 0x10]
call fcn.00403266
push dword [ebx + 0x14]
lea eax, [esi + 0x14]
call fcn.00403266
push dword [ebx + 0xc]
mov eax, dword [0x51a438]
push dword [ebp - 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push str.httphttp:___s:_d
push eax
call fcn.004060d6
mov ebx, dword [ebp - 8]
add esp, 0x10
push edi
push str._local_
push ebx
push 3
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
lea eax, [ebx - 0xc]
cmp eax, dword [0x51a43c]
je 0x41e9b4
push eax
call fcn.004013aa
jmp 0x41e9b4
push edi
push edi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
pop edi
je 0x41e9d8
push eax
call fcn.004013aa
jmp 0x41e9d8
push edx
push edx
push edx
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
xor eax, eax
cmp dword [esi], eax
pop ebx
setne al
leave
ret 4
Function at 0x41ee7c
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov eax, 0x1018
lea ebp, [esp - 0xf98]
call fcn.004eae50
mov eax, dword [0x516ad4]
and dword [ebp - 0x7c], 0
push esi
push 0
mov dword [ebp + 0xf94], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x20000005
push dword [ebp + 0xfa4]
mov esi, SysReAllocString
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41eecf
mov dword [ebp - 0x78], esi
mov eax, dword [0x51a438]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
cmp eax, esi
je 0x41eee1
inc eax
jmp 0x41eee6
mov eax, 0x2000
lea ecx, [ebp - 0x74]
call fcn.004034a7
or eax, 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004034d3
and dword [ebp - 0x7c], 0
mov esi, 0x1000
mov eax, dword [ebp - 0x80]
cmp eax, esi
jb 0x41ef0b
mov eax, esi
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0xfa4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41ef48
mov eax, dword [ebp - 0x7c]
test eax, eax
jbe 0x41ef48
mov byte [ebp + eax - 0x70], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004212cd
mov eax, dword [ebp - 0x74]
mov eax, dword [eax - 8]
cmp eax, dword [ebp - 0x78]
jl 0x41ef02
mov esi, dword [ebp + 0xfa0]
lea ecx, [ebp - 0x74]
call fcn.00403446
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
pop esi
je 0x41ef6b
push eax
call fcn.004013aa
mov ecx, dword [ebp + 0xf94]
mov eax, dword [ebp + 0xfa0]
call fcn.004eae3c
add ebp, 0xf98
leave
ret

Function at 0x4217ba
Capabilities:
Create directory
Get file attributes

Disassembly:
test ebx, ebx
je 0x421860
cmp word [ebx], 0
je 0x421860
push ebp
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x5c
pop ebp
push ebp
push ebx
call edi
pop ecx
pop ecx
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x421820
mov ax, word [ebx + 2]
cmp ax, 0x3a
jne 0x4217fc
cmp word [ebx + 4], bp
je 0x421815
cmp word [ebx], bp
jne 0x421820
cmp ax, bp
jne 0x421820
push ebp
add esi, 4
push esi
call edi
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x421828
add esi, 2
push ebp
push esi
call edi
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x421828
and word [esi], 0
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x421847
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
test esi, esi
je 0x421852
test eax, eax
mov word [esi], bp
jne 0x421815
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
pop esi
and eax, 0x10
pop ebp
ret
xor eax, eax
ret
Function at 0x4235ae
Capabilities:
Create process on windows

Disassembly:
push edi
mov edi, dword [esi + 0x224]
cmp dword [edi - 8], 0
je 0x4235f5
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 8]
push edi
push 0x7f9
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4235f5
push 1
push eax
push eax
push dword [esi + 0x224]
push 0x4fa5a0
push dword [esi + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004af112
xor eax, eax
pop edi
ret

Function at 0x42463e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov ecx, dword [esi + 0x14]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
jne 0x42467a
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x424730
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
adc dword [esi + 0xc], ebx
jmp 0x424730
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0x18]
cmp eax, dword [ebp + 8]
jl 0x424688
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
test eax, eax
mov dword [ebp - 8], eax
jle 0x4246bd
push eax
mov eax, dword [esi + 0x18]
add eax, ecx
push edi
push eax
call sub.MSVCRT.dll_memcpy
mov edx, dword [ebp - 8]
add dword [esi + 0x18], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add esp, 0xc
cmp ecx, eax
jbe 0x4246b4
mov eax, ecx
add dword [ebp - 4], edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jae 0x42472d
cmp dword [esi + 0x20], 0
je 0x4246d0
call fcn.00413c98
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor edx, edx
sub eax, ecx
add ecx, edi
cmp eax, dword [esi + 0x10]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
jae 0x424705
push eax
push ecx
push dword [esi + 0x14]
mov dword [esi + 0x1c], eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0x1c]
add dword [esi + 0x18], eax
add esp, 0xc
add dword [ebp - 4], eax
mov dword [esi + 0x20], ebx
jmp 0x42472d
push edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
push edx
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x424721
mov eax, dword [ebp - 8]
add dword [ebp - 4], eax
push esi
call fcn.0041e549
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x429276
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
movsx edi, ax
shr eax, 0x10
cmp dword [esi + 0xbc], 0
movsx ebx, ax
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
je 0x429320
cmp dword [esi + 0xc0], 0
je 0x429320
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
cmp dword [esi + 0x6c], eax
je 0x4292bd
sub ebx, dword [esi + 0xcc]
mov dword [esi + 0xc4], ebx
jmp 0x4292c9
sub edi, dword [esi + 0xc8]
mov dword [esi + 0xc4], edi
xor ebx, ebx
cmp dword [esi + 0xc4], eax
je 0x4292fe
lea edi, [esi + 0x10c]
cmp dword [edi], eax
mov dword [ebp - 4], eax
je 0x4292fe
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00425f9f
test eax, eax
je 0x4292fc
mov edi, dword [edi]
push dword [ebp - 4]
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
je 0x429395
push 1
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x429395
lea ecx, [ebp - 8]
mov eax, esi
call fcn.00428f92
test eax, eax
jl 0x429395
cmp eax, dword [esi + 0x114]
jge 0x429395
lea ecx, [esi + 0x110]
call fcn.004c61ec
add eax, 4
mov edi, dword [eax]
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x429359
mov eax, dword [esi + 0x60]
jmp 0x429362
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 4]
push 0x7f9
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x429395
push 1
push eax
push eax
push edi
push 0x4fa5a0
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004af112
pop edi
xor eax, eax
pop ebx
leave
ret

Function at 0x42aa94
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
cmp dword [esi + 0xc], 0x202
push ebx
jne 0x42aaf6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0xfffe
je 0x42aaf6
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
push 4
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x42aaf6
push edi
mov edi, dword [esp + 0xc]
push ebx
push dword [esi + 0x1c]
add edi, 4
push dword [esi + 0x18]
push edi
call fcn.0042ab6d
push 1
push 0
push 0
push ebx
push 0x4fa5a0
push dword [edi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
xor eax, eax
pop ebx
ret 4
Function at 0x42ff2b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x516ad4]
or dword [edi + 8], 0xffffffff
mov dword [ebp + 0x98], eax
push esi
lea eax, [ebp - 0x7c]
xor esi, esi
push eax
mov dword [edi], esi
mov dword [edi + 0xc], esi
mov dword [ebp - 0x7c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42ff73
cmp dword [ebp - 0x78], 5
jb 0x42ff73
xor eax, eax
inc eax
cmp dword [ebp - 0x74], eax
jae 0x42ff75
xor eax, eax
cmp eax, esi
mov dword [edi + 4], eax
je 0x42ff84
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
jmp 0x42ffbb
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0xc
push esi
push 3
push 0xc
mov dword [ebp - 0x80], eax
pop eax
lea esi, [ebp - 0x80]
call fcn.0042feb6
push 0xc
push 1
push 3
push 0xc
mov dword [edi + 0x10], eax
pop eax
call fcn.0042feb6
push dword [ebp - 0x80]
mov dword [edi + 0x14], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp + 0x98]
mov eax, edi
pop esi
call fcn.004eae3c
add ebp, 0x9c
leave
ret

Function at 0x4308da
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea edi, [esi + 0x20]
mov dword [edi], eax
cmp dword [esi + 4], 0
jne 0x43090a
lea ebx, [ebp - 4]
mov eax, edi
call fcn.0041119f
mov eax, dword [eax]
push 0
push eax
mov eax, esi
call fcn.00438aae
test eax, eax
je 0x430993
mov eax, dword [edi]
test eax, eax
je 0x43095d
lea ecx, [ebp - 8]
push ecx
push 0
push 0x434
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
push 2
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x43095d
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call fcn.0042ab6d
test eax, eax
jle 0x430955
push ebx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x24]
push eax
call fcn.00438665
push dword [ebp + 8]
push esi
call fcn.00430a96
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 4
Function at 0x430999
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
lea edi, [esi + 0x24]
push dword [edi]
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
je 0x4309cb
lea eax, [ebx + ebx + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
jne 0x4309d3
or eax, 0xffffffff
jmp 0x430a91
inc ebx
push ebx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f6
push dword [esi + 4]
call edi
mov ebx, eax
neg ebx
push 0x3f2
push dword [esi + 4]
sbb ebx, ebx
inc ebx
call edi
test eax, eax
je 0x430a06
or ebx, 4
push 0x3f4
push dword [esi + 4]
call edi
test eax, eax
je 0x430a17
or ebx, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x434
push dword [esi + 0x20]
call edi
test bl, 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
je 0x430a41
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x24], 0xffffffff
jmp 0x430a48
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x47c
push dword [esi + 0x20]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x430a6b
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x430a7b
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x437
push dword [esi + 0x20]
call edi
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
call fcn.00430d12
push ebx
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430ee8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [edi + 0x2c], esi
jne 0x430f15
push 1
push edi
call fcn.00430a96
push 1
push dword [edi + 0x28]
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x430fe1
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push esi
push 0x434
push dword [edi + 0x20]
call ebx
push 0x3f6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x430f57
push esi
push esi
push 0xe
push dword [edi + 0x20]
call ebx
dec eax
cmp dword [ebp - 0x10], eax
jge 0x430f4f
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x430f65
cmp dword [ebp - 0x14], esi
jle 0x430f5f
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x437
push dword [edi + 0x20]
call ebx
mov eax, edi
call fcn.00430999
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x430f88
or eax, 0xffffffff
jmp 0x430fe0
lea esi, [edi + 0x28]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x430f83
mov ecx, dword [ebp - 8]
inc ecx
push ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 4]
push 1
push 0xc2
push dword [edi + 0x20]
call ebx
mov ebx, dword [ebp - 4]
call fcn.00430d12
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, edi
call fcn.00430999
mov eax, dword [ebp - 0xc]
pop ebx
pop esi
leave
ret
Function at 0x430fe4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push esi
push edi
mov esi, eax
push dword [esi + 0x24]
call ebx
mov edi, eax
test edi, edi
je 0x431013
lea eax, [edi + edi + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x43101b
or eax, 0xffffffff
jmp 0x431153
inc edi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
push dword [esi + 0x24]
call edi
push dword [esi + 0x28]
call ebx
mov ebx, eax
lea eax, [ebx + ebx + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x431054
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
or eax, 0xffffffff
jmp 0x431152
inc ebx
push ebx
push eax
push dword [esi + 0x28]
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x434
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f8
push dword [esi + 4]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x43109c
xor eax, eax
push eax
push eax
push 0xe
push dword [esi + 0x20]
mov dword [ebp - 0x28], eax
call edi
jmp 0x4310b3
push 0x3f9
push dword [esi + 4]
call ebx
test eax, eax
je 0x4310b6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
push 0x3f2
push dword [esi + 4]
mov dword [ebp - 4], 1
call ebx
test eax, eax
je 0x4310d2
mov dword [ebp - 4], 5
push 0x3f4
push dword [esi + 4]
call ebx
test eax, eax
je 0x4310e4
or dword [ebp - 4], 2
mov eax, dword [ebp - 0xc]
call fcn.00430cf7
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00430cf7
sub ebx, eax
jmp 0x431129
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x437
push dword [esi + 0x20]
call edi
push dword [ebp - 0xc]
push 1
push 0xc2
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x24], ebx
add eax, ebx
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jge 0x43113f
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push 0x47c
push dword [esi + 0x20]
call edi
cmp eax, 0xffffffff
jne 0x4310fa
push dword [ebp - 8]
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push dword [ebp - 0xc]
call esi
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4325f0
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x516ad4]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0x100c
lea esi, [ebx + 0x24]
push dword [esi]
mov dword [ebp + 0x1b4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
and word [ebp - 0x58], 0
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x56]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
call fcn.00431c00
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
pop ecx
pop ecx
je 0x432660
push eax
call fcn.004013aa
mov eax, dword [ebx + 4]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x78], eax
xor edi, edi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x74], edi
mov word [ebp - 0x70], 0x40
mov dword [ebp - 0x6e], edi
mov dword [ebp - 0x6a], edi
mov dword [ebp - 0x66], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4326a4
cmp dword [ebp - 0x6e], edi
jne 0x4326a4
push dword [ebp - 0x5c]
mov eax, esi
call fcn.0041a9f4
mov ecx, dword [ebp + 0x1b4]
pop edi
xor eax, eax
pop esi
call fcn.004eae3c
add ebp, 0x1b8
leave
ret

Function at 0x432763
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x432831
cmp word [eax], 0
je 0x432831
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00431c00
mov eax, dword [0x51a438]
mov dword [ebp - 4], eax
mov eax, 0x104
push eax
lea ecx, [ebp - 4]
call fcn.00403308
push eax
push 1
push dword [esi + 0x10]
lea eax, [edi + 0x24]
push eax
call fcn.0041a977
or eax, 0xffffffff
lea ecx, [ebp - 4]
call fcn.00403334
push dword [esi + 0x20]
lea eax, [ebp - 4]
push eax
call fcn.0040328b
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x432837
push 0x8187
lea eax, [ebp - 8]
call fcn.004017db
pop ecx
push 0x10
push dword [0x52224c]
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x43280f
push eax
call fcn.004013aa
lea eax, [esi - 0xc]
cmp eax, dword [0x51a43c]
je 0x432820
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x51a43c]
je 0x432831
push eax
call fcn.004013aa
xor eax, eax
pop esi
pop ebx
leave
ret
lea eax, [esi - 0xc]
cmp eax, dword [0x51a43c]
je 0x432848
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x51a43c]
je 0x432859
push eax
call fcn.004013aa
xor eax, eax
inc eax
jmp 0x432833
Function at 0x437008
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push 0x4fbcb0
lea eax, [ebp - 4]
push eax
add ecx, 0x258
call fcn.0042499c
mov esi, dword [ebp - 4]
cmp dword [esi - 8], 0
jne 0x437049
lea eax, [esi - 0xc]
cmp eax, dword [0x51a43c]
je 0x43715b
push eax
call fcn.004013aa
jmp 0x43715b
push ebx
push edi
call fcn.004ae401
neg eax
sbb eax, eax
and eax, 0xc
inc eax
cmp eax, 0xd
mov dword [ebp - 0xc], eax
jne 0x4370bd
lea ecx, [ebp - 4]
lea esi, [ebp - 8]
call fcn.0040318a
mov esi, dword [ebp - 8]
mov edi, dword [esi - 8]
lea edi, [edi + edi + 2]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x437096
add esi, 0xfffffff4
cmp esi, dword [0x51a43c]
je 0x437145
push esi
jmp 0x4370ee
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esi, 0xfffffff4
cmp esi, dword [0x51a43c]
je 0x43711f
push esi
jmp 0x43711a
lea eax, [ebp - 8]
push 0
push eax
mov eax, esi
call fcn.00401754
mov edi, dword [ebp - 8]
mov esi, dword [edi - 8]
pop ecx
pop ecx
inc esi
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4370f5
lea eax, [edi - 0xc]
cmp eax, dword [0x51a43c]
je 0x437145
push eax
call fcn.004013aa
jmp 0x437145
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [edi - 0xc]
cmp eax, dword [0x51a43c]
je 0x43711f
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x437145
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x437159
push eax
call fcn.004013aa
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 4

Function at 0x437617
Capabilities:
Hide graphical window

Disassembly:
push ebx
xor ebx, ebx
push edi
inc ebx
push ebx
mov ecx, esi
call fcn.00434d1a
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp word [esp + 0xc], ax
mov dword [0x521740], ebx
push eax
jne 0x437643
mov eax, esi
call fcn.00438ae0
jmp 0x437648
push dword [esi + 4]
call edi
push 5
push dword [esi + 0x3f0]
call edi
cmp dword [0x52164c], 0
je 0x437663
mov dword [0x5216d8], ebx
jmp 0x437669
mov dword [0x52165c], ebx
pop edi
xor eax, eax
pop ebx
ret 4