joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d06a0
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push ebx
mov ebx, dword [esp + 0x14]
lea eax, [esp + 8]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
push eax
push ebx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
test ecx, ecx
ja 0x100d06ea
jb 0x100d06de
cmp eax, esi
jae 0x100d06ea
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
push 0
push eax
push ecx
push ebp
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, eax
mov dword [edi + 8], edx
test edx, edx
jne 0x100d071b
call fcn.10076630
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.1005d006
add esp, 0xc
ret 0x18
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x100d072e
mov eax, dword [esp + 0x10]
sub eax, ebx
mov dword [edi + 4], eax
jmp 0x100d0731
mov dword [edi + 4], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push 0
push dword [edi + 4]
mov dword [edi + 0x18], ecx
push ebx
push eax
push ecx
push edx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [edi], eax
test eax, eax
jne 0x100d0785
call fcn.10076630
push dword [edi + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.1005d006
add esp, 0xc
ret 0x18
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005d006
add esp, 0xc
ret 0x18

Function at 0x100d10d0
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x10118458
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push dword [esp + 0x28]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x100d113c
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
push esi
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
jne 0x100d114f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x18], 0xffffffff
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call fcn.10063f30
add esp, 0xc
mov dword [esp + 0x18], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x100d1198
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x100d11c0
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x10118488
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100d120e
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x100d1212
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x100d128d
lea eax, [esp + 0xc]
mov ecx, esi
push eax
xor bl, bl
call fcn.100d1360
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100d1253
cmp dword [esp + 0x20], 8
lea ecx, [ecx*2 + 2]
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push ecx
push eax
push 0xd
call fcn.100d10d0
add esp, 0xc
mov bl, al
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x100d1274
push dword [esp + 0xc]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1005d006
add esp, 0x28
ret

Function at 0x100d1810
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x10118530
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100d1857
xor al, al
jmp 0x100d191c
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100d1850
push 0xd
xor bl, bl
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x100d1914
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x1c]
push ebp
call fcn.10008b50
mov byte [esp + 0x40], 1
mov ecx, dword [edi + 0x4c]
call fcn.100b2520
test al, al
je 0x100d18c4
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.100d1630
test al, al
je 0x100d18d2
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
mov bl, 1
call fcn.100d19c0
mov byte [esp + 0x40], 0
cmp dword [esp + 0x30], 8
jb 0x100d18ea
push dword [esp + 0x1c]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x40], 0xffffffff
test ebp, ebp
je 0x100d1914
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005d006
add esp, 0x30
ret
Function at 0x100d5c30
Capabilities:
Access peb ldr_data
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x10118e51
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100d5cc6
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [esp + 0x14]
push eax
call fcn.100061e0
jmp 0x100d5d1d
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100d5cfe
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x100d5cf8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x18]
call fcn.10006010
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x14]
push eax
call fcn.100061e0
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 8
jb 0x100d5d3d
push dword [esp + 0x14]
call fcn.1005d7c6
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005d006
add esp, 0x30
ret

