joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
fldz
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x14], 0
mov word [esp + 0x10], ax
fstp dword [esp + 0x18]
push edi
call fcn.0040afd3
mov ebx, dword [esp + 0x24]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b0a0
fld dword [esp + 0x28]
fsub qword [0x41f370]
mov edx, dword [0x427704]
add esp, 0x10
add edi, esi
fcomp qword [0x41f368]
mov ecx, esi
fnstsw ax
fld dword [esp + 0x18]
fsub qword [0x41f348]
fstp dword [esp + 0x18]
test ah, 1
jne 0x4014fe
mov ax, word [esp + 0x10]
mov bp, word [esp + 0x10]
cwde
movsx ebp, bp
sub eax, ebp
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
sub ebx, 0x42300c
add edx, ebx
cmp esi, edi
je 0x40153d
mov ebp, 1
nop
mov al, byte [edx]
xor byte [ecx], al
mov eax, dword [esp + 0x14]
sub eax, 0x48edf810
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
add ecx, ebp
add edx, ebp
fmul dword [0x425498]
fstp dword [0x425498]
add dword [esp + 0x14], ebp
cmp ecx, edi
jne 0x401510
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x401550
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
xor ecx, ecx
xor eax, eax
mov word [esp], ax
mov word [esp], cx
xor edx, edx
mov word [esp], dx
mov ax, word [0x424244]
movsx ecx, ax
add ecx, 0x4716ab1
mov dword [esp + 4], ecx
push esi
mov ecx, 1
fild dword [esp + 8]
xor eax, eax
fmul qword [0x424e70]
fstp qword [0x424e70]
add word [0x424244], cx
movzx edx, word [esp + 4]
movzx esi, word [esp + 4]
add edx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x44
mov word [esp + 4], dx
dec dword [esp + 4]
mov dword [esp + 0x48], ecx
xor edx, edx
mov word [esp + 0x4c], cx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x68]
mov word [esp + 0x52], dx
lea edx, [esp + 0x20]
push edx
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop esi
add esp, 0x5c
ret
Function at 0x401ac0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x144
mov eax, dword [0x425ee0]
xor eax, esp
mov dword [esp + 0x140], eax
fldz
push ebp
push esi
xor eax, eax
mov word [esp + 0x10], ax
push edi
xor ecx, ecx
mov word [esp + 0xc], cx
xor edi, edi
mov dword [esp + 0x10], edi
fstp qword [esp + 0x1c]
push 0x104
mov dword [esp + 0x10], edi
call fcn.0040afd3
add esp, 4
push edi
push 2
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, edi
je 0x401c8b
lea edx, [esp + 0x24]
push edx
push esi
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401c84
mov edi, ebp
lea eax, [esp + 0x48]
push ebx
sub edi, eax
mov ebx, 1
lea eax, [esp + 0x4c]
mov cl, byte [eax]
mov byte [edi + eax], cl
add eax, ebx
test cl, cl
jne 0x401b47
push ebp
call fcn.0041e143
mov ecx, dword [esp + 0x15c]
add esp, 4
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401b84
test dl, dl
je 0x401b80
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401b84
add eax, 2
add ecx, 2
test dl, dl
jne 0x401b64
xor eax, eax
jmp 0x401b89
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401c1d
cmp dword [esp + 0x15c], eax
je 0x401c7f
mov ecx, dword [esp + 0x30]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401c19
add dword [esp + 0x10], ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
fld qword [esp + 0x20]
mov dx, word [esp + 0x18]
movsx eax, dx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcompp
fnstsw ax
fld qword [esp + 0x20]
fsub qword [0x41f348]
fstp qword [esp + 0x20]
test ah, 1
jne 0x401bf7
fld qword [esp + 0x20]
fadd qword [0x41f3b0]
fstp qword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x42596c]
mov edx, dword [0x423110]
imul ecx, edx
mov dword [0x423110], ecx
add dword [0x42596c], ebx
mov esi, dword [esp + 0x1c]
fld dword [0x423024]
mov dword [esp + 0x28], 0x128
fsub qword [0x41f348]
fstp dword [0x423024]
mov eax, dword [0x425db8]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld dword [0x423024]
mov ecx, dword [0x4231e4]
mov dword [esp + 0x14], ecx
fiadd dword [esp + 0x14]
fsubp st(1)
call fcn.0040aea0
lea edx, [esp + 0x28]
push edx
mov dword [0x425db8], eax
add dword [0x4231e4], ebx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401b43
jmp 0x401c83
add dword [esp + 0x10], ebx
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.0040b405
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040b493
add esp, 0x144
ret
Function at 0x403480
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
xor eax, eax
mov word [esp + 8], ax
fstp dword [esp + 8]
fldz
push edi
push 3
fstp qword [esp + 0x14]
push 0x423134
call fcn.00401480
mov ebx, dword [esp + 0x24]
mov edi, eax
push edi
push ebx
call fcn.0040bc34
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x40352c
fld dword [esp + 0xc]
mov cx, word [0x42597c]
movsx edx, cx
mov dword [esp + 0xc], edx
push 0x3e8
fild dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
fld qword [esp + 0x10]
mov ax, word [0x4232e8]
movsx ecx, ax
mov dword [esp + 0xc], ecx
push edi
push ebx
fild dword [esp + 0x14]
fsubp st(1)
fld qword [esp + 0x18]
faddp st(1)
fsubr qword [esp + 0x18]
fstp qword [esp + 0x18]
inc word [0x4232e8]
fld qword [esp + 0x18]
fadd qword [0x41f348]
fstp qword [esp + 0x18]
call fcn.0040bc34
mov esi, eax
add esp, 8
test esi, esi
je 0x403588
push esi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call fcn.0040bdad
dec dword [0x423570]
mov eax, dword [0x423570]
sub eax, 0x7b4daefb
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
add esp, 0x10
fsub dword [0x423200]
fcomp qword [0x41f500]
fnstsw ax
test ah, 0x44
jp 0x40357f
fld qword [0x423120]
fsub qword [0x41f4f8]
call fcn.0040aea0
mov dword [0x42511c], eax
push esi
call fcn.0040b7da
add esp, 4
xor eax, eax
xor ecx, ecx
xor edx, edx
mov word [esp + 0xc], cx
mov word [edi], ax
mov word [esp + 0xc], dx
push edi
mov byte [edi + 2], al
call fcn.0040b405
movzx eax, word [esp + 0x10]
movzx ecx, word [esp + 0x10]
add esp, 4
pop edi
sub eax, ecx
pop esi
mov word [esp + 4], ax
pop ebx
add esp, 0xc
ret
Function at 0x403e80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
fldz
push ebx
fstp qword [esp + 0xc]
xor eax, eax
fldz
push 0x2e
fstp dword [esp + 8]
push 0x423064
mov word [esp + 0xc], ax
call fcn.00401480
mov cx, word [0x4232b0]
mov dx, word [esp + 0xc]
mov ebx, eax
movsx eax, cx
movsx ecx, dx
sub ecx, eax
or eax, 0xffffffff
add word [0x4232b0], ax
add dword [esp + 0xc], eax
add esp, 8
cmp ecx, 0x11da7a23
jl 0x403ee4
fld dword [0x424fe0]
fmul qword [0x41f570]
fstp dword [0x424fe0]
lea edx, [esp + 8]
push edx
push ebx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403f9c
mov ax, word [0x423290]
movzx ecx, word [esp + 4]
push esi
cwde
push edi
add ecx, eax
push 0x34
mov word [0x423290], cx
inc dword [esp + 0x10]
push 0x42431c
call fcn.00401480
mov edx, 0x1582
mov word [esp + 0x14], dx
mov edx, dword [esp + 0x28]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f40
sub eax, edi
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fld qword [esp + 0x14]
fsub qword [0x41f568]
xor edx, edx
push 0x34
xor ecx, ecx
push edx
fstp qword [esp + 0x1c]
mov word [esp + 0x14], cx
mov word [esp + 0x14], dx
push esi
call fcn.0040b4b0
push esi
call fcn.0040b405
movzx eax, word [esp + 0x1c]
movzx ecx, word [esp + 0x1c]
add esp, 0x10
sub eax, ecx
pop edi
mov word [esp + 8], ax
pop esi
xor eax, eax
push 0x2e
xor edx, edx
push eax
mov word [esp + 0xc], dx
mov word [esp + 0xc], ax
push ebx
call fcn.0040b4b0
push ebx
call fcn.0040b405
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x14]
mov eax, dword [esp + 0x18]
add esp, 0x10
sub ecx, edx
push eax
mov word [esp + 8], cx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
add esp, 0x10
ret
Function at 0x404650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov eax, dword [0x425ee0]
xor eax, esp
mov dword [esp + 0x5c], eax
fldz
xor eax, eax
mov word [esp + 8], ax
fst dword [esp + 4]
push ebx
push ebp
xor edx, edx
mov dword [esp + 0x18], edx
fstp dword [esp + 0x14]
mov dword [esp + 8], edx
fld dword [esp + 0xc]
fadd qword [0x41f348]
push esi
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
add eax, eax
fadd qword [0x423268]
add eax, eax
add eax, eax
push edi
mov edi, ecx
fstp qword [0x423268]
fld qword [0x424f90]
shr edi, 0x1d
fsub qword [0x41f5b8]
or eax, edi
mov ebx, eax
shr ebx, 0x18
mov byte [esp + 0x24], bl
fstp qword [0x424f90]
mov ebx, eax
mov byte [esp + 0x27], al
add ecx, ecx
shr ebx, 0x10
add ecx, ecx
add ecx, ecx
mov byte [esp + 0x25], bl
mov ebx, eax
mov ebp, dword [esp + 0x78]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x28], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x29], al
mov byte [esp + 0x2b], cl
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
shr eax, 8
shr ebx, 8
mov byte [esp + 0x2a], al
fadd dword [esp + 0x1c]
mov byte [esp + 0x26], bl
lea edi, [edx + 0x38]
fstp dword [esp + 0x1c]
inc dword [esp + 0x10]
mov eax, dword [esi]
and eax, 0x3f
cmp eax, 0x38
jb 0x404735
mov edi, 0x78
push 0x40
push edx
lea edx, [esp + 0x34]
push edx
sub edi, eax
call fcn.0040b4b0
push edi
lea eax, [esp + 0x3c]
push eax
push esi
mov byte [esp + 0x44], 0x80
call fcn.00403fe0
push 8
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00403fe0
fld qword [0x41f5b0]
lea eax, [esi + 8]
add esp, 0x24
lea ecx, [ebp + 2]
mov esi, 8
mov dx, word [esp + 0x18]
movsx edx, dx
add edx, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], edx
movzx edx, byte [eax - 1]
fld dword [esp + 0x14]
fsub st(1)
mov byte [ecx - 2], dl
movzx edx, byte [eax - 2]
mov byte [ecx - 1], dl
mov edx, dword [eax - 4]
shr edx, 8
mov byte [ecx], dl
movzx edx, byte [eax - 4]
mov byte [ecx + 1], dl
add ecx, 4
sub esi, 1
fstp dword [esp + 0x14]
jne 0x404776
mov ecx, dword [esp + 0x6c]
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b493
add esp, 0x60
ret
Function at 0x40b493
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425ee0]
jne 0x40b49d
repz ret
jmp fcn.0040f621

