joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x408df5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x408e33
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x408e33
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x408efc
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x408e5d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x408e6a
push dword [esi + 0x4c]
push edi
jmp 0x408ea5
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x408efc
cmp eax, 1
jle 0x408ecf
cmp eax, 3
jne 0x408efc
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.005084f6
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x408f01
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x408eec
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.00508f4e
add esp, 0x10
cmp ebx, eax
jne 0x408efc
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x408e1d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
Function at 0x409980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4099ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a150
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4099cd
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x4099cf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x409a53
jg 0x4099e4
test esi, esi
je 0x409a53
test ecx, ecx
jl 0x409a2d
jg 0x4099ee
test eax, eax
je 0x409a2d
cmp edi, ecx
jg 0x409a02
jl 0x4099f8
cmp esi, eax
jae 0x409a02
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.00504dd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x409a30
mov edx, dword [ebp + 8]
test edi, edi
jl 0x409a53
jg 0x409a3a
test esi, esi
je 0x409a53
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x409a53
push eax
push esi
push 1
push edx
call fcn.00508f4e
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x409a9b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x409abd
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x409abf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x409b5e
jg 0x409adc
test esi, esi
je 0x409b5e
test ecx, ecx
jl 0x409b29
jg 0x409ae6
test eax, eax
je 0x409b29
cmp ebx, ecx
jg 0x409afa
jl 0x409af0
cmp esi, eax
jae 0x409afa
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00504dd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x409b30
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x409b5e
jg 0x409b3a
test esi, esi
je 0x409b5e
cmp dword [edi + 0x4c], 0
je 0x409b5e
mov ecx, edi
call fcn.0040b0f0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0050958c
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x409f20
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x409f5c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x409f5c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40a043
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x409f84
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x409fb7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00507fbd
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x40a043
cmp eax, 1
jle 0x40a016
cmp eax, 3
jne 0x40a043
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.00507fbd
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40a033
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00508f4e
add esp, 0x10
cmp edi, eax
jne 0x40a043
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x409f47
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
Function at 0x40af30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x40afdd
cmp byte [esi + 0x3e], 0
je 0x40afdd
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x40af93
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40afa5
sub eax, 1
je 0x40afa9
sub eax, 2
je 0x40afdd
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40afc6
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00508f4e
add esp, 0x10
cmp edi, eax
jne 0x40af93
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00501e95
mov esp, ebp
pop ebp
ret