Function at 0x100d7a20
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x10166794]
test eax, eax
jne 0x100d7abd
push edi
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push str.mshtml.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x100d7ab7
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100d7ab6
push esi
push edi
push dword [esp + 0x14]
push str.mshtml.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100d7aaf
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x10135758
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100d7aaf
mov eax, dword [esp + 8]
movzx eax, word [eax + 0xa]
mov dword [0x10166794], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [0x10166794]
pop edi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1005d006
add esp, 0x10
ret
Function at 0x100eefde
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401930
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1258
call fcn.00413500
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1254], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
push 0x1000
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x401b45
mov eax, dword [esp + 0x48]
xor edi, edi
shr eax, 2
mov dword [esp + 0x18], eax
xor al, al
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], edi
jbe 0x401a92
mov eax, dword [esp + edi*4 + 0x50]
test eax, eax
je 0x401a7c
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401a7c
lea eax, [esp + 0x4c]
push eax
push 4
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x401a75
push 0x104
lea eax, [esp + 0x1054]
push eax
push dword [esp + 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x401a75
mov ecx, str.metin2client.exe
lea eax, [esp + 0x1050]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401a26
test dx, dx
je 0x401a22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401a26
add eax, 4
add ecx, 4
test dx, dx
jne 0x401a00
xor eax, eax
jmp 0x401a2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401a75
push str.metin2client.exe
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x401a57
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x14]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x14], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esp + 0x18]
jb 0x401991
cmp byte [esp + 0x14], 0
jne 0x401b45
push 0x4b
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push str.Advertencia:_metin2client.exe_no_pudo_cerrarse._Intente_cerrar_manualmente.
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.00406350
push 3
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push eax
push 0xb1
push edi
call esi
cmp dword [esp + 0x34], 7
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push eax
push 0
push 0xc2
push edi
call esi
push 0x4154d0
push 0
push 0xc2
push edi
call esi
mov ecx, dword [esp + 0x34]
cmp ecx, 7
jbe 0x401b45
mov edx, dword [esp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b3b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00412679
add esp, 8
mov ecx, dword [esp + 0x125c]
pop edi
pop esi
xor ecx, esp
call fcn.0041263b
mov esp, ebp
pop ebp
ret 4
Function at 0x402c80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x34]
push edi
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREMyGameAutoPatcher
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402cf7
push 0x2a
push str.VALID_LAUNCH_SESSION
push 1
push eax
push str.LaunchKey
push dword [esp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0041263b
mov esp, ebp
pop ebp
ret 4
push 0x21
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.Error_al_escribir_en_el_registro.
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.00406350
push 3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push eax
push 0xb1
push edi
call esi
cmp dword [esp + 0x24], 7
lea eax, [esp + 0x10]
cmova eax, dword [esp + 0x10]
push eax
push 0
push 0xc2
push edi
call esi
push 0x4154d0
push 0
push 0xc2
push edi
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x402da7
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d9d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00412679
add esp, 8
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0041263b
mov esp, ebp
pop ebp
ret 4
Function at 0x412efe
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x412f3d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412f3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412f3d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x412f3d
cmp dword [ecx + 0x74], 0xe
jbe 0x412f3d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401089
jmp 0x401030
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm1, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm0, mm1
punpckhwd mm5, mm6
paddd mm4, mm4
paddd mm3, mm5
paddd mm3, mm4
movq qword [edi - 0x10], mm0
add esi, 8
sub eax, 4
movq qword [edi - 8], mm3
jge 0x401030
add eax, 4
jle 0x4010be
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add edx, edx
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x40108f
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x417e10
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, 0x190
push edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov eax, dword [0x634b9c]
push eax
call dword [sym.imp.ole32.dll_RevokeDragDrop]
mov ecx, dword [0x631038]
mov ebp, dword [0x63103c]
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x24]
lea edx, [ecx + ecx]
push eax
or edx, ebp
push edi
mov dword [esp + 0x30], edx
fild qword [esp + 0x30]
fadd qword [0x631050]
fstp qword [0x631050]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0x18]
mov edi, eax
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417f1f
mov ebp, 4
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call sub.comdlg32.dll_FindTextA
test edi, edi
je 0x417eba
mov edx, dword [0x634b9c]
push 0x63488c
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Browse_For_Folder_Width
push eax
call edi
test eax, eax
jne 0x417ee7
mov ebx, dword [esp + 0x1c]
xor esi, esi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Height
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x417f14
or esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov edx, ebx
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x629a99
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x631458
cmp edx, dword [eax]
je 0x629abb
add eax, 8
inc ecx
cmp eax, 0x6314e8
jl 0x629aac
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x631458]
jne 0x629be9
mov eax, dword [0x635de0]
cmp eax, 1
je 0x629bc3
test eax, eax
jne 0x629aec
cmp dword [0x631380], 1
je 0x629bc3
cmp edx, 0xfc
je 0x629be9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629b23
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a480
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629b66
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e8dc
push edi
call fcn.0062c7e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062a480
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062a490
lea eax, [ebp - 0xa0]
push 0x62e8bc
push eax
call fcn.0062a490
push dword [esi + 0x63145c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062a490
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c754
add esp, 0x2c
pop edi
jmp 0x629be9
lea eax, [ebp + 8]
lea esi, [esi + 0x63145c]
push 0
push eax
push dword [esi]
call fcn.0062a910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402dd4
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402e11
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402e31
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404f08
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403010
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403069
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402eac
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402eac
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x403053
inc ebx
jmp 0x40303c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403070
lea eax, [ebp - 8]
call fcn.00404c88
ret

Function at 0x403078
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404c88
test esi, esi
jne 0x4030af
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404d78
jmp 0x4030d0
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402eac
mov dword [esp], eax
test esi, esi
je 0x4030d0
cmp dword [ebx], 0
je 0x4030d0
dec esi
jmp 0x4030b7
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403ce4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x6ed020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403d7c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403d5c
xor eax, eax
push ebp
push 0x403d55
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403d98
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d5c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x6ed020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x6ed020], ax
mov esp, ebp
pop ebp
ret
Function at 0x404ae4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x72604c], 0
je 0x404b45
cmp word [0x726220], 0xd7b2
jne 0x404b0d
cmp dword [0x726228], 0
jbe 0x404b0d
mov eax, 0x72621c
call dword [0x726238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x6ed090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404b6c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6ed030], 0
jne 0x404b61
push 0
push 0x6ed088
push 0x6ed090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret