joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a234
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cbef4
call fcn.00497084
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x508ce4
push str._sMediaProbe.exe
push edi
call fcn.004afb27
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x508ce4]
call esi
test eax, eax
jne 0x43a278
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b238d
push ebx
mov edi, 0x508ce8
push str._sMediaEncode.exe
push edi
call fcn.004afb27
add esp, 0xc
push dword [0x508ce8]
call esi
test eax, eax
jne 0x43a2a4
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b238d
push dword [0x508ce8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041d1c3
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b249b
push eax
mov ecx, 0x508cec
mov byte [ebp - 4], 1
call fcn.004b233d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b21f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b21f6
push ebx
mov edi, 0x508cf0
push str._sMediaPlay.exe
push edi
call fcn.004afb27
add esp, 0xc
push dword [0x508cf0]
call esi
test eax, eax
jne 0x43a31b
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b238d
cmp dword [0x508cf4], 0
jne 0x43a41f
mov eax, dword [0x5046b0]
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
pop edi
push ebx
push str._s_avcodec_60.dll
push eax
mov dword [ebp - 4], edi
call fcn.004afb27
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a35b
mov dword [0x508cf4], 6
cmp dword [0x508cf4], 0
jne 0x43a413
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004afb27
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a38d
mov dword [0x508cf4], 5
cmp dword [0x508cf4], 0
jne 0x43a413
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004afb27
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a3bb
mov dword [0x508cf4], 4
cmp dword [0x508cf4], 0
jne 0x43a413
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004afb27
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a3e9
mov dword [0x508cf4], 3
cmp dword [0x508cf4], 0
jne 0x43a413
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004afb27
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a413
mov dword [0x508cf4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b21f6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x508cf8], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43a43a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x508cf0]
call esi
test eax, eax
je 0x43a45a
xor eax, eax
push eax
push eax
push eax
push dword [0x508cf0]
jmp 0x43a48a
push dword [0x508ce8]
call esi
test eax, eax
je 0x43a473
xor eax, eax
push eax
push eax
push eax
push dword [0x508ce8]
jmp 0x43a48a
push dword [0x508ce4]
call esi
test eax, eax
je 0x43a492
xor eax, eax
push eax
push eax
push eax
push dword [0x508ce4]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x43b4ff
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4cbfec
call fcn.00497084
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b53d
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041d1c3
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b21f6
lea eax, [ebp - 0x14]
push eax
call fcn.0041f484
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041c6d5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b21f6
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b238d
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x68]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0043b2e0
test eax, eax
je 0x43b594
mov esi, eax
jmp 0x43b5c9
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x28]
test eax, eax
je 0x43b5ae
or esi, 0xffffffff
jmp 0x43b5c9
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x43b5c9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041c742
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x43fc40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cc2f8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
push esi
mov ebx, ecx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43fcc2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43fce7
push ebp
push eax
lea ecx, [esp + 0x18]
call fcn.004457d0
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x3c], 0
call fcn.0043fdf0
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x34], 0xffffffff
call fcn.00445820
mov al, bl
jmp 0x43fce9
mov edi, str.Unable_to_load_resource_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor al, al
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x4496c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.0043c9a0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x4496f2
mov dword [esp + 0x2c], 0
jmp 0x44970d
mov ecx, ebp
call fcn.0043c9a0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.0043c9a0
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.0043c9b0
cmp eax, esi
jae 0x44974d
mov ecx, ebp
call fcn.0043c9b0
mov dword [esp + 0x10], eax
jmp 0x449751
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.0043c7d0
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x4497bd
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x4497b8
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.0043dc50
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x4497ab
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0043e0c0
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x449778
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x449766
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x44cf60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x44cf90
push esi
call fcn.0044d460
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x44cf89
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x44d013
mov eax, dword [esi + 0x1a0]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x44cfff
mov eax, dword [esi + 8]
test eax, eax
je 0x44cfb4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1a0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44cffb
cmp eax, 2
je 0x44cfff
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44cfa7
cmp eax, 3
je 0x44cfda
cmp eax, 1
jne 0x44cfa7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44cfa7
mov edx, dword [esi + 0x120]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44cfa7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0044d040
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44d033
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0044d040
add esp, 4
pop esi
ret
Function at 0x474ee0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x474efa
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x474efa
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x476ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push 1
call fcn.004784c0
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, esi
jne 0x476b03
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0xf4240
mov dword [edx + 0x258], eax
mov ecx, dword [ebp - 4]
push 0x40
mov dword [ecx + 0x25c], eax
push fcn.0049a3f4
mov edx, dword [ebp - 4]
push edx
call fcn.00474e80
push esi
push eax
call fcn.0049a470
add esp, 0x14
test eax, eax
je 0x476b3f
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004786e0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00474f40
mov edi, dword [ebp + 8]
add esp, 0x20
cmp edi, esi
mov ebx, 0x20000
je 0x476ba9
push 0
call fcn.00475670
mov dl, byte [esi + edi]
mov cl, byte [eax + esi]
add esp, 4
cmp dl, cl
je 0x476b97
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
or ecx, ebx
mov dword [eax + 0x70], ecx
push 0
call fcn.00475670
mov al, byte [eax + esi]
add esp, 4
inc esi
test al, al
jne 0x476b78
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x70]
test ebx, eax
je 0x476c21
test edi, edi
je 0x476c1a
mov bl, byte [edi]
push 0
call fcn.00475670
mov cl, byte [eax]
add esp, 4
cmp bl, cl
jne 0x476bed
cmp bl, 0x31
jne 0x476be2
push 0
call fcn.00475670
mov dl, byte [edi + 2]
mov cl, byte [eax + 2]
add esp, 4
cmp dl, cl
jne 0x476bed
cmp byte [edi], 0x30
jne 0x476c21
cmp byte [edi + 2], 0x39
jge 0x476c21
test edi, edi
je 0x476c1a
push 0
call fcn.00475670
push eax
push edi
push str.Application_built_with_libpng__.20s_but_running_with__.20s
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.0049a882
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00474ca0
add esp, 0x20
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 8]
test eax, eax
jne 0x476c6f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004786b0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
test eax, eax
jne 0x476c68
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x476cac
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00478660
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
push ecx
mov dword [eax + 0xb0], 0
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00478560
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00478440
mov edx, dword [ebp - 4]
push edx
call fcn.004771d0
add esp, 0x14
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aeb40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00497290
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4aec0b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4aec0b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4aebbe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4aebc9
or bh, 8
and edi, 0x8000000
je 0x4aebe4
mov eax, dword [0x50cc3c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4aec0b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4ff3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b5035
call fcn.004c4e57
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b5035
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b502c
xor eax, eax
jmp 0x4b503d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b5043
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bc585
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4cde7c
call fcn.00497084
push ecx
push ecx
push esi
push 0x10
call fcn.004b27ca
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4bc5d2
mov ecx, esi
call fcn.004b77b1
mov eax, dword [0x5046b0]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.004b238d
jmp 0x4bc5d4
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4eba48
push eax
mov dword [ebp - 0x10], esi
call fcn.004986dc
pop esi
Function at 0x9218ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8de1000]
push edi
jmp 0x9218cba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9218cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9218cb0
mov eax, 1
add ebx, ebx
jne 0x9218cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9218ce4
jne 0x9218d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9218d03
dec eax
add ebx, ebx
jne 0x9218cf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9218cc8
add ebx, ebx
jne 0x9218cff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9218d55
xor ecx, ecx
sub eax, 3
jb 0x9218d1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9218d8a
sar eax, 1
mov ebp, eax
jmp 0x9218d26
add ebx, ebx
jne 0x9218d26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9218cf4
inc ecx
add ebx, ebx
jne 0x9218d34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9218cf4
add ebx, ebx
jne 0x9218d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9218d36
jne 0x9218d52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9218d36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9218d74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9218d66
jmp 0x9218cb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9218d74
add edi, ecx
jmp 0x9218cb6
pop esi
mov edi, esi
mov ecx, 0x4ee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9218d92
cmp byte [edi], 0xa
jne 0x9218d92
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 0x9218d97
lea edi, [esi + 0x8e16000]
mov eax, dword [edi]
or eax, eax
je 0x9218e06
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8e1c440]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8e1c490]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9218dc4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8e1c498]
or eax, eax
je 0x9218e00
mov dword [ebx], eax
add ebx, 4
jmp 0x9218de1
call dword [esi + 0x8e1c494]
mov ebp, dword [esi + 0x8e1c49c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x9218e3a
sub esp, 0xffffff80
jmp 0x402035
Function at 0x407240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00405545
call [ecx + 0x50]
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.004054a6
add esp, 0xc
jmp 0x4074ad

Function at 0x409b02
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f4bc]
jne 0x409b0c
repz ret
jmp fcn.0040dc0c