Function at 0x40b120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x40b1c1
cmp byte [esi + 0x3d], 0
je 0x40b1c1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40b177
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40b189
sub eax, 1
je 0x40b18d
sub eax, 2
je 0x40b1c1
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40b1aa
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00508f4e
add esp, 0x10
cmp edi, eax
jne 0x40b177
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00501e95
mov esp, ebp
pop ebp
ret
Function at 0x412cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x10], 0
call fcn.00412ea0
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x412d04
movaps xmm0, xmmword [0x565a40]
lea ecx, [ebp - 0x1c]
push ecx
push eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x6e697274
mov dword [ebp - 8], 0x577367
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x208], eax
mov eax, dword [edi + 0x208]
push 0
push 0
call eax
mov edi, eax
lea ecx, [edi + edi]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test edi, edi
je 0x412e82
call fcn.00412ea0
mov dword [ebp - 0x4c], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x412d6d
movaps xmm0, xmmword [0x565a40]
lea eax, [ebp - 0x1c]
push eax
push ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x6e697274
mov dword [ebp - 8], 0x577367
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x208], eax
mov eax, ecx
mov eax, dword [eax + 0x208]
push ebx
push edi
call eax
test eax, eax
je 0x412e82
xorps xmm0, xmm0
shr edi, 2
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x412e6c
nop dword [eax]
call fcn.00412ea0
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x412dea
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x44746547
push ecx
push eax
mov dword [ebp - 0x28], 0x65766972
mov dword [ebp - 0x24], 0x65707954
mov word [ebp - 0x20], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x20c], eax
mov eax, dword [edi + 0x20c]
push ebx
call eax
cmp eax, 3
jne 0x412dfb
inc dword [esi + 0x10]
call fcn.00412ea0
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x412e2c
movaps xmm0, xmmword [0x565b00]
lea ecx, [ebp - 0x18]
push ecx
push eax
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x577845
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x204], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi + 0x204]
push ebx
call eax
test eax, eax
je 0x412e5f
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
shrd ecx, eax, 0x1e
mov eax, dword [ebp - 0x3c]
add dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x40]
shrd ecx, eax, 0x1e
add dword [esi + 0x1c], ecx
add ebx, 8
sub dword [ebp - 0x4c], 1
jne 0x412db0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501e95
mov esp, ebp
pop ebp
ret
Function at 0x414510
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531978
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57d54c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x41465b
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push edi
push 0x553d6c
push 1
push 0
push 0x553e3c
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x414655
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
mov dword [ebx], 0
call fcn.00411e50
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x4145ad
mov edx, dword [eax]
jmp 0x4145af
xor edx, edx
mov eax, dword [edi]
push ebx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x414627
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41461d
test esi, esi
je 0x41461d
mov eax, dword [esi]
test eax, eax
je 0x4145fb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x414612
push eax
call fcn.00502435
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00502404
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
test eax, eax
js 0x41464d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebx]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x41466f
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
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 0x414750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4147a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4147a9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x414798
cmp esi, edx
jae 0x4147a9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x414786
cmp esi, edx
jae 0x4147a9
cmp word [esi], 0
je 0x4147a9
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x416380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
call fcn.00415220
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4163dc
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x4f676552
push ecx
push eax
mov dword [ebp - 0x10], 0x4b6e6570
mov dword [ebp - 0xc], 0x78457965
mov word [ebp - 8], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x54]
push 0x2001f
push 0
push dword [ebp - 0x1c]
push ebx
call eax
test eax, eax
jne 0x416400
mov ecx, edi
call fcn.00416300
mov ecx, dword [ebp - 0x18]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501e95
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5331d4
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x130], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 1
mov eax, 0xf
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x138], eax
cmp dword [ebx + 0x6c], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
mov dword [ebp - 0x130], 3
je 0x4203a2
push 0x105
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.00504c70
lea eax, [ebx + 0x5c]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x420302
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x12c]
push 0x105
push eax
call fcn.0050d9da
add esp, 0xc
call fcn.00407550
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x420347
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x52727453
push ecx
push eax
mov dword [ebp - 0x1c], 0x49727453
mov word [ebp - 0x18], 0x41
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
push 0x560af8
push 0
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [esi + 0x24]
call eax
test eax, eax
je 0x420361
mov byte [eax], 0
lea eax, [ebp - 0x12c]
mov ecx, ebx
push eax
call fcn.0041f920
test eax, eax
je 0x420376
mov byte [eax], 0
lea ecx, [ebp - 0x12c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420380
sub ecx, edx
lea eax, [ebp - 0x12c]
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.0040ad60
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
lea ecx, [ebp - 0x14c]
lea edx, [ebp - 0x134]
cmovae ecx, dword [ebp - 0x14c]
call fcn.00472850
mov eax, 3
mov dword [ebp - 0x130], eax
and eax, 0xfffffffd
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x42040b
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420401
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420470
push edx
push ecx
call fcn.00502404
add esp, 8
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
test esi, esi
je 0x420450
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420435
sub ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.0040ad60
push esi
call fcn.00502435
add esp, 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 - 0x14]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
call fcn.00509bb8
int3
Function at 0x42d0a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
xor eax, eax
test esi, esi
je 0x42d204
push 0x34
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
push 0x5612f0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.0040aad0
mov dword [ebp - 4], 0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d110
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.0040ac20
cmp dword [ebp + 0xc], 0
lea ebx, [ebp - 0x3c]
mov eax, 0x20019
mov edi, 0x20119
cmove edi, eax
cmp dword [ebp - 0x28], 8
cmovae ebx, dword [ebp - 0x3c]
call fcn.00415220
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42d17c
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x4f676552
push ecx
push eax
mov dword [ebp - 0x20], 0x4b6e6570
mov dword [ebp - 0x1c], 0x78457965
mov word [ebp - 0x18], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 0x54]
push edi
push 0
push ebx
push dword [ebp - 0x44]
call eax
test eax, eax
jne 0x42d1af
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x42d1af
push eax
push ecx
call fcn.00415220
add esp, 4
mov ecx, eax
call fcn.00459340
mov esi, 1
jmp 0x42d1b1
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x42d1ee
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d222
push edx
push ecx
call fcn.00502404
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov eax, esi
mov dword [ebp - 0x28], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 0xc
call fcn.00509bb8
int3
Function at 0x42fe90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push esi
push 0x105
push 0
push eax
call fcn.00504c70
add esp, 0xc
call fcn.00407680
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42fef3
movaps xmm0, xmmword [0x565ac0]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x61507265
mov dword [ebp - 0xc], 0x416874
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x28], eax
push 0
push 0x10
lea eax, [ebp - 0x12c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x42ff98
lea ecx, [ebp - 0x12c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ff17
sub ecx, edx
cmp ecx, 1
jbe 0x42ff98
push 0x561060
lea eax, [ebp - 0x12c]
push 0x105
push eax
call fcn.0050931c
add esp, 0xc
lea eax, [ebp - 0x12c]
push ebx
push 0x105
push eax
call fcn.0050931c
add esp, 0xc
call fcn.00407550
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42ff7a
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [ebp - 0x18]
push ecx
push eax
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [esi + 0x18]
call eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4