joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407297
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7df95c], 0
jne 0x4072d5
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072ab
mov dword [ecx*4 + 0x7df958], eax
inc ecx
cmp ecx, 0x100
jl 0x4072a6
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407302
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7df958]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072e3
not eax
pop ebp
ret 0xc

Function at 0x401000
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
push 0x3000
push 0x2e0
mov ecx, 0xb8
mov dword [ebp - 0x2e8], 0
mov esi, 0x402170
lea edi, [ebp - 0x2e4]
rep movsd dword es:[edi], dword [esi]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
lea esi, [ebp - 0x2e4]
lea eax, [ebp - 0x2e8]
mov ecx, 0xb8
push eax
push 0x20
push 0x2e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4010c0
push 0x402108
mov dword [ebp - 0x2fc], 0x14
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x2ec], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x2fc]
push eax
push 0x402108
push str.C:WindowsDirectX.log
call dword [sym.imp.KERNEL32.dll_CopyFile2]
push 0x8000
push 0x2e0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010e4
mov esp, ebp
pop ebp
ret
Function at 0x401490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x54]
push ebx
push esi
mov ebx, eax
mov esi, edx
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.0040a820
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.0040a820
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
test esi, esi
jne 0x4014d0
mov esi, 0x58f2f0
push esi
mov eax, ebx
test ebx, ebx
jne 0x4014dc
mov eax, 0x58f2f0
push eax
call sub.kernel32.dll_CreateProcessA
push dword [ebp - 0x50]
call sub.kernel32.dll_CloseHandle
push dword [ebp - 0x54]
call sub.kernel32.dll_CloseHandle
pop esi
pop ebx
leave
ret
Function at 0x401690
Capabilities:
Copy file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x3c]
push ebx
push esi
push edi
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, 1
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.00404a60
call fcn.00405cb0
push eax
test eax, eax
jne 0x40184c
lea eax, [ebp - 0x34]
call fcn.004027b0
mov edx, dword [edi + 4]
lea eax, [ebp - 0x34]
call fcn.00402ef0
lea eax, [ebp - 0x38]
call fcn.004027b0
mov edx, dword [edi]
lea eax, [ebp - 0x38]
call fcn.00402ef0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40170e
mov eax, 0x58f2f0
push eax
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40171b
mov eax, 0x58f2f0
push eax
call sub.kernel32.dll_MoveFileA
or eax, eax
setne dl
mov al, dl
lea eax, [ebp - 0x38]
call fcn.004027b0
mov eax, dword [edi]
test eax, eax
jne 0x40173b
mov eax, 0x58f2f0
lea ecx, [ebp - 0x34]
mov dx, 0
call fcn.004037e0
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
call fcn.00402ef0
lea eax, [ebp - 0x34]
call fcn.004027b0
mov eax, dword [edi + 4]
test eax, eax
jne 0x401766
mov eax, 0x58f2f0
lea ecx, [ebp - 0x3c]
mov dx, 0
call fcn.004037e0
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
call fcn.00402ef0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40178b
mov eax, 0x58f2f0
push eax
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x401798
mov eax, 0x58f2f0
push eax
call sub.kernel32.dll_CopyFileA
or eax, eax
setne dl
mov al, dl
mov eax, dword [edi]
lea edx, [ebp - 0x3c]
call fcn.0040b070
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.00402ef0
lea eax, [ebp - 4]
call fcn.00401610
lea eax, [ebp - 4]
call fcn.0040d770
mov edx, dword [edi]
lea eax, [ebp - 8]
call fcn.00402ef0
call fcn.00408df0
test eax, eax
jle 0x40182b
call fcn.00408df0
mov ebx, eax
mov esi, 1
cmp ebx, esi
jb 0x40182b
sub esi, 1
add esi, 1
push 0
lea eax, [ebp - 0x3c]
call fcn.004027b0
push 0
lea edx, [ebp - 0x38]
mov eax, esi
call fcn.00409b80
mov ecx, dword [ebp - 0x38]
mov edx, 0x40f020
lea eax, [ebp - 0x3c]
call fcn.00402ff0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
lea eax, [ebp - 8]
call fcn.00402ff0
cmp ebx, esi
ja 0x4017f0
mov eax, dword [edi]
mov edx, dword [ebp - 4]
call fcn.0040b160
mov eax, dword [edi]
mov edx, dword [ebp - 8]
call fcn.00401490
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
call fcn.00404ce0
lea eax, [ebp - 0x3c]
call fcn.004027b0
lea eax, [ebp - 0x38]
call fcn.004027b0
lea eax, [ebp - 0x34]
call fcn.004027b0
lea eax, [ebp - 4]
call fcn.004027b0
lea eax, [ebp - 8]
call fcn.004027b0
pop eax
test eax, eax
je 0x401883
call fcn.00404da0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401890
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x78]
push ebx
push esi
push edi
mov edx, 0x58d234
lea eax, [ebp - 8]
call fcn.00404fc0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x74]
mov edx, 0x58d234
call fcn.00404fc0
mov eax, 1
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x50]
call fcn.00404a60
call fcn.00405cb0
push eax
test eax, eax
jne 0x401984
mov ebx, 0x58d234
lea eax, [ebp - 0x74]
call fcn.00401500
lea eax, [ebp - 0x74]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004053b0
mov eax, dword [ebp - 4]
call fcn.0040b030
test al, al
jne 0x40190c
lea eax, [ebp - 8]
call fcn.00401690
jmp 0x401984
lea eax, [ebp - 0x78]
call fcn.004027b0
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x78]
call fcn.00402ef0
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x40192b
mov eax, 0x58f2f0
push eax
call sub.kernel32.dll_DeleteFileA
or eax, eax
setne dl
mov al, dl
lea eax, [ebp - 0x44]
call fcn.0040a100
mov ebx, 0x17e200
push 0x40
push 0x3000
push ebx
push 0
call dword [ebp - 0x44]
lea edx, [ebx - 1]
mov ebx, 0
cmp edx, ebx
jl 0x40197c
sub ebx, 1
lea esi, [esi]
add ebx, 1
lea esi, [eax + ebx]
mov ecx, 0x40f030
lea edi, [ebx + 1]
mov cl, byte [ecx + edi - 1]
mov byte [esi], cl
cmp edx, ebx
jg 0x401964
lea edx, [ebp - 0x44]
call fcn.0040a7e0
call fcn.00404ce0
lea eax, [ebp - 0x78]
call fcn.004027b0
lea eax, [ebp - 0x74]
mov edx, 0x58d234
call fcn.00405020
mov edx, 0x58d234
lea eax, [ebp - 8]
call fcn.00405020
pop eax
test eax, eax
je 0x4019b5
call fcn.00404da0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405410
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x58f350], eax
mov ecx, 1
sub ecx, 1
lea esi, [esi]
add ecx, 1
mov edx, dword [ecx*4 + 0x58f34c]
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [eax + ecx]
mov dword [ecx*4 + 0x58f350], eax
cmp ecx, 0x26f
jl 0x405420
mov dword [0x40e410], 0x270
ret
Function at 0x405460
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, dword [0x58e010]
cmp eax, dword [0x40e3c0]
je 0x405478
mov dword [0x40e410], 0x271
cmp dword [0x40e410], 0x270
jl 0x405597
cmp dword [0x40e410], 0x271
jne 0x4054af
mov eax, dword [0x58e010]
call fcn.00405410
mov eax, dword [0x58e010]
not eax
mov dword [0x58e010], eax
mov dword [0x40e3c0], eax
mov ebx, 0
sub ebx, 1
nop
add ebx, 1
mov eax, dword [ebx*4 + 0x58f354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x58f350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x58f984]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40e420]
xor edx, eax
mov dword [ebx*4 + 0x58f350], edx
cmp ebx, 0xe2
jl 0x4054b8
mov ebx, 0xe3
sub ebx, 1
mov esi, esi
add ebx, 1
mov eax, dword [ebx*4 + 0x58f354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x58f350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x58efc4]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40e420]
xor edx, eax
mov dword [ebx*4 + 0x58f350], edx
cmp ebx, 0x26e
jl 0x40550c
mov eax, dword [0x58fd0c]
and eax, 0x80000000
mov edx, dword [0x58f350]
and edx, 0x7fffffff
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [0x58f980]
xor edx, eax
and ecx, 1
mov eax, dword [ecx*4 + 0x40e420]
xor eax, edx
mov dword [0x58fd0c], eax
mov dword [0x40e410], 0
mov eax, dword [0x40e410]
mov eax, dword [eax*4 + 0x58f350]
add dword [0x40e410], 1
mov edx, eax
shr edx, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop ebx
ret

