joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4260f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d2b15
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x70], 0x16
je 0x426139
cmp dword [esi + 0x70], 0xb
je 0x426139
xor edi, edi
push edi
push 0x79e9a095
push 0x8a9b6efe
push 0xda864fab
jmp 0x42614b
xor edi, edi
push edi
push 0x98de0cac
push 0x6bacc2c7
push 0x3bb1e3a4
call fcn.00401b11
mov ecx, dword [esi + 0x5c]
add esp, 0xc
push eax
call fcn.0044545d
test eax, eax
jne 0x426180
mov dword [esi + 0x74], 1
mov al, byte [esi + 0x26]
mov byte [esi + 0x78], al
mov al, byte [esi + 0x30]
mov byte [esi + 0x79], al
mov al, byte [esi + 0x31]
mov byte [esi + 0x7a], al
xor al, al
jmp 0x42627c
mov ebx, dword [eax]
mov ebp, edi
mov dword [esp + 0x14], ebp
jmp 0x426262
cmp byte [ebx + 0xc], 0
jne 0x42625f
lea ebp, [ebx + 0x38]
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x42619d
sub ebp, ecx
cmp ebp, 5
jbe 0x42625b
push 5
push 0x53f65765
push 0xa0849904
push 0xf099b843
call fcn.00401b11
add esp, 0xc
push eax
lea eax, [ebp + 0x33]
add eax, ebx
push eax
call fcn.004bbc63
add esp, 0xc
test eax, eax
jne 0x42625b
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], edi
push eax
push ebx
call fcn.0044528c
mov ebp, dword [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edi
pop ecx
pop ecx
test eax, eax
je 0x426246
mov ecx, dword [esp + 0x28]
mov ebx, eax
push ebp
push edx
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
mov ecx, esi
call fcn.0042478a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
inc edx
mov eax, dword [ecx + edi*8 + 4]
sub eax, dword [ecx + edi*8]
add edx, eax
inc edi
mov dword [esp + 0x18], edx
cmp edi, ebx
jb 0x426215
mov ebx, dword [esp + 0x1c]
xor edi, edi
or dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x28]
inc ebp
mov dword [esp + 0x14], ebp
call fcn.0040a7be
jmp 0x42625f
mov ebp, dword [esp + 0x14]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x42618d
xor eax, eax
mov word [esi + 0x1ee], bp
test ebp, ebp
setne al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x42768b
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x679f93ce
push 0x1b3ff191
push 0xcb237496
mov esi, eax
call fcn.00401bdf
add esp, 0xc
push eax
lea eax, [ebp - 0x7c]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x7c]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp + 0x198]
movzx eax, al
mov word [ecx], ax
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [ebp + 0x19c]
sub eax, esi
je 0x42773d
dec eax
je 0x42772b
dec eax
jne 0x427726
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x80]
jmp 0x427754
push esi
push 0x4000000
push 3
push esi
push 5
push 0x80000000
jmp 0x42774a
push esi
push 2
push 2
push esi
push 3
push 0xc0000000
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
pop esi
call fcn.004b94b6
lea esp, [ebp + 0x190]
pop ebp
ret
Function at 0x427fca
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x118
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
xor ebx, ebx
push edi
push 0x3000
push ebx
mov ebp, ecx
mov byte [esp + 0x1b], bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x428015
xor al, al
jmp 0x428163
mov ecx, dword [ebp + 0x5c]
lea eax, [esp + 0x20]
push eax
push 0x1800
push edi
push ebx
push ebx
push esi
call fcn.00446a5d
test al, al
je 0x42815a
cmp byte [ebp + 0x81], bl
je 0x42804d
push 3
lea eax, [ebp + 0x1dc]
push edi
push eax
call fcn.0042bbfd
add esp, 0xc
mov ecx, 0x4faeb8
mov al, bl
mov dword [esp + 0x1c], ecx
movzx esi, byte [ecx]
xor esi, 0x4b
je 0x428154
mov eax, esi
lea edi, [ecx + 1]
shl eax, 4
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004be440
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jle 0x4280a5
lea ecx, [eax - 1]
lea edx, [esp + 0x24]
shr ecx, 1
sub edx, edi
inc ecx
mov eax, 0x552
xor ax, word [edi]
mov word [edx + edi], ax
lea edi, [edi + 2]
dec ecx
jne 0x428093
mov edi, ebx
test esi, esi
jle 0x428139
mov ecx, dword [esp + 0x14]
mov eax, ebx
lea edx, [ecx + 0x1800]
add eax, eax
push ebx
lea eax, [esp + eax*8 + 0x28]
push eax
push 0x1800
push edx
push ecx
mov ecx, ebp
call fcn.0042bf80
cmp eax, 0x1f
je 0x4280ea
mov ecx, dword [esp + 0x14]
inc edi
movzx eax, di
lea edx, [ecx + 0x1800]
cmp eax, esi
jl 0x4280bb
jmp 0x428139
movzx eax, si
shl eax, 4
push eax
mov word [ebp + 0x1ec], si
call fcn.00404d58
mov dword [ebp + 0x1d8], eax
mov edx, ebx
xor eax, eax
pop ecx
cmp ax, word [ebp + 0x1ec]
jae 0x428134
mov ecx, ebx
mov edi, dword [ebp + 0x1d8]
lea esi, [esp + 0x24]
add esi, ecx
add edi, ecx
inc edx
add ecx, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx eax, word [ebp + 0x1ec]
cmp edx, eax
jb 0x428113
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ecx
add ecx, eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x1c], ecx
test al, al
je 0x428058
mov edi, dword [esp + 0x14]
mov bl, al
push edi
call fcn.00404d44
pop ecx
mov al, bl
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x118
ret 4
Function at 0x4284af
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x278
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x274], eax
mov eax, dword [esp + 0x27c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x28c]
mov ebx, ecx
push edi
mov dword [esp + 0x18], eax
call fcn.004063e3
mov esi, eax
mov eax, 0x100
movzx edx, byte [edi + esi]
movzx ecx, byte [edi + esi + 1]
imul dx, ax
add dx, cx
movzx eax, dx
shl eax, 4
push eax
mov word [ebx + 0x1ec], dx
call fcn.00404d58
mov dword [ebx + 0x1d8], eax
pop ecx
pop ecx
test eax, eax
jne 0x42851d
xor al, al
jmp 0x428685
xor eax, eax
add esi, 0x10
push ebp
cmp ax, word [ebx + 0x1ec]
jae 0x428682
and dword [esp + 0x10], eax
xor ebp, ebp
inc ebp
lea eax, [edi + esi]
push dword [esp + 0x18]
lea esi, [eax + 0x20]
add eax, 0x30
lea edi, [esp + 0x228]
mov dword [esp + 0x18], eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x24]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00439b07
mov eax, dword [ebx + 0x1d8]
mov edi, dword [esp + 0x18]
add eax, edi
push eax
lea eax, [esp + 0x230]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00437f8a
mov eax, dword [ebx + 0x70]
add esp, 0x14
cmp eax, 0x16
je 0x42859a
cmp eax, 0x15
je 0x428595
cmp eax, 0xb
jne 0x42865f
cmp eax, 0x16
jne 0x4285ac
push ebp
push 0xb44d3988
push 0xc8ed5bc3
push 0x18f1df78
jmp 0x4285d8
cmp eax, 0x15
jne 0x4285c3
push ebp
push 0xd85794ca
push 0xa4f7f684
push 0x74eb725f
jmp 0x4285d8
cmp eax, 0xb
jne 0x4285f1
push ebp
push 0xd2759a22
push 0xaed5f854
push 0x7ec97cb5
call fcn.00401bb2
add esp, 0xc
push eax
lea eax, [esp + 0x24c]
push eax
call fcn.004ba78c
add esp, 0xc
mov ecx, dword [ebx + 0x5c]
lea eax, [esp + 0x244]
push 0
push eax
call fcn.0044545d
test eax, eax
je 0x42865f
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00446cc9
mov esi, eax
test esi, esi
je 0x42867e
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42867e
lea eax, [esp + 0x234]
push eax
xor eax, eax
shld eax, ecx, 3
push eax
shl ecx, 3
push ecx
push esi
call fcn.0042c2e6
push esi
call fcn.00404d44
add esp, 0x14
xor edx, edx
mov ecx, dword [ebx + 0x1d8]
mov al, byte [esp + edx + 0x234]
add ecx, edi
xor byte [ecx + edx], al
inc edx
cmp edx, 0x10
jl 0x428647
movzx eax, word [ebx + 0x1ec]
inc ebp
add edi, 0x10
mov dword [esp + 0x10], edi
lea ecx, [ebp - 1]
cmp ecx, eax
jae 0x428682
mov eax, dword [esp + 0x14]
jmp 0x42853a
xor al, al
jmp 0x428684
mov al, 1
pop ebp
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x278
ret 8
Function at 0x42869f
Capabilities:
Create directory
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebp, ecx
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xab82d992
push 0xd722bbcd
push 0x73e38f4
mov esi, eax
call fcn.00401bdf
add esp, 0xc
push eax
lea eax, [edi + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [edi + eax*2]
movzx eax, byte [ebx + ebp + 0x21c]
push eax
push 0x80836591
push 0xfc2307c2
push 0x2c3f848f
call fcn.00401bdf
add esp, 0xc
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
add esi, 4
inc ebx
cmp ebx, 8
jl 0x4286ed
push 0x2e
pop eax
push 0x74
pop ecx
mov word [esi], ax
push 0x78
pop eax
mov word [esi + 2], cx
mov word [esi + 4], ax
xor eax, eax
pop edi
mov word [esi + 6], cx
mov word [esi + 8], ax
mov al, 1
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42bd6e
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
mov al, byte [edx + esi]
xor al, byte [ecx + edx + 0x20c]
mov byte [ecx + edx + 0x1f8], al
inc edx
cmp edx, 0x10
jl 0x42bd75
or dword [ecx + 0x1c8], 0x4000
pop esi
ret 4

Function at 0x42bf80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
mov edi, dword [esp + 0x220]
xor esi, esi
mov dword [esp + 0xc], ecx
mov ecx, 0xc0
test byte [edi], cl
je 0x42c0d7
push ebx
lea ecx, [esp + 0x108]
mov dword [esp + 0x1fc], 0xddf8a00b
push ecx
push eax
mov dword [esp + 0x208], 0xb31fa6fe
mov dword [esp + 0x20c], 0x569fdfd8
mov dword [esp + 0x210], 0x780f056a
call fcn.00473736
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x218]
push eax
push edi
call fcn.00402640
mov ebx, edi
lea eax, [esp + 0x220]
add esp, 0x14
mov edx, esi
sub ebx, eax
lea ecx, [esp + 0x20c]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jl 0x42c020
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x210]
push eax
call fcn.0047365a
mov ebx, dword [esp + 0x234]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x208]
push eax
lea eax, [ebx - 0x10]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004733b3
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp dword [eax + 0x22c], esi
jbe 0x42c0b2
mov edi, esi
test ebx, ebx
jle 0x42c0b2
mov esi, eax
mov eax, edi
sar eax, 0xb
add eax, dword [esp + 0x234]
push 0x800
push eax
push dword [esi + 0x228]
lea eax, [edi + ebp]
push eax
call fcn.00435712
add edi, 0x800
add esp, 0x10
cmp edi, ebx
jl 0x42c082
xor esi, esi
mov eax, ebx
mov edi, 0xc0
cdq
idiv edi
xor edx, edx
inc edx
pop ebx
cmp eax, edx
jle 0x42c0d7
lea ecx, [ebp + 0xc4]
cmp byte [ecx], 0x47
jne 0x42c0d7
inc esi
add ecx, edi
inc edx
cmp edx, eax
jl 0x42c0ca
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004b94b6
add esp, 0x210
ret 0x14