Function at 0x416524
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040f887
and dword [ebp - 4], 0
cmp dword [0x428174], 0
mov ebx, eax
jne 0x4165d5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416686
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4209c8
push edi
call esi
test eax, eax
je 0x416686
push eax
call fcn.0040f815
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428174], eax
call esi
push eax
call fcn.0040f815
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428178], eax
call esi
push eax
call fcn.0040f815
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42817c], eax
call esi
push eax
call fcn.0040f815
pop ecx
mov dword [0x428184], eax
test eax, eax
je 0x4165d5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040f815
pop ecx
mov dword [0x428180], eax
mov eax, dword [0x428180]
cmp eax, ebx
je 0x41662d
cmp dword [0x428184], ebx
je 0x41662d
push eax
call fcn.0040f890
push dword [0x428184]
mov esi, eax
call fcn.0040f890
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41662d
test edi, edi
je 0x41662d
call esi
test eax, eax
je 0x416624
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416624
test byte [ebp - 0xc], 1
jne 0x41662d
or dword [ebp + 0x10], 0x200000
jmp 0x416666
mov eax, dword [0x428178]
cmp eax, ebx
je 0x416666
push eax
call fcn.0040f890
pop ecx
test eax, eax
je 0x416666
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416666
mov eax, dword [0x42817c]
cmp eax, ebx
je 0x416666
push eax
call fcn.0040f890
pop ecx
test eax, eax
je 0x416666
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428174]
call fcn.0040f890
pop ecx
test eax, eax
je 0x416686
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416688
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401190
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x4343a0]
test eax, eax
push esi
push edi
je 0x4011eb
mov eax, dword [esp + 0x10]
mov edx, dword [0x433054]
mov ecx, dword [0x433058]
lea esi, [edx + eax]
cmp esi, ecx
jl 0x4011b6
sub ecx, edx
mov eax, ecx
test eax, eax
jle 0x40125f
mov esi, dword [0x433050]
mov edi, dword [esp + 0xc]
add esi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x433054]
add ecx, eax
pop edi
mov dword [0x433054], ecx
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push eax
push ecx
push 1
push esi
call fcn.0041fc55
mov edi, eax
mov eax, dword [0x434390]
add esp, 0x10
test eax, eax
je 0x40125d
test edi, edi
jle 0x40125d
mov edx, dword [0x4341fc]
mov eax, dword [0x4341e0]
lea ecx, [eax + edx]
mov edx, dword [0x4341ec]
mov eax, dword [0x4341e8]
add eax, edx
and ecx, 0xff
and eax, 0xff
test edi, edi
jle 0x40125d
mov dl, byte [0x4341f4]
push ebx
push ebp
mov ebp, edi
mov bl, byte [esi]
xor bl, cl
sub bl, al
add dl, bl
mov byte [esi], dl
inc esi
dec ebp
jne 0x401247
pop ebp
mov byte [0x4341f4], dl
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x40fa80
Capabilities:
Create process on windows