Function at 0x412e26
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.0040d5f8
and dword [ebp - 4], 0
cmp dword [0x4210b8], 0
mov ebx, eax
jne 0x412ed7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412f88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x412f88
push eax
call fcn.0040d586
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4210b8], eax
call esi
push eax
call fcn.0040d586
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4210bc], eax
call esi
push eax
call fcn.0040d586
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4210c0], eax
call esi
push eax
call fcn.0040d586
pop ecx
mov dword [0x4210c8], eax
test eax, eax
je 0x412ed7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d586
pop ecx
mov dword [0x4210c4], eax
mov eax, dword [0x4210c4]
cmp eax, ebx
je 0x412f2f
cmp dword [0x4210c8], ebx
je 0x412f2f
push eax
call fcn.0040d601
push dword [0x4210c8]
mov esi, eax
call fcn.0040d601
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x412f2f
test edi, edi
je 0x412f2f
call esi
test eax, eax
je 0x412f26
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x412f26
test byte [ebp - 0xc], 1
jne 0x412f2f
or dword [ebp + 0x10], 0x200000
jmp 0x412f68
mov eax, dword [0x4210bc]
cmp eax, ebx
je 0x412f68
push eax
call fcn.0040d601
pop ecx
test eax, eax
je 0x412f68
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x412f68
mov eax, dword [0x4210c0]
cmp eax, ebx
je 0x412f68
push eax
call fcn.0040d601
pop ecx
test eax, eax
je 0x412f68
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4210b8]
call fcn.0040d601
pop ecx
test eax, eax
je 0x412f88
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412f8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f8c
Capabilities:
Create process on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x444
mov esi, dword [esp + 0x45c]
mov ebp, dword [esp + 0x458]
push esi
mov edi, ebp
push ebp
push str.putfile__s__s_n
call sub.msvcrt.dll_printf
push 0x400
lea ebx, [esp + 0x54]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov dword [esp + 0x20], ebx
xor edx, edx
cld
mov al, dl
mov dword [esp + 0x10], 0x3c
or ecx, 0xffffffff
mov dword [esp + 0x14], 0x240
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x43c7ab
repne scasb al, byte es:[edi]
not ecx
mov edi, esi
mov dword [esp + 0xc], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xc]
not ecx
lea ecx, [ecx + eax + 0x28]
push ecx
call sub.msvcrt.dll_malloc
push esi
mov ebx, eax
push 0x43c7b0
push ebp
push str.pscp_s_s:_s
push eax
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], 0x1d
add esp, 0x24
lea eax, [esp + 4]
push eax
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
jne 0x404061
call sub.KERNEL32.dll_GetLastError
push eax
push str.Last_error:__d_n
call sub.msvcrt.dll_printf
pop eax
pop edx
push ebx
call fcn.0043aa78
mov eax, dword [esp + 0x40]
add esp, 0x448
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40b8be
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
invalid
test dword [edx - 8], edi
invalid

Function at 0x40e544
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
ret

Function at 0x40ef6f
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x460
mov ebp, dword [esp + 0x478]
push 0x43d700
push dword [esp + 0x478]
call sub.msvcrt.dll_fopen
mov edi, eax
test edi, edi
pop eax
pop edx
jne 0x40ef9f
mov byte [ebp], 0
jmp 0x40efff
lea eax, [esp + 0x400]
push eax
call fcn.0040e544
push 0
push 0
push edi
call sub.msvcrt.dll_fseek
add esp, 0x10
jmp 0x40efc6
push eax
push ebx
push esi
call fcn.0040e579
add esp, 0xc
push edi
push 0x400
push 1
lea ebx, [esp + 0xc]
push ebx
call sub.msvcrt.dll_fread
add esp, 0x10
test eax, eax
lea esi, [esp + 0x400]
jne 0x40efbb
push 0
push ebx
push esi
call fcn.0040e579
push edi
call sub.msvcrt.dll_fclose
push esi
push ebp
call fcn.0040ee72
add esp, 0x18
add esp, 0x460
pop ebx
pop esi
pop edi
pop ebp
ret