Function at 0x42c232
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push esi
push edi
push dword [esp + 0x14]
call fcn.0042c19a
add esp, 0xc
sub edi, esi
push 4
pop ecx
mov eax, dword [edi + esi]
xor dword [esi], eax
lea esi, [esi + 4]
dec ecx
jne 0x42c24f
pop edi
pop esi
ret
Function at 0x42c25d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, 0x4d68d0
lea edi, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00439b07
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
pop ecx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + esi*4 - 0x20]
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00437f8a
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x14]
xor dword [ecx + edi], eax
add ecx, 4
cmp ecx, 0x10
jl 0x42c2be
inc byte [ebp - 5]
inc esi
cmp esi, 3
jl 0x42c2a4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b94b6
mov esp, ebp
pop ebp
ret

Function at 0x42c47c
Capabilities:
Create directory
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ebp, ebp
push ebx
push ebp
push ebp
push 0x23
push ebp
call esi
test eax, eax
jns 0x42c4a8
push ebx
push ebp
push ebp
push 0x1a
push ebp
call esi
test eax, eax
jns 0x42c4a8
xor eax, eax
mov word [ebx], ax
push 0x14
push 0x716192b3
push 0x4f8f86
call fcn.00401c0e
mov edx, eax
add esp, 0xc
mov esi, edx
mov cx, word [edx]
add edx, 2
cmp cx, bp
jne 0x42c4c0
push edi
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x42c4d1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, ebx
pop edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x42c4f9
sub ecx, edx
sar ecx, 1
pop esi
pop ebp
lea eax, [ebx + ecx*2]
pop ebx
ret
Function at 0x42e238
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xa
push ebp
mov ebp, dword [esp + 0x5c]
test eax, eax
jle 0x42e453
dec eax
push ebx
shr eax, 3
inc eax
push esi
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [ecx]
xor edx, edx
mov esi, dword [ecx + 4]
mov eax, edi
mov ecx, esi
mov dword [esp + 0x2c], esi
shrd eax, ecx, 0x10
mov ebx, esi
or edx, eax
shr ecx, 0x10
and ebx, 0xff0000
mov eax, esi
or ebx, ecx
mov ecx, 0xff00
shrd edx, ebx, 0x10
and eax, ecx
shr ebx, 0x10
or ebx, eax
movzx eax, byte [esp + 0x2c]
shrd edx, ebx, 0x10
shr ebx, 0x10
or ebx, eax
mov eax, edi
shrd edx, ebx, 8
shld esi, eax, 0x10
mov dword [esp + 0x10], edx
mov edx, edi
and edx, ecx
shl eax, 0x10
or edx, eax
shr ebx, 8
xor ecx, ecx
mov eax, edi
or ecx, esi
and eax, 0xff0000
shld ecx, edx, 0x10
mov esi, dword [esp + 0x1c]
and edi, 0xff000000
shl edx, 0x10
or edx, eax
shld ecx, edx, 0x10
shl edx, 0x10
or edx, edi
xor edi, edi
shld ecx, edx, 8
shl edx, 8
or ebx, ecx
or dword [esp + 0x10], edx
mov edx, ebp
mov ecx, dword [esp + 0x14]
and edx, 0xffffff
mov dword [esp + 0x24], ebx
test ecx, ecx
jle 0x42e35f
mov ebx, ecx
and edx, 0xffffff
movzx eax, dl
mov ecx, edx
xor eax, edi
shr ecx, 7
shl edx, 0x11
movzx eax, byte [eax + 0x4f9430]
shl eax, 4
add eax, esi
mov dword [esp + edi*4 + 0x30], eax
mov eax, esi
shr eax, 0xf
shl esi, 0x11
or edx, eax
or esi, ecx
inc edi
cmp edi, ebx
jl 0x42e323
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 9
pop esi
mov eax, esi
cdq
idiv ecx
push dword [esp + edx*4 + 0x30]
push edi
call fcn.0042dbf4
sub ebx, eax
mov edx, ebx
mov ebx, edi
mov edi, edx
pop ecx
pop ecx
cmp esi, 5
jne 0x42e39c
xor eax, eax
mov ebp, edx
or eax, ebx
and ebp, 0xffffff
xor eax, dword [esp + 0x64]
xor ebp, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
dec esi
mov ecx, dword [esp + 0x14]
jns 0x42e366
mov ecx, edx
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [esp + 0x2c], edx
or esi, ebx
mov dword [esp + 0x14], 2
mov ebx, edx
mov eax, esi
shrd eax, ecx, 0x10
and ebx, 0xff0000
xor edi, edi
or edi, eax
shr ecx, 0x10
or ebx, ecx
mov eax, edx
shrd edi, ebx, 0x10
mov ecx, 0xff00
and eax, ecx
shr ebx, 0x10
or ebx, eax
movzx eax, dl
shrd edi, ebx, 0x10
mov edx, esi
shr ebx, 0x10
and edx, ecx
or ebx, eax
xor ecx, ecx
mov eax, esi
shld dword [esp + 0x10], eax, 0x10
or ecx, dword [esp + 0x10]
shl eax, 0x10
or edx, eax
mov eax, esi
shld ecx, edx, 0x10
and eax, 0xff0000
and esi, 0xff000000
shl edx, 0x10
or edx, eax
shld ecx, edx, 0x10
shrd edi, ebx, 8
shl edx, 0x10
or edx, esi
shr ebx, 8
shld ecx, edx, 8
or ebx, ecx
shl edx, 8
mov ecx, dword [esp + 0x18]
or edi, edx
mov dword [ecx], edi
mov dword [ecx + 4], ebx
add ecx, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], ecx
jne 0x42e27b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
pop ebp
xor ecx, esp
call fcn.004b94b6
add esp, 0x4c
ret
Function at 0x42e463
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
and edx, 0xffffff
push ebp
push esi
mov esi, dword [esp + 0x40]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x48]
and edx, 0xffffff
movzx eax, dl
mov ecx, edx
xor eax, ebp
shr ecx, 7
shl edx, 0x11
movzx eax, byte [eax + 0x4f9430]
shl eax, 4
add eax, edi
mov dword [esp + ebp*4 + 0x10], eax
mov eax, edi
shr eax, 0xf
shl edi, 0x11
or edx, eax
or edi, ecx
inc ebp
cmp ebp, 0xa
jl 0x42e48d
push 9
pop edi
push dword [esp + edi*4 + 0x10]
push ebx
call fcn.0042dbf4
sub esi, eax
dec edi
mov edx, esi
mov esi, ebx
pop ecx
pop ecx
mov ebx, edx
jns 0x42e4c5
mov ecx, dword [esp + 0x38]
xor eax, eax
pop edi
or eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x2c
ret