Disassembly:
mov cl, byte [esp + 4]
sub esp, 0x3c
test cl, 2
mov eax, 0xa
je 0x40fa96
mov eax, 2
cmp byte [esi], 0
je 0x40fafc
push edi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [0x434be4]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x14], edx
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop edi
jne 0x40fb5b
push 0x4316c4
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0xe
call fcn.00420110
test cl, 0x10
push eax
je 0x40fb19
push 0x42c3a1
push 0x42c3a1
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40fb3f
test cl, 0x20
je 0x40fb38
push 0x42c3a1
push 0x42c3a1
push edx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40fb3f
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jge 0x40fb5b
push 0x4316c4
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0xe
call fcn.00420110
add esp, 0x3c
ret
Function at 0x412f70
Capabilities:
Log keystrokes

Disassembly:
push ecx
push edi
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x434c08]
test byte [eax + 0x30c], 2
je 0x412ffc
mov edx, dword [esi + 4]
cmp edx, 0x200
mov edi, dword [0x434c00]
jne 0x412fdd
test edi, edi
movzx eax, word [esi + 0xc]
movzx ecx, word [esi + 0xe]
jne 0x412fd2
cmp dword [0x434bf8], eax
jne 0x412fbb
cmp dword [0x434bfc], ecx
je 0x412fdd
push 0x4316c4
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00420110
mov dword [0x434bf8], eax
mov dword [0x434bfc], ecx
cmp edx, 0x100
jne 0x412ffc
test edi, edi
jne 0x412ffc
push 0x4316c4
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], edi
call fcn.00420110
cmp dword [esi + 4], 0x100
jne 0x41303a
cmp dword [esi + 8], 9
jne 0x413010
call fcn.00412cc0
push 2
call fcn.00403cc0
add esp, 4
test eax, eax
je 0x41303a
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ecx
push eax
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push 2
call fcn.00404a50
add esp, 0x10
pop edi
pop ecx
ret
Function at 0x413040
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
cmp dword [edi + 0xec], 9
je 0x4131eb
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ebp, dword [sym.imp.WINMM.dll_timeGetTime]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x413094
cmp dword [esp + 0x1c], 0x12
je 0x4131fd
lea esi, [esp + 0x18]
call fcn.00412f70
jmp 0x4131de
mov eax, dword [edi + 0xec]
dec eax
cmp eax, 7
ja case.0x4130a4.4
jmp dword [eax*4 + 0x41325c]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
cmp dword [esp + 0x1c], 0x12
je 0x413214
lea esi, [esp + 0x18]
call fcn.00412f70
cmp dword [edi + 0xec], 3
je case.0x4130a4.3
push 0xff
push 0x3e8
push 0
push 0
push 0
call ebx
jmp 0x4131de
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00403a40
add esp, 4
mov dword [edi + 0xec], eax
cmp dword [0x43313c], 0xffffffff
jne 0x41316a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push esi
call fcn.00403a80
add esp, 4
test eax, eax
je 0x413143
mov edx, dword [edi + 0xf8]
push 0xff
sub edx, esi
push edx
push 0
push 0
push 0
call ebx
jmp 0x4131de
mov eax, dword [0x434c08]
test byte [eax + 0x30c], 2
je 0x4131de
mov eax, dword [0x434c00]
test eax, eax
je 0x4131de
dec eax
mov dword [0x434c00], eax
jmp 0x4131de
call ebp
mov esi, eax
add esi, 5
push esi
call fcn.00403a80
add esp, 4
test eax, eax
je 0x413196
mov ecx, dword [edi + 0xf8]
push 0xff
sub ecx, esi
push ecx
push 0
push 0
push 0
call ebx
jmp 0x4131de
call ebp
cmp eax, dword [edi + 0xf8]
jge 0x4131b2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebp
cmp eax, dword [edi + 0xf8]
jl 0x4131a0
mov edx, dword [0x434c08]
mov dword [edi + 0xfc], eax
mov dword [edi + 0xec], 0
test byte [edx + 0x30c], 2
jmp 0x41314f
mov dword [edi + 0xec], 3
cmp dword [edi + 0xec], 9
jne 0x413064
mov dword [edi + 0xec], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 0x4316c4
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0
call fcn.00420110
push 0x4316c4
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0
call fcn.00420110
push 0x4316c4
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0xa
call fcn.00420110
push 0x4316c4
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x2a
call fcn.00420110
lea ecx, [ecx]
cmc
xor byte [ecx], al
or dh, byte [ecx]
inc ecx
add byte [eax - 0xaffbed0], dh
xor dword [ecx], eax
cmc
xor dword [ecx], eax
sub esi, dword [edx]
inc ecx
add byte [edx + 0x32], al
inc ecx
add ah, dl
xor dword [ecx], eax
int3
Function at 0x415620
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x110
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
push esi
mov esi, dword [esp + 0x120]
push edi
lea eax, [esp + 0x10]
mov ebx, ecx
mov ecx, dword [esi + 8]
push eax
push ecx
call ebp
mov eax, dword [esi + 0xc]
test eax, eax
mov edi, dword [esp + 0x128]
jl 0x4156ad
mov ecx, dword [ebx + 0x130]
push eax
call fcn.004163f0
mov ecx, dword [esp + 0x12c]
dec ecx
je 0x41567f
dec ecx
je 0x415675
movsx ecx, word [esi + 0x14]
movsx edx, word [esi + 0x16]
jmp 0x415687
movsx ecx, word [esi + 0x18]
movsx edx, word [esi + 0x1a]
jmp 0x415687
movsx ecx, word [esi + 0x1c]
movsx edx, word [esi + 0x1e]
push 0xcc0020
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test byte [esi + 3], 2
je 0x4156d9
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x20]
push edx
push 0xff
push 0xd
push eax
call ebx
mov ecx, dword [esi + 8]
push 0
push 0
push 0x31
push ecx
call ebx
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
push 1
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x25
lea edx, [esp + 0x14]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push ebx
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 0xc

