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

Disassembly:
push edi
mov edi, dword [esp + 8]
test ecx, ecx
jne 0x479f0b
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x479fbd
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bf4c0]
inc ecx
sub edi, 8
dec esi
jne 0x479f22
pop ebx
test edi, edi
je 0x479fd6
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4bf4c0]
inc ecx
dec edi
jne 0x479fc1
pop esi
not eax
pop edi
ret

Function at 0x47a6c1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x47a6f1
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47a6ec
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x47a719
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x47a702
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00492890
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x482adf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], eax
and dword [eax + 0x6e8], 0
cmp dword [ebx + 4], 0
push esi
push edi
jne 0x482b54
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.00482bc4
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 0x40000000
push dword [eax + 0x84]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00455eb9
mov ecx, dword [ebx + 0x10]
push dword [ecx + 0x664]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0045b3e6
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x38]
mov eax, dword [eax]
cmp word [eax], 0
lea ecx, [ebp - 0x98]
sete byte [ebp + 0xb]
call fcn.0045671f
cmp byte [ebp + 0xb], 0
mov esi, 0x6d8
je 0x482b8f
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4

Function at 0x482f78
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.0045dfe2
mov eax, dword [ebx + 0x6f0]
test eax, eax
je 0x482ffd
lea ecx, [esp + 0x10]
push ecx
call fcn.00482bc4
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x482fd0
mov eax, dword [ebx + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x482ffd
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0x54
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x6f0]
push dword [esp + 0x20]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x483006
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045e3c7
mov eax, dword [esi + 0x6f0]
test eax, eax
je 0x483083
lea ecx, [esp + 8]
push ecx
call fcn.00482bc4
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x483056
mov eax, dword [esi + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x483083
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 0x54
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push eax
push dword [esp + 0x18]
mov eax, dword [esi + 0x6f0]
push dword [esp + 0x18]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48ba82
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x48baa7
cmp eax, esi
jge 0x48ba9f
mov eax, edi
call fcn.0048b4fe
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor eax, eax
cmp dword [edi + 8], eax
jle 0x48bac9
mov cl, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], 0xfffffff8
mov byte [ebp + eax - 4], cl
inc eax
cmp dword [edi + 8], 0
jg 0x48baae
cmp eax, 4
jge 0x48bae5
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, esi
jb 0x48bad6
xor dl, dl
jmp 0x48bad9
mov dl, byte [ecx]
inc ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x48bace
mov dword [edi], ecx
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x48bb19
mov dword [0x4e2bcc], str.zlib_corrupt
xor eax, eax
jmp 0x48bb65
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x48bb2e
mov dword [0x4e2bcc], str.read_past_buffer
jmp 0x48bb15
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x48bb44
push esi
call fcn.0048b5d6
pop ecx
test eax, eax
je 0x48bb15
mov eax, dword [edi + 0x10]
push ebx
mov ebx, dword [edi]
push esi
push ebx
push eax
call fcn.00492890
mov eax, dword [edi + 0x10]
add eax, esi
add ebx, esi
mov dword [edi + 0x10], eax
add esp, 0xc
xor eax, eax
mov dword [edi], ebx
inc eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x48ff11
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4dd070]
jne 0x48ff1b
repz ret
jmp fcn.004917eb
Function at 0x497ac9
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.00491a56
and dword [ebp - 4], 0
cmp dword [0x4e27ac], 0
mov ebx, eax
jne 0x497b7a
push 0x4b6130
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x497c2b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x497c2b
push eax
call fcn.004919e4
mov dword [esp], 0x4b6114
push edi
mov dword [0x4e27ac], eax
call esi
push eax
call fcn.004919e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4e27b0], eax
call esi
push eax
call fcn.004919e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e27b4], eax
call esi
push eax
call fcn.004919e4
pop ecx
mov dword [0x4e27bc], eax
test eax, eax
je 0x497b7a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004919e4
pop ecx
mov dword [0x4e27b8], eax
mov eax, dword [0x4e27b8]
cmp eax, ebx
je 0x497bd2
cmp dword [0x4e27bc], ebx
je 0x497bd2
push eax
call fcn.00491a5f
push dword [0x4e27bc]
mov esi, eax
call fcn.00491a5f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x497bd2
test edi, edi
je 0x497bd2
call esi
test eax, eax
je 0x497bc9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x497bc9
test byte [ebp - 0xc], 1
jne 0x497bd2
or dword [ebp + 0x10], 0x200000
jmp 0x497c0b
mov eax, dword [0x4e27b0]
cmp eax, ebx
je 0x497c0b
push eax
call fcn.00491a5f
pop ecx
test eax, eax
je 0x497c0b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x497c0b
mov eax, dword [0x4e27b4]
cmp eax, ebx
je 0x497c0b
push eax
call fcn.00491a5f
pop ecx
test eax, eax
je 0x497c0b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e27ac]
call fcn.00491a5f
pop ecx
test eax, eax
je 0x497c2b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x497c2d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d95
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403020]
jne 0x401d9e
ret
jmp 0x401da3
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x403020]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x403048]
test eax, eax
je 0x401dc7
call eax
cmp dword [0x40304c], 0
je 0x401e0e
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x40304c]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.00401d95
add ebp, 0x2a8
leave
ret