Function at 0x42e4f3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
and edx, 0xffffff
push ebp
push esi
mov esi, dword [esp + 0x44]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x44]
and edx, 0xffffff
movzx eax, dl
mov ecx, edx
xor eax, ebp
shr ecx, 7
shl edx, 0x11
movzx eax, byte [eax + 0x4f9430]
shl eax, 4
add eax, esi
mov dword [esp + ebp*4 + 0x10], eax
mov eax, esi
shr eax, 0xf
shl esi, 0x11
or edx, eax
or esi, ecx
inc ebp
cmp ebp, 0xa
jl 0x42e51d
xor esi, esi
push dword [esp + esi*4 + 0x10]
push ebx
call fcn.0042dbf4
inc esi
pop ecx
pop ecx
lea edx, [edi + eax]
mov edi, ebx
mov ebx, edx
cmp esi, 0xa
jl 0x42e554
mov ecx, dword [esp + 0x38]
xor eax, eax
xor edx, dword [esp + 0x44]
or eax, edi
xor eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x2c
ret

Function at 0x42e58c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5248a0], 0
jne 0x42e5f0
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
mov bl, byte [ecx + 0x4f9430]
mov al, bl
movzx ecx, cl
xor al, 0xc9
rol al, 2
movzx edx, al
mov al, bl
xor al, 0x2b
shl edx, 8
ror al, 3
movzx eax, al
add edx, eax
mov al, bl
xor al, 0x65
shl edx, 8
rol al, 1
movzx eax, al
add edx, eax
movzx eax, bl
xor ecx, eax
shl edx, 8
add edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x5248a0], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x100
jl 0x42e59f
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f3cb
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
push edi
mov ebx, dword [edx]
xor edi, edi
mov esi, dword [edx + 4]
cmp dword [esp + 0x18], edi
jbe 0x42f40a
push ebp
mov ebp, dword [esp + 0x18]
movzx ecx, byte [edi + ebp]
movzx eax, bl
shrd ebx, esi, 8
xor ecx, eax
shr esi, 8
xor ebx, dword [ecx*8 + 0x4d6938]
xor esi, dword [ecx*8 + 0x4d693c]
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x42f3e4
pop ebp
pop edi
mov dword [edx + 4], esi
pop esi
mov dword [edx], ebx
pop ebx
ret
Function at 0x434e45
Capabilities:
Get common file path

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x29c], eax
mov eax, dword [esp + 0x2ac]
push ebx
push ebp
mov ebp, dword [esp + 0x2ac]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [esp + 0x24]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x434e88
mov eax, dword [esp + 0x2b8]
sub esi, ecx
movzx eax, ax
push eax
push 0x4ab047a3
push 0xffa22437
push 0xd9c7899c
sar esi, 1
mov dword [esp + 0x20], eax
call fcn.00401ee0
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
lea eax, [eax + esi*2]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
call esi
add esp, 0xc
mov dword [esp + 0x18], 0xc
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
push ebx
push 0x4000080
push 2
push eax
push 3
push 0xc0000000
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x434f12
xor al, al
jmp 0x434f94
push dword [esp + 0x10]
push 0xe840593c
push 0x5d523aa1
push 0x7b379798
call fcn.00401ee0
add esp, 0xc
push eax
push ebp
push 0x8870be26
push 0x3d62dda3
push 0x1b0770aa
call fcn.00401ee0
add esp, 0xc
push eax
lea eax, [esp + 0x34]
push eax
call esi
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.004351ef
add esp, 0x24
test eax, eax
je 0x434f8b
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004354e0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x434f8b
push dword [esp + 0x14]
push esi
call fcn.00435278
push esi
mov bl, al
call fcn.00404d44
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x2a0
ret
Function at 0x434fad
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x260]
sub esp, 0x2e0
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push esi
mov esi, dword [ebp + 0x268]
push edi
push 0x93915731
push 0x268334ac
push 0xe69a9d
call fcn.00401ee0
add esp, 0xc
push eax
push esi
push 0x70f0d66e
push 0xc5e2b5cc
push 0xe3871b1f
call fcn.00401ee0
add esp, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x40
xor edi, edi
lea eax, [ebp - 0x7c]
xorps xmm0, xmm0
push edi
push eax
movdqu xmmword [ebp - 0x3c], xmm0
call fcn.004bea90
add esp, 0x1c
mov dword [ebp - 0x80], 0x44
xor eax, eax
mov dword [ebp - 0x54], edi
inc eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x435080
cmp dword [ebp + 0x26c], 0
je 0x435070
push dword [ebp + 0x26c]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x25c]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004b94b6
lea esp, [ebp + 0x260]
pop ebp
ret