Function at 0x418870
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
push ebx
mov edi, ecx
call fcn.00416340
mov eax, dword [edi + 0x320]
mov ecx, dword [eax + ebx*4]
xor ebp, ebp
test ecx, ecx
je 0x4188c1
mov ecx, eax
mov esi, dword [ecx + ebx*4]
test esi, esi
mov ebp, dword [esi + 0x34]
je 0x4188ab
mov ecx, esi
call fcn.00418450
push esi
call fcn.004200cc
add esp, 4
mov edx, dword [edi + 0x320]
push 0
push ebp
mov dword [edx + ebx*4], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x158
call fcn.004200d1
add esp, 4
test eax, eax
je 0x4188dc
mov dword [eax], 0
mov esi, eax
jmp 0x4188de
xor esi, esi
mov eax, dword [edi + 0x320]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
and ecx, 1
push ecx
mov dword [eax + ebx*4], esi
mov eax, dword [esp + 0x1c]
push edx
push eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x130], edi
mov dword [esi + 0x44], 1
mov ecx, dword [edi + 0x31c]
push ebp
push ecx
mov ecx, esi
call fcn.00418690
xor eax, eax
pop edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x41a8f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [ebx + 8]
push ebp
push esi
mov esi, eax
and esi, 7
je 0x41a91a
cmp eax, esi
jge 0x41a908
mov eax, ebx
call fcn.0041a140
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov ecx, esi
shr edx, cl
sub eax, esi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
jle 0x41a94f
mov esi, 0xfffffff8
mov edx, ecx
lea ebx, [ebx]
mov cl, byte [ebx + 0xc]
mov ebp, dword [ebx + 0xc]
mov byte [esp + eax + 8], cl
shr ebp, 8
add edx, esi
inc eax
test edx, edx
mov dword [ebx + 0xc], ebp
jg 0x41a930
cmp eax, 4
mov dword [ebx + 8], edx
jge 0x41a96e
mov edx, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edx
jb 0x41a95c
xor ecx, ecx
jmp 0x41a964
mov cl, byte [esi]
inc esi
mov dword [ebx], esi
movzx ecx, cl
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 4
jl 0x41a952
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xa]
movzx ebp, ah
movzx edx, al
movzx eax, byte [esp + 0xb]
shl ebp, 8
add ebp, edx
shl eax, 8
mov edx, ebp
add eax, ecx
xor edx, 0xffff
cmp eax, edx
je 0x41a9a8
pop esi
mov dword [0x434c50], 0x42c860
xor eax, eax
pop ebp
pop ecx
ret
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add eax, ebp
cmp eax, ecx
jbe 0x41a9c3
pop esi
mov dword [0x434c50], 0x42c84c
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
add ecx, ebp
cmp ecx, eax
push edi
jbe 0x41a9e2
mov ecx, ebp
mov edi, ebx
call fcn.0041a180
test eax, eax
jne 0x41a9e2
pop edi
pop esi
pop ebp
pop ecx
ret
mov esi, dword [ebx]
mov edi, dword [ebx + 0x10]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
add ecx, ebp
add eax, ebp
pop edi
pop esi
mov dword [ebx + 0x10], eax
mov dword [ebx], ecx
mov eax, 1
pop ebp
pop ecx
ret