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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, 0x45e878
call 0x406f60
xor eax, eax
push ebp
push 0x45f971
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45f94c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call 0x409a78
push dword [ebp - 0x18]
push 0x45f988
lea eax, [ebp - 0x1c]
call 0x4595b0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call 0x405178
mov eax, dword [ebp - 0x14]
call 0x409610
test al, al
jne 0x45f813
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f956
call 0x4595d8
xor eax, eax
push ebp
push 0x45f83a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x45f994
call 0x45e6b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f844
push 0
call 0x40ed74
push 0x45f9ac
push 0
push 0
call 0x407154
call 0x40722c
cmp eax, 0xb7
jne 0x45f89b
mov eax, dword [0x461944]
mov eax, dword [eax]
call 0x409610
test al, al
jne 0x45f87a
call 0x45ddb0
push 5
mov eax, dword [0x461944]
mov eax, dword [eax]
call 0x405274
push eax
call 0x40735c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f956
mov dl, 1
mov eax, dword [0x45d800]
call 0x45d864
mov edx, dword [0x461a38]
mov dword [edx], eax
lea edx, [ebp - 0x1c]
or ecx, 0xffffffff
mov eax, 0x45f9d0
call 0x45de70
xor eax, eax
push ebp
push 0x45f93b
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x45f8f5
push 0x466d50
call 0x407a4c
push 0x466d50
call 0x4075f4
mov eax, dword [0x466d54]
add eax, 0xffffffef
sub eax, 2
jb 0x45f909
sub eax, 3
je 0x45f909
push 0
push 0
push 0
push 0x466d50
call 0x407764
test eax, eax
jne 0x45f8cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f942
lea edx, [ebp - 0x1c]
or ecx, 0xffffffff
mov eax, 0x45f9f8
call 0x45de70
call 0x45d610
mov eax, dword [0x461a38]
call 0x40e760
call 0x40ed7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f978
lea eax, [ebp - 0x1c]
mov edx, 3
call 0x404e08
ret
Function at 0x402cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53faa8
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x634], edi
lea eax, [edi + 8]
mov dword [edi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x638], edi
jb 0x402d2a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ecx
cmp dword [edi + 0x34], 8
jb 0x402d47
mov eax, dword [edi + 0x20]
jmp 0x402d4a
lea eax, [edi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x402d64
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x402d7e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 3
call fcn.004f960d
push eax
call fcn.004f97ed
push 0x20c
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004f14e0
add esp, 0x14
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x402e31
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x630]
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x630]
push 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x402e22
test eax, eax
je 0x402e22
add eax, eax
cmp eax, 0x412
jae 0x402e1d
xor ecx, ecx
mov word [ebp + eax - 0x630], cx
lea eax, [ebp - 0x630]
jmp 0x402e28
call fcn.004752b6
lea eax, [ebp - 0x21c]
push eax
lea ecx, [edi + 0x20]
call fcn.00402600
mov eax, dword [edi + 0x30]
test eax, eax
je 0x402e5d
cmp dword [edi + 0x34], 8
jb 0x402e43
mov ecx, dword [edi + 0x20]
jmp 0x402e46
lea ecx, [edi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x402e5d
push 1
push 0x6578fc
lea ecx, [edi + 0x20]
call fcn.00404240
cmp dword [edi + 0x30], 0
jne 0x402e72
push 3
push 0x657900
lea ecx, [edi + 0x20]
call fcn.00402650
mov dword [edi + 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x405ab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call fcn.00407270
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405ae2
sub ecx, edx
sar ecx, 1
je 0x405bde
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x405b01
mov eax, dword [0x6578fc]
lea ecx, [ebp - 0x20c]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x405b20
mov eax, dword [str.BundleBind]
mov dword [ecx], eax
mov eax, dword [0x558fe4]
mov dword [ecx + 4], eax
mov eax, dword [0x558fe8]
mov dword [ecx + 8], eax
mov eax, dword [0x558fec]
mov dword [ecx + 0xc], eax
mov eax, dword [0x558ff0]
mov dword [ecx + 0x10], eax
mov ax, word [0x558ff4]
mov word [ecx + 0x14], ax
call fcn.00402160
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x405b70
mov eax, dword [0x6578fc]
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x405ba4
lea eax, [ebp - 0x20c]
push eax
call fcn.004ce52f
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x405bb2
xor ecx, ecx
jmp 0x405bcf
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405bc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00402650
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00474d9e
mov esp, ebp
pop ebp
ret 4
Function at 0x405c80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fd63
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x673114]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], 0
call fcn.004f14e0
lea eax, [ebx + 0x50]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x405d00
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.0048071c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x405d4b
mov eax, dword [esi]
jmp 0x405d4d
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x810], cx
je 0x405d73
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405d64
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402650
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 1
jb 0x405d9d
mov eax, dword [esi]
jmp 0x405d9f
mov eax, esi
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405dc7
test dx, dx
je 0x405dc3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405dc7
add eax, 4
add ecx, 4
test dx, dx
jne 0x405da1
xor eax, eax
jmp 0x405dcc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x405e49
push edi
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
mov ecx, ebx
push dword [ebp - 0x830]
push eax
call fcn.00405c30
mov edi, eax
cmp esi, edi
je 0x405e2b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x405e04
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402750
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x405e1c
mov eax, dword [esi]
jmp 0x405e1e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004041d0
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x405e49
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.00402750
mov eax, esi
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.00474d9e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4071b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00402160
mov al, byte [0x675ab0]
test al, al
jne 0x407258
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x407253
lea eax, [ebp - 0x20c]
push eax
call fcn.004fc0ec
lea eax, [ebp - 0x20c]
push str.config_systemprofile
push eax
call fcn.004f0895
add esp, 0xc
test eax, eax
jne 0x40723e
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.004f0895
add esp, 8
test eax, eax
je 0x407253
mov al, 1
mov byte [0x675ab0], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
mov al, byte [0x675ab0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret
Function at 0x407270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ffa6
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x673114]
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 dword [ebp - 0x11c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov ecx, 0x3b
mov dword [ebp - 4], 0
mov esi, str.I9rQOdUcOhRKyeanIujPaXSxO0T7oYyJA9BXDKKrkbs9epA6aQ0ojfpmGgU9s4lQrBMDwDIEoASTq3LK5aBDZ3PnJDCZgi8Y3l9k6a93RMzDJG2ap47A59d2My2Kv6SRvSHQs8ebBzk7IbxvcIrD6EdEJ3s9o59Jdg13oBFLVOXEaBuy0bfdl4Ct9xFuzXGFUPO6NZLzi0cHASOn2HosHvvUP7pr9o9bIP3XQ96DqkRC
mov dword [ebp - 0x104], 0xf
lea edi, [ebp - 0x100]
mov dword [ebp - 0x108], 0
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x118], 0
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x100], 0
jne 0x407316
xor ecx, ecx
jmp 0x407329
lea ecx, [ebp - 0x100]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407320
sub ecx, edx
push ecx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x118]
call fcn.00407d30
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x130]
call fcn.00407f90
mov eax, dword [ebp - 0x104]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x407374
inc eax
lea ecx, [ebp - 0x118]
push eax
push dword [ebp - 0x118]
call fcn.00407e30
mov edi, dword [ebp - 0x11c]
xor bl, bl
mov ecx, edi
call fcn.004071b0
mov esi, dword [ebp + 0x10]
test al, al
je 0x4073e8
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
mov ecx, edi
call fcn.00405e80
mov edi, dword [ebp - 0x120]
test al, al
je 0x4073ee
push edi
push 1
push dword [ebp - 0x11c]
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
call fcn.00402160
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x40740c
jmp 0x4073ee
mov edi, dword [ebp - 0x120]
push dword [ebp + 0x14]
push esi
push edi
push dword [ebp - 0x124]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
mov esi, dword [ebp - 0x130]
test esi, esi
je 0x407458
push dword [ebp - 0x124]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x12c]
push esi
call fcn.004056a0
mov ecx, dword [ebp - 0x128]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x130]
call fcn.00407e90
mov al, bl
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.00474d9e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40fb50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x675ac0], ecx
inc eax
cmp eax, 0x100
jb 0x40fb52
cmp eax, 0x800
jae 0x40fc23
nop
mov edx, dword [eax*4 + 0x6756c0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x675ac0]
mov dword [eax*4 + 0x675ac0], edx
inc eax
cmp eax, 0x800
jb 0x40fc00
mov dword [0x677ac0], 0x40af30
call fcn.00410020
mov ecx, dword [0x677ac0]
test eax, eax
mov edx, 0x40afd0
cmove ecx, edx
mov dword [0x677ac0], ecx
ret
Function at 0x410f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x410f70
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp + 0xc], edx
add esi, ebx
mov dword [ebp - 4], esi
cmp esi, edx
jae 0x410fa2
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x410f9f
inc esi
cmp esi, edx
jb 0x410f90
mov dword [ebp - 4], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x4110c7
cmp ecx, 3
jbe 0x410fbc
xor eax, eax
jmp 0x410ffa
dec ecx
shl eax, cl
and eax, 7
je 0x410ffa
movzx ecx, byte [eax + 0x55c914]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x55c90c], 0
mov cl, byte [edx + 4]
je 0x410fe4
test cl, cl
je 0x410fe4
cmp cl, 0xff
jne 0x410ff7
mov edx, dword [ebp + 0xc]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x410f84
mov edx, dword [ebp + 0xc]
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x41101c
cmp cl, 0xff
je 0x41101c
mov esi, dword [ebp + 8]
and eax, 3
add eax, eax
or eax, 1
inc ebx
jmp 0x410f84
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
nop dword [eax]
cmp dword [ebp + 0x18], 0
je 0x41104d
lea edx, [edi + ebx]
add edx, esi
jmp 0x411053
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x411091
movzx edi, byte [eax + 0x55c914]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x41107d
cmp cl, 0xff
jne 0x411091
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x411040
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp + 0xc]
shr ecx, 8
add ebx, 5
mov byte [esi + 2], cl
mov esi, dword [ebp + 8]
jmp 0x410f84
pop edi
pop esi
cmp ecx, 3
jbe 0x4110dc
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412c00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54085e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x673114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004122a0
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.004122a0
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.004122a0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.004122a0
mov dword [esi + 0x20], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov eax, esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], vtable.VectorParameter_struct_SInstallItem__.0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42fdf0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
mov ecx, esi
pop esi
jmp fcn.00427880
Function at 0x446070
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x447e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5477a2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x673114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004473e0
mov ecx, esi
mov dword [esi + 0x4d8], 0
call fcn.00448050
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x6782b0]
test eax, eax
jne 0x447ed2
push 0x4e4
call fcn.00474d5d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x447ec4
mov ecx, eax
call fcn.0044bc70
jmp 0x447ec6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6782b0], eax
mov ecx, eax
call fcn.00446070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44d0a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5482b6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x673114]
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 dword [ebp - 0x254], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f14e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44d2e3
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44d123
mov ecx, 0x15
mov dword [ebp - 0x21c], 7
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
mov dword [ebp - 0x220], 0
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x44d165
xor ecx, ecx
jmp 0x44d17f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d170
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402650
push 1
push 0x6578fc
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00404240
cmp word [ebx], 0
jne 0x44d1b5
xor ecx, ecx
jmp 0x44d1cf
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d1c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.00404240
push 4
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.00404240
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x248]
push eax
call fcn.0044db30
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x24c]
test eax, eax
lea eax, [ebp - 0x230]
push 0
push 0
push 1
je 0x44d26b
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push 0
push dword [ebp - 0x250]
push eax
call fcn.004e4422
add esp, 0x20
jmp 0x44d28a
cmp dword [ebp - 0x21c], 8
push 0
cmovae eax, dword [ebp - 0x230]
push dword [ebp - 0x250]
push eax
call fcn.004e463e
add esp, 0x1c
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x44d2a8
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x44d2e3
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402750
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.00474d9e
mov esp, ebp
pop ebp
ret 0xc