joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62cdac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62cec3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
call fcn.0040a8e4
sub eax, 0x7a12000
sbb edx, 0
cmp edx, dword [ebp + 0xc]
jne 0x62cdf7
cmp eax, dword [ebp + 8]
jae 0x62cdfd
jmp 0x62cea2
jl 0x62cea2
mov eax, dword [0x698bdc]
cmp dword [eax], 0
jne 0x62ce2d
lea eax, [ebp - 0x10d]
push eax
push 0xfa
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 8]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00405164
jmp 0x62ce3d
lea eax, [ebp - 8]
mov edx, dword [0x698bdc]
mov edx, dword [edx]
call fcn.00404f8c
lea ecx, [ebp - 0x114]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00631128
mov edx, dword [ebp - 0x114]
lea eax, [ebx + 8]
call fcn.00404f48
xor eax, eax
push ebp
push 0x62ce98
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx + 8]
mov dl, 1
mov eax, dword [0x6190cc]
call fcn.0062d110
mov esi, eax
mov dword [ebx + 4], esi
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, esi
call fcn.0041ea14
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62cea2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62ceca
lea eax, [ebp - 0x114]
call fcn.00404ef4
lea eax, [ebp - 8]
call fcn.00404ef4
ret

Function at 0x62d224
Capabilities:
Get memory capacity

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff94
mov ebx, eax
push 0x62d2e0
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x62d29e
push 0x62d2f0
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [esp + 8], edi
test edi, edi
je 0x62d29e
lea eax, [esp + 0x2c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403740
mov dword [esp + 0x2c], 0x40
lea eax, [esp + 0x2c]
push eax
call dword [esp + 0xc]
test bl, bl
je 0x62d287
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
jmp 0x62d296
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
push esi
call sub.kernel32.dll_FreeLibrary_1
jmp 0x62d2d0
mov dword [esp + 0xc], 0x20
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
test bl, bl
je 0x62d2c3
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x62d2d0
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x6c
pop edi
pop esi
pop ebx
ret

Function at 0x631bd0
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, 0xa
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x631be5
mov al, 1
pop ebx
ret
push 0x14
call sub.kernel32.dll_Sleep_1
dec ebx
jne 0x631bd6
xor eax, eax
pop ebx
ret
Function at 0x63218c
Capabilities:
Log keystrokes via polling

Disassembly:
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x6321a6
push 0x17
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x6321c3
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x6321c0
push 0x17
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x6321c3
xor eax, eax
ret
mov al, 1
ret
Function at 0x649c24
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053a4
xor eax, eax
push ebp
push 0x649d40
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004053b4
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402b30
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x649d0d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x649d50
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 8]
shr ebx, 0x10
mov si, word [eax + 8]
and si, 0xffff
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0x1e], dx
mov di, word [eax + 0xc]
and di, 0xffff
mov eax, dword [ebp - 8]
push eax
movzx eax, bx
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
movzx eax, si
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
movzx eax, word [ebp - 0x1e]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
movzx eax, di
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x649d5c
call fcn.0040b0cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x649d1f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00402b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x649d47
lea eax, [ebp - 4]
call fcn.00404ef4
ret

Function at 0x649f5c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.004053b4
push eax
mov eax, edi
call fcn.004053b4
push eax
mov eax, ebx
call fcn.004053b4
push eax
mov eax, esi
call fcn.004053b4
push eax
push 0
call sub.shell32.dll_ShellExecuteA
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x64a060
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x64a090
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x64a08a
push esi
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
jmp 0x64a090
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x64a118
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405164
add esp, 0x100
pop ebx
ret
Function at 0x64a278
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053a4
xor eax, eax
push ebp
push 0x64a2c6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov eax, dword [ebp - 4]
call fcn.004053b4
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 4]
call fcn.0040a518
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64a2cd
lea eax, [ebp - 4]
call fcn.00404ef4
ret