Function at 0x406e00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x40e170]
cmp ax, 0xcb
je 0x406efc
cmp ax, 0xcc
je 0x406efc
mov edx, dword [0x58ff60]
test edx, edx
je 0x406e32
mov eax, dword [0x58fe00]
call edx
mov ebx, eax
jmp 0x406e37
mov ebx, 0x58fe04
cmp word [0x58fdf0], 0
jle 0x406e5a
mov eax, 0x58fdd0
call fcn.00407070
mov eax, ebx
call fcn.004069e0
mov eax, ebx
call fcn.00406a50
mov edi, dword [ebx]
jmp 0x406e7a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x406e75
mov edx, edi
mov eax, ebx
call fcn.00405eb0
jmp 0x406e78
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x406e60
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x58fdf0], 0
jle 0x406efc
mov edx, 0x58fd10
mov eax, ebx
call fcn.00405fe0
mov edi, eax
test edi, edi
je 0x406ecf
mov eax, dword [0x58fda4]
mov dword [edi + 0xc], eax
cmp dword [0x58fda4], 0
je 0x406ec4
mov eax, dword [0x58fda4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x58fda4], eax
sub word [0x58fdf0], 1
cmp word [0x58fdf0], 0
sete bl
mov eax, 0x58fdd0
call fcn.00407080
test bl, bl
je 0x406efc
mov eax, 0x58fdd0
call fcn.00407060
pop edi
pop esi
pop ebx
ret
Function at 0x408b90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x114], 0
mov dword [0x58f250], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.00408d70
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x58f250]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004022a0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x40e1e0], eax
mov esi, dword [0x40e1e0]
jmp 0x408d30
add esi, 1
movzx eax, byte [esi]
sub eax, 1
cmp eax, 0x20
jb 0x408c20
cmp byte [esi], 0
je 0x408d39
mov byte [ebp - 0x10c], 0
mov edi, esi
mov dword [ebp - 0x110], 0
jmp 0x408c95
mov al, byte [esi]
cmp al, 1
jb 0x408c8b
sub al, 0x20
jbe 0x408c5c
sub al, 2
je 0x408c6f
jmp 0x408c8b
mov al, byte [ebp - 0x10c]
test al, al
je 0x408c9a
add dword [ebp - 0x110], 1
jmp 0x408c92
cmp byte [esi + 1], 0x22
je 0x408c86
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x408c92
add esi, 1
jmp 0x408c92
add dword [ebp - 0x110], 1
add esi, 1
cmp byte [esi], 0
jne 0x408c4c
test dword [ebp - 0x114], 0xffffffff
je 0x408d29
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00408d70
mov byte [ebp - 0x10c], 0
mov esi, edi
mov eax, dword [0x58f250]
mov edx, dword [ebp - 0x114]
mov ebx, dword [eax + edx*4]
jmp 0x408d21
mov al, byte [esi]
cmp al, 1
jb 0x408d17
sub al, 0x20
jbe 0x408ce8
sub al, 2
je 0x408cfb
jmp 0x408d17
mov al, byte [ebp - 0x10c]
test al, al
je 0x408d26
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
jmp 0x408d1e
cmp byte [esi + 1], 0x22
je 0x408d12
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x408d1e
add esi, 1
jmp 0x408d1e
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
add esi, 1
cmp byte [esi], 0
jne 0x408cd8
mov byte [ebx], 0
add dword [ebp - 0x114], 1
cmp byte [esi], 0
jne 0x408c23
mov ebx, dword [ebp - 0x114]
mov dword [0x58f240], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x58f250
call fcn.00406c60
mov eax, dword [0x58f250]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409fa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409f60
test al, al
jne 0x409fd7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x409fb8
mov eax, dword [ebp - 4]
leave
ret
Function at 0x409fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
lea esp, [esp - 0x48]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov edx, dword [eax + 0x3c]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ecx]
mov eax, dword [eax + 0x78]
mov edx, dword [esp + 0x3c]
lea esi, [eax + edx]
mov edi, esp
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], 0
call fcn.00409ca0
mov dword [esp + 0x28], eax
call fcn.00409cd0
mov ebp, eax
mov eax, dword [esp + 0x18]
sub eax, 1
mov edi, eax
mov esi, 0
cmp edi, esi
jb 0x40a0ea
sub esi, 1
nop
add esi, 1
mov eax, esi
shl eax, 2
add eax, dword [esp + 0x30]
mov eax, dword [eax]
add eax, dword [esp + 0x3c]
mov ebx, eax
mov edx, ebx
mov eax, ebp
call fcn.00409f30
test al, al
je 0x40a0ac
mov eax, esi
shl eax, 1
add eax, dword [esp + 0x2c]
movzx eax, word [eax]
shl eax, 2
add eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
mov al, byte [esp + 0x34]
test al, al
jne 0x40a0ea
mov byte [esp + 0x34], 1
mov edx, ebx
mov eax, dword [esp + 0x28]
call fcn.00409f30
test al, al
je 0x40a0e2
mov eax, esi
shl eax, 1
add eax, dword [esp + 0x2c]
movzx eax, word [eax]
shl eax, 2
add eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov al, byte [esp + 0x34]
test al, al
jne 0x40a0ea
mov byte [esp + 0x34], 1
cmp edi, esi
ja 0x40a064
lea esp, [esp + 0x48]
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40a520
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x7c]
push ebx
push esi
push edi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 8], 0x40
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], eax
mov edx, dword [eax + 0x30]
mov eax, dword [ecx + 0x3c]
lea eax, [edx + eax]
movzx edx, word [eax + 6]
add eax, 0xf8
mov dword [ebp - 0x74], eax
lea eax, [edx - 1]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
jb 0x40a6a5
sub dword [ebp - 0x6c], 1
lea esi, [esi]
add dword [ebp - 0x6c], 1
imul eax, dword [ebp - 0x6c], 0x28
mov edx, dword [ebp - 0x74]
lea esi, [eax + edx]
lea edi, [ebp - 0x4c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
or edx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
test dword [ebp - 0x50], 0xffffffff
je 0x40a699
mov ebx, dword [ebp - 0x28]
mov eax, ebx
and eax, 0x2000000
je 0x40a5fc
push 0x4000
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 8]
jmp 0x40a699
mov eax, ebx
and eax, 0x20000000
je 0x40a60e
mov dword [ebp - 0x68], 1
jmp 0x40a615
mov dword [ebp - 0x68], 0
mov eax, ebx
and eax, 0x40000000
je 0x40a627
mov dword [ebp - 0x64], 1
jmp 0x40a62e
mov dword [ebp - 0x64], 0
mov eax, ebx
and eax, 0x80000000
je 0x40a640
mov dword [ebp - 0x60], 1
jmp 0x40a647
mov dword [ebp - 0x60], 0
mov eax, ebx
and eax, 0x4000000
je 0x40a659
mov dword [ebp - 0x5c], 1
jmp 0x40a660
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x68]
shl eax, 4
lea eax, [ebp + eax - 0x24]
mov edx, dword [ebp - 0x64]
lea ecx, [eax + edx*8]
mov eax, dword [ebp - 0x60]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x5c], 1
jne 0x40a686
or dword [ebp - 0x54], 0x200
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 4]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
ja 0x40a5a4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
jmp 0x421e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421e60
mov eax, 1
add ebx, ebx
jne 0x421e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421e78
jne 0x421e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421e78
xor ecx, ecx
sub eax, 3
jb 0x421ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421f1a
mov ebp, eax
add ebx, ebx
jne 0x421eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x421ee4
inc ecx
add ebx, ebx
jne 0x421ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x421ec5
jne 0x421ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x421f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x421ef5
jmp 0x421e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x421f04
add edi, ecx
jmp 0x421e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x421f22
cmp byte [edi], 9
jne 0x421f22
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 al, bl
loop 0x421f27
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2424c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2432c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421f54
mov ecx, edi
jns 0x421f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24334]
or eax, eax
je 0x421f99
mov dword [ebx], eax
add ebx, 4
jmp 0x421f71
call dword [esi + 0x24330]
mov ebp, dword [esi + 0x24338]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x421fd3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x7b774848
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x2da30949
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4df7b41
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x28dc4674
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401ac0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4051b0], eax
mov ecx, ebp
add ecx, 8
mov dword [0x4050f4], ecx
mov dword [0x405130], 0x30
mov dword [0x405134], 2
mov dword [0x40513c], 0
mov dword [0x405140], 0
mov dword [0x405138], 0x401f60
jmp 0x401b13
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x405144], eax
mov dword [0x405150], 0xf
mov dword [0x405158], 0x40409b
mov dword [0x4050ec], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x405148], eax
mov dword [0x40515c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40514c], eax
push 0x405130
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4050ec]
push 0
push 0
push 0x1e4
push 0x21d
push 0x1f40
push 0xdac
push 0x40000
push str.gest
push str.werti
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x4051a8], eax
xor eax, eax
jmp 0x401bb2
push 5
push dword [0x4051a8]
call dword [sym.imp.user32.dll_ShowWindow]
test eax, eax
jne 0x401be6
push 0
push 0x1e0
push 0x219
push 0x1f40
push 0xdac
push dword [0x4051a8]
call dword [sym.imp.user32.dll_MoveWindow]
push dword [0x4051a8]
call dword [sym.imp.user32.dll_UpdateWindow]
push 0
push 0
push 0
push 0x405160
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x401c1f
push 0x405160
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405160
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x401bf2
mov eax, dword [0x405168]
jmp 0x401c2c
call 0x4013d0
ret
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x40892b
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
call fcn.00408956
xor dword [edi], eax
dec edx
mov ebx, 0x2add7f3d
add edi, 1
inc edx
cmp edi, esi
jne fcn.0040892b
ret