Function at 0x401e33
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x401240
call fcn.00402068
cmp word [0x400000], 0x5a4d
jne 0x401e72
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x401e72
movzx ecx, word [eax + 0x400018]
cmp ecx, 0x10b
je 0x401e8b
cmp ecx, 0x20b
je 0x401e78
and dword [ebp - 0x1c], 0
jmp 0x401ea2
cmp dword [eax + 0x400084], 0xe
jbe 0x401e72
xor ecx, ecx
cmp dword [eax + 0x4000f8], ecx
jmp 0x401e9c
cmp dword [eax + 0x400074], 0xe
jbe 0x401e72
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x403054], 0xffffffff
or dword [0x403058], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x403044]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x403040]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403050], eax
call fcn.00402064
cmp dword [0x403030], 0
jne 0x401eff
push fcn.00402064
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00402052
push 0x403014
push 0x403010
call sub.msvcrt.dll__initterm
mov eax, dword [0x40303c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x403038]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x40300c
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00401508
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x401f77
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x401fac
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004020a3
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x372e21b4
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6a63031e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x401ee9
xor ecx, ecx
jne 0x401ee9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401f30
mov eax, dword [ebp - 0xc]
jmp 0x401f8d
cmp dword [ebp - 4], 1
je 0x401f43
cmp dword [ebp - 4], 2
je 0x401f43
mov eax, 0xd
jmp 0x401f8d
cmp dword [ebp + 0xc], 0
je 0x401f81
cmp dword [ebp - 8], 0
je 0x401f79
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x401f70
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x401f77
mov eax, 0xd
jmp 0x401f8d
jmp 0x401f81
xor edx, dword [ebp - 0x75]
in al, dx
jne 0x401f8f
add esi, ebx
movsb byte es:[edi], byte [esi]

Function at 0x4028f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
movsd dword es:[edi], dword [esi]
aas
cld
invalid
inc dword [eax]
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
Function at 0x403cb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea92e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x520204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x3a8]
lea edx, [ebp - 0x2c]
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x403d12
xor ecx, ecx
jmp 0x403d26
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d17
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404a30
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
cmp ecx, dword [0x520158]
je 0x403d5a
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x403d5a
push ecx
call fcn.004a3570
add esp, 4
mov ebx, dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x403dca
call dword [sym.imp.USER32.dll_EmptyClipboard]
add ebx, ebx
lea eax, [ebx + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x403dc4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebx + 2]
push eax
push 0
push esi
call fcn.004a8200
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
mov edx, ebx
push ecx
mov ecx, esi
call fcn.00401160
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x403ddf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a352c
mov esp, ebp
pop ebp
ret
Function at 0x406f10
Capabilities:
Hide graphical window
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5f0
mov eax, dword [0x520204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 1
call fcn.004a353d
mov ecx, dword [0x5180b8]
mov ebx, eax
push 0x202
mov dword [ebp - 0x20c], ecx
lea eax, [ebp - 0x206]
mov cx, word [0x5180bc]
push 0
push eax
mov word [ebp - 0x208], cx
call fcn.004a8200
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x5e4]
mov dword [ebp - 0x5e8], 0
push eax
mov dword [ebp - 0x5e4], 0
call fcn.00463c00
lea eax, [ebp - 0x5e8]
push eax
call fcn.00464920
mov ecx, dword [ebp - 0x5e4]
add esp, 8
mov eax, dword [ecx]
push dword [ebp - 0x5e8]
call dword [eax + 0x10]
push 0xe8
call fcn.004a353d
add esp, 4
mov dword [ebp - 0x5ec], 0x517d70
lea ecx, [ebp - 0x5ec]
push 0
push ecx
push str.SOUIHOST
push esi
push dword [ebp - 0x5e4]
mov ecx, eax
call fcn.004114f1
mov edi, eax
mov dword [ebp - 0x5e0], 0
lea eax, [ebp - 0x5e0]
push eax
push 0
call fcn.004285aa
mov ecx, dword [ebp - 0x5e0]
add esp, 8
mov edx, dword [ecx]
push 0
push esi
call dword [edx + 0xc]
push dword [ebp - 0x5e0]
mov ecx, edi
call fcn.004147c4
push 0
lea eax, [ebp - 0x5f0]
mov dword [ebp - method.SOUI::SObjectFactory.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinVScrollbar_.0
push eax
lea ecx, [edi + 4]
call fcn.00427fa1
lea eax, [ebp - 0x5dc]
mov dword [ebp - 0x5dc], 0
push eax
push 0
call fcn.004285aa
mov ecx, dword [ebp - 0x5dc]
add esp, 8
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
push 1
push 8
push 0x517440
mov ecx, edi
call fcn.004141f0
push str.uidef:xml_init
push dword [ebp - 0x5dc]
lea ecx, [edi + 0x10]
call fcn.00410905
lea ecx, [ebp - 0x5d8]
call fcn.00402e60
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x5d8]
call fcn.00421a43
push 0
push 0
push 0x110
push dword [ebp - 0x390]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x390]
lea ecx, [ebp - 0x39c]
call fcn.0040cc5b
push 1
push dword [ebp - 0x390]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x390]
mov ecx, edi
call fcn.00415fa3
lea ecx, [ebp - 0x5d8]
mov esi, eax
call fcn.00402f30
test edi, edi
je 0x407108
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
push 1
push ebx
call fcn.004a3575
add esp, 8
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0x5dc]
test ecx, ecx
je 0x407128
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x5e0]
test ecx, ecx
je 0x407137
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x5e4]
test ecx, ecx
je 0x407146
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x5e8]
test ecx, ecx
je 0x407155
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a352c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a0e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
push esi
mov esi, ecx
test ebx, ebx
je 0x40a106
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x40a101
mov eax, dword [ebx]
jmp 0x40a103
mov eax, ebx
mov byte [eax], 0
call fcn.0040adc0
test al, al
je 0x40a117
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov ecx, esi
call fcn.0040bbd0
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x40a131
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10000
call fcn.004a37db
push edi
push 0x10000
mov esi, eax
mov dword [ebp - 8], 0
push 1
push esi
call fcn.004af1d1
mov edi, eax
add esp, 0x14
test edi, edi
je 0x40a1a6
mov eax, dword [ebp + 8]
nop
test ebx, ebx
je 0x40a17c
mov ecx, eax
mov eax, edi
sub ecx, dword [ebp - 8]
cmp ecx, edi
cmovb eax, ecx
mov ecx, ebx
push eax
push esi
call fcn.00403f00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
sub eax, ecx
cmp eax, edi
jb 0x40a1bc
push dword [ebp - 0xc]
add ecx, edi
push 0x10000
push 1
push esi
mov dword [ebp - 8], ecx
call fcn.004af1d1
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 8]
test edi, edi
jne 0x40a160
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004ae723
add esp, 4
test eax, eax
jne 0x40a1bf
mov byte [ebp - 1], 1
jmp 0x40a1c3
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 1], 0
push ebx
call fcn.004ae9ab
add esp, 4
test esi, esi
je 0x40a1d9
push esi
call fcn.004a37d6
add esp, 4
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x520204]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.0040b8b0
add esp, 4
lea eax, [esp + 0x10]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.00409f40
mov eax, dword [0x5342a0]
test eax, eax
je 0x40b779
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x40b865
cmp dword [ebx], 2
jl 0x40b7bd
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
push 2
call fcn.004aeb3a
add esp, 4
push eax
push 1
push esi
push edi
call fcn.004aee1c
push 2
call fcn.004aeb3a
add esp, 0x14
push eax
call fcn.004ae8dc
add esp, 4
lea esi, [ebx + 0xc]
lea edi, [ebx + 8]
call fcn.0040b5d0
test al, al
je 0x40b7ec
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x5342a4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx], 3
jne 0x40b865
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x40b820
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004a7c80
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.0040bdc0
add esp, 4
cmp dword [0x5342ac], 0
je 0x40b85b
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00409f40
lea eax, [esp + 0x28]
push eax
call dword [0x5342ac]
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00404030
jmp 0x40b865
cmp byte [0x535124], 0
jne 0x40b8a8
int3
lea ecx, [esp + 0x10]
call fcn.00404030
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.00408a50
push esi
mov dword [esi], 0x518224
call fcn.004a54c0
mov ecx, dword [esp + 0x448]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a352c
mov esp, ebp
pop ebp
ret
push 1
call fcn.004b13f3
int3