Function at 0x64a2d4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053a4
xor eax, eax
push ebp
push 0x64a3b5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov eax, dword [ebp - 4]
call fcn.004053b4
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x698dd8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x64a3d0
mov edx, dword [ebp - 4]
call fcn.00405200
mov eax, dword [ebp - 0x28]
call fcn.004053b4
mov dword [ebp - 0x1a], eax
mov eax, 0x64a3d4
mov dword [ebp - 0x16], eax
test bl, bl
je 0x64a350
mov word [ebp - 0x12], 0x54
jmp 0x64a356
mov word [ebp - 0x12], 0x40
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x64a38b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a397
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64a3bc
lea eax, [ebp - 0x28]
call fcn.00404ef4
lea eax, [ebp - 4]
call fcn.00404ef4
ret
Function at 0x64a54c
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004053a4
mov eax, dword [ebp - 0xc]
call fcn.004053a4
xor eax, eax
push ebp
push 0x64a691
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
sub eax, 1
jb 0x64a588
je 0x64a58e
jmp 0x64a59a
xor ebx, ebx
xor esi, esi
jmp 0x64a5a1
mov ebx, 1
mov esi, 1
jmp 0x64a5a1
xor ebx, ebx
mov esi, 2
mov dl, 1
mov eax, dword [0x43ee40]
call fcn.0043ef44
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x64a64a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
sub eax, 1
jae 0x64a5e4
mov edx, 0x80000003
mov eax, dword [ebp - 0x10]
call fcn.0043f020
mov cl, 1
mov edx, 0x64a6ac
mov eax, dword [ebp - 0x10]
call fcn.0043f164
jmp 0x64a600
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.0043f020
mov cl, 1
mov edx, 0x64a6cc
mov eax, dword [ebp - 0x10]
call fcn.0043f164
test al, al
je 0x64a640
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x64a6e4
mov edx, 0x64a6f8
mov eax, dword [ebp - 0x10]
call fcn.0043f800
push ebx
mov ecx, 0x64a708
mov edx, 0x64a6f8
mov eax, dword [ebp - 0x10]
call fcn.0043f8b0
push esi
mov ecx, 0x64a720
mov edx, 0x64a6f8
mov eax, dword [ebp - 0x10]
call fcn.0043f8b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a654
mov eax, dword [ebp - 0x10]
call fcn.00404084
cmp dword [ebp - 4], 0
je 0x64a676
push 3
mov eax, dword [ebp - 8]
call fcn.004053b4
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64a698
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404f18
ret
Function at 0x6525b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004053b4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x656b74
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x656bc9
mov ebx, dword [esi - 4]
mov edx, ebx
mov edi, eax
add ebx, 0xffffffff
jl 0x656bc9
and ebx, 0xfffffffc
call fcn.00405540
mov eax, dword [esi + ebx]
mov edi, dword [edi]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x656b98
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404ef4
Function at 0x65cef8
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x65d023
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x65cfe5
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403740
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x10], 1
mov eax, esi
call fcn.004053b4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x34]
add eax, 0xfffffffd
sub eax, 2
jb 0x65cfa0
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x44], 0xb
lea eax, [ebp - 0x48]
push eax
push 0
push 0
lea edx, [ebp - 0x4c]
mov eax, dword [0x698b80]
call fcn.004072e4
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x65bba8]
call fcn.0065c250
call fcn.00404864
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x8c], eax
movzx eax, word [ebp - 0x28]
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0x80]
push eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 4]
inc edx
mov ecx, dword [ebp - 0x2c]
mov eax, esi
call fcn.00405414
lea eax, [ebx + 0x84]
push eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 4]
inc edx
mov ecx, dword [ebp - 0x10]
mov eax, esi
call fcn.00405414
jmp 0x65d00d
mov dword [ebx + 0x88], 0x50
lea eax, [ebx + 0x80]
call fcn.00404ef4
lea eax, [ebx + 0x84]
call fcn.00404ef4
xor eax, eax
mov dword [ebx + 0x8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65d02a
lea eax, [ebp - 0x4c]
call fcn.00404ef4
ret
Function at 0x65d180
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7d], 0
jne 0x65d2c0
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x65d1a7
call fcn.0040e448
push ebp
call fcn.0065d154
pop ecx
push eax
push ebp
call fcn.0065d120
pop ecx
push eax
push ebp
call fcn.0065d080
pop ecx
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x78]
mov eax, dword [eax*4 + 0x69880c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0xbc]
call fcn.004053b4
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x90], ebx
test ebx, ebx
setne dl
xor dl, 1
mov eax, dword [ebp - 4]
call fcn.0065cd30
xor eax, eax
push ebp
push 0x65d297
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x65cb70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
push eax
call sub.wininet.dll_InternetSetStatusCallback
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004053b4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004053b4
push eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x88]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004053b4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
push eax
call sub.wininet.dll_InternetConnectA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x94], ebx
test ebx, ebx
setne dl
xor dl, 1
mov eax, dword [ebp - 4]
call fcn.0065cd30
mov eax, dword [ebp - 4]
mov byte [eax + 0x7d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65d2c0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x66537c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, dword [0x698860]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x6653aa
cmp eax, 0x32
jae 0x6653ac
jmp 0x6653fe
jl 0x6653fe
xor eax, eax
push ebp
push 0x6653ea
push dword fs:[eax]
mov dword fs:[eax], esp
sub esi, 9
je 0x6653c4
dec esi
je 0x6653d3
jmp 0x6653e0
mov edx, dword [ebx + 0x460]
mov eax, ebx
call fcn.006629e8
jmp 0x6653e0
mov edx, dword [ebx + 0x45c]
mov eax, ebx
call fcn.006629e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6653f4
call sub.kernel32.dll_GetTickCount
mov dword [0x698860], eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x66794c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x66736c
call fcn.0040759c
mov esi, dword [0x698dd8]
xor eax, eax
push ebp
push 0x667a67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
call fcn.00461228
mov eax, dword [esi]
mov edx, 0x667a80
call fcn.00460de0
mov ecx, dword [0x698e34]
mov eax, dword [esi]
mov edx, dword [0x65e6d8]
call fcn.00461240
lea edx, [ebp - 0x14]
mov eax, 1
call fcn.00402f00
mov eax, dword [ebp - 0x14]
call fcn.0040a414
test al, al
je 0x6679cf
mov eax, dword [0x698e34]
mov eax, dword [eax]
lea edx, [eax + 0x50c]
mov eax, 1
call fcn.00402f00
jmp 0x6679e0
mov eax, dword [0x698e34]
mov eax, dword [eax]
add eax, 0x50c
call fcn.00404ef4
mov eax, dword [0x698e34]
mov eax, dword [eax]
call fcn.006613f4
mov eax, dword [esi]
call fcn.004612c0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x65e614]
call fcn.00660e64
jmp 0x667a18
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [esi]
call fcn.00461104
mov eax, dword [0x698bac]
cmp byte [eax], 0
je 0x667a47
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x667a45
cmp eax, 0xbb8
jb 0x667a0a
jmp 0x667a47
jl 0x667a0a
call sub.kernel32.dll_GetCurrentProcessId
call fcn.0064a060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x667a6e
lea eax, [ebp - 0x14]
call fcn.00404ef4
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x426037
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x42603d
pop eax
sub eax, 0x3d
push eax
lea edi, [eax - 0x25000]
push edi
lea esi, [eax + 0x1e8]
or ebp, 0xffffffff
xor ebx, ebx
nop
nop
nop
nop
add ebx, ebx
jne 0x426063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426070
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
jmp 0x426058
mov eax, 1
add ebx, ebx
jne 0x426080
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x426075
jne 0x426091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426075
xor ecx, ecx
sub eax, 3
jb 0x4260ff
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42611a
mov ebp, eax
add ebx, ebx
jne 0x4260b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4260bd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4260e1
inc ecx
add ebx, ebx
jne 0x4260cd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x4260c2
jne 0x4260de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4260c2
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x426104
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4260f1
jmp 0x426058
mov eax, ebp
jmp 0x4260a5
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x426104
add edi, ecx
jmp 0x426058
pop esi
pop ebp
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0xaf3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42612b
cmp byte [edi], 0xd
jne 0x42612b
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x426130
pop edi
mov eax, dword [edi]
or eax, eax
je 0x426195
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24020]
add ebx, esi
push eax
add edi, 8
call dword [ebp]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x426158
push edx
mov ecx, edi
jns 0x426185
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [ebp + 4]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x426172
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4261c6
cmp al, 0xef
ja 0x4261b9
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42619b
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4261a8
popal
jmp 0x4172cc
Function at 0x405100
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004053b0
mov byte [esp], al
cmp byte [esp], 0
jne 0x40528c
test edi, edi
je 0x40528c
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4051c3
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x40519e
cmp edi, 0xffffffff
je 0x40515f
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40515f
mov byte [esp], 0
jmp 0x40528c
mov ebx, dword [esi]
cmp ebx, 1
jg 0x40519e
test ebx, ebx
jne 0x405194
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0040240c
test eax, eax
jne 0x405194
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40528c
call 0x4053f4
dec ebp
test ebp, ebp
jg 0x405144
cmp edi, 0xffffffff
je 0x4051c3
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4051c1
mov byte [esp], 0
jmp 0x40528c
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40510e
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.0040240c
cmp ebx, eax
jne 0x4051c3
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004052fc
mov edx, eax
mov ebx, dword [0x4298ec]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40522a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405228
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40522a
xor edi, edi
cmp byte [esp], 0
je 0x405253
mov ebx, dword [esi]
test bl, 1
jne 0x40526c
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.0040240c
cmp ebx, eax
jne 0x405230
mov byte [esp + 1], 1
jmp 0x40526c
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.0040240c
cmp ebx, eax
jne 0x405253
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4051dd
cmp byte [esp], 0
je 0x40528c
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405c54
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x429050], 0
je 0x405cbb
cmp word [0x429338], 0xd7b2
jne 0x405c7d
cmp dword [0x429340], 0
jbe 0x405c7d
mov eax, 0x429334
call dword [0x429350]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x405ce8
call fcn.00406508
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42702e], 0
jne 0x405cd7
push 0
push 0x4279ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret