joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425950
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6435b2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6c3afc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x688810
mov dword [edi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0x10]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00409e20
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x68880c
call fcn.0040a5f0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x6887d0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x6cd9fc]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x425a21
mov eax, dword [eax]
push 0x21
mov ecx, eax
call fcn.00423990
test eax, eax
jne 0x425a55
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x425a44
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x425a55
push ebx
call fcn.0040bc70
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 8
Function at 0x425a70
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643b02
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6c3afc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x6906c0
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.0041d0d0
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x6906bc
call fcn.0040a5f0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x6887d0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x6cd9fc]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x425b41
mov eax, dword [eax]
push 0x22
mov ecx, eax
call fcn.00423990
test eax, eax
jne 0x425b75
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x425b64
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x425b75
push ebx
call fcn.0040bc70
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 8
Function at 0x427160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6484f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x427250
cmp dword [esi + 0x30], ebx
je 0x427250
push 0x688728
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040aa60
add esp, 0xc
push edi
push eax
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], ebx
call fcn.0040ad50
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x4271dc
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x1c], ebx
je 0x42720d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4271fd
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x427219
cmp dword [ebp - 0x18], 8
jb 0x427250
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x427248
lea ecx, [esi + 4]
mov edx, edi
mov ebx, esi
call fcn.00433360
lea eax, [esi + 0xc8]
mov esi, edi
call fcn.004334a0
lea eax, [ebp - 0x2c]
push eax
call fcn.00435b80
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x427250
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x42a550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644775
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov edi, ecx
lea ecx, [ebx + 4]
xor esi, esi
mov dword [ebx], 0x690878
push esi
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push edi
mov dword [ebp - 0x50], ebx
mov word [ecx], ax
call fcn.00403240
mov dword [ebp - 4], esi
mov eax, 7
xor ecx, ecx
xor edx, edx
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], ecx
mov word [ebx + 0x20], dx
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x4c], ecx
mov word [ebx + 0x3c], dx
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x68], ecx
mov word [ebx + 0x58], dx
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x84], ecx
mov word [ebx + 0x74], dx
mov dword [ebx + 0xa4], eax
xor eax, eax
mov dword [ebx + 0xa0], ecx
mov word [ebx + 0x90], ax
push edi
push ebx
mov byte [ebp - 4], 5
call fcn.0042c760
lea edi, [ebp - 0x2c]
call fcn.0042b190
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 6
call fcn.00402260
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 8
jb 0x42a627
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x48]
call fcn.0043a740
mov ecx, eax
lea eax, [ebx + 0x20]
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0040ad10
cmp dword [eax + 0x10], 0
mov esi, 8
jne 0x42a651
mov byte [ebp - 0x49], 0
jmp 0x42a665
cmp dword [eax + 0x14], esi
jb 0x42a658
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0x49]
cmp dword [ebp - 0x18], esi
jb 0x42a676
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x42a69f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0x49], 0
lea esi, [ebp - 0x48]
je 0x42a6ca
call fcn.0043a740
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 8
call fcn.0040a950
cmp dword [ebp - 0x34], 8
jb 0x42a6f2
mov edx, dword [ebp - 0x48]
push edx
jmp 0x42a6ea
call fcn.0043a770
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 9
call fcn.0040a950
cmp dword [ebp - 0x34], 8
jb 0x42a6f2
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
mov eax, ebx
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x42b190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6445ed
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x68], esi
mov ecx, dword [0x6ce720]
cmp ecx, esi
jne 0x42b1fa
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x42b1e9
mov esi, eax
call fcn.00434ee0
jmp 0x42b1eb
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6ce720], ecx
lea ebx, [ebp - 0x64]
call fcn.004353d0
push 1
push 0x688728
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0040a780
lea esi, [ebp - 0x2c]
call fcn.0043a550
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040a950
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x42b24b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x42b297
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x42b25b
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x42b297
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x64]
mov word [ebp - 0x2c], cx
mov esi, 7
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00403240
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ebx, [esi - 6]
jmp 0x42b2c5
push ebx
xor eax, eax
mov esi, 7
push 0x688638
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.00403600
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
mov ebx, 2
xor ecx, ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
mov dword [ebp - 0x68], ebx
call fcn.00402260
or ebx, 4
test bl, 2
je 0x42b30c
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x42b2fc
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
test bl, 1
je 0x42b333
cmp dword [ebp - 0x18], 8
jb 0x42b323
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], 8
jb 0x42b345
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x42e390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64411d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6c3afc]
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x68], esi
mov edi, dword [0x6ce720]
mov dword [ebp - 0x6c], eax
cmp edi, esi
jne 0x42e401
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x42e3f0
mov esi, eax
call fcn.00434ee0
jmp 0x42e3f2
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6ce720], edi
lea ebx, [ebp - 0x64]
call fcn.004351b0
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.004329e0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040a950
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x42e444
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x42e490
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x42e454
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x42e490
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
xor edx, edx
mov edi, 7
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00403240
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ebx, [edi - 6]
jmp 0x42e4be
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
mov edi, 7
push 0x688638
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00403600
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
mov ebx, 2
mov esi, dword [ebp - 0x6c]
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
push eax
mov ecx, esi
mov dword [ebp - 0x68], ebx
mov word [esi], dx
call fcn.00402260
or ebx, 4
test bl, 2
je 0x42e508
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x42e4f8
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
test bl, 1
je 0x42e52f
cmp dword [ebp - 0x18], 8
jb 0x42e51f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], 8
jb 0x42e541
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x42ea30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6489a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
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
xor ebx, ebx
push ebx
mov esi, ecx
xor eax, eax
push 0x688638
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
call fcn.00403600
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0042e720
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
mov edi, eax
jb 0x42eaa6
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
cmp edi, ebx
je 0x42eb47
cmp dword [esi + 0x14], ebx
je 0x42eb47
cmp dword [esi + 0x30], ebx
je 0x42eb47
cmp dword [esi + 0x30], ebx
lea edi, [esi + 0x20]
je 0x42eaf0
cmp dword [edi + 0x14], 8
jb 0x42eade
mov eax, dword [edi]
jmp 0x42eae0
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x42eaf9
push edi
call fcn.00435930
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 0x30], bl
call fcn.0042ec70
add esp, 4
mov ebx, 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0042f650
cmp eax, 8
jl 0x42eb20
mov byte [ebp - 0x30], bl
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, esi
call fcn.0042f790
cmp dword [ebp - 0x18], 8
mov esi, eax
jb 0x42eb43
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov eax, esi
jmp 0x42eb49
xor eax, eax
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.005dd8e2
mov esp, ebp
pop ebp
ret 4
Function at 0x42eb70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6484f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x688728
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040aa60
add esp, 0xc
push edi
push eax
lea edx, [ebp - 0x2c]
xor ebx, ebx
push edx
mov dword [ebp - 4], ebx
call fcn.0040ad50
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x42ebda
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x1c], ebx
je 0x42ec0b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42ebfb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x42ec17
cmp dword [ebp - 0x18], 8
jb 0x42ec4e
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x42ec46
lea ecx, [esi + 4]
mov edx, edi
mov ebx, esi
call fcn.00433360
lea eax, [esi + 0xc8]
mov esi, edi
call fcn.004334a0
lea eax, [ebp - 0x2c]
push eax
call fcn.00435b80
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x42ec4e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x432bf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00432cd0
test al, al
je 0x432c1f
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005de050
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x432c68
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x432c78
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x432c6a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x432c68
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x432c9a
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x432cb2
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x432c68
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 4
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret

Function at 0x433360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6481d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
mov edi, edx
je 0x433458
cmp dword [esi + 0x14], 8
jb 0x4333a2
mov eax, dword [esi]
jmp 0x4333a4
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x433458
mov ecx, esi
lea esi, [ebp - 0x48]
call fcn.00431c70
push eax
lea ecx, [ebx + 0x74]
mov dword [ebp - 4], 0
call fcn.00403740
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 0x10
jb 0x4333eb
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
mov ecx, edi
lea esi, [ebp - 0x2c]
call fcn.00431c70
push eax
lea ecx, [ebx + 0x58]
mov dword [ebp - 4], 1
call fcn.00403740
or esi, 0xffffffff
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x10
jb 0x43341d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
push 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00417d0d
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 2
call fcn.004335d0
test al, al
jne 0x43345c
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], esi
call fcn.00417f36
xor al, al
jmp 0x433476
lea edi, [ebp - 0x58]
mov ecx, ebx
call fcn.00433e70
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00417f36
mov al, 1
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x4334a0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x14], 8
jb 0x4334ac
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 2
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4334f9
cmp dword [esi + 0x14], 8
push ebx
mov bl, 1
jb 0x4334d1
mov eax, dword [esi]
jmp 0x4334d3
mov eax, esi
mov edx, dword [ebp - 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4334e4
xor bl, bl
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x4334f9
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4351b0
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x68], esi
cmp dword [edi + 0x10], esi
je 0x435203
cmp dword [edi + 0x14], 8
jb 0x4351ed
mov eax, dword [edi]
jmp 0x4351ef
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
jne 0x43538e
cmp byte [edi + 0x134], 0
je 0x435280
cmp dword [edi + 0x128], esi
je 0x435280
call fcn.00432bf0
mov ecx, edi
cmp eax, 1
je 0x435250
push 9
push str.C:Users_
call fcn.0040a780
push 0xffffffffffffffff
push esi
lea ecx, [edi + 0x118]
push ecx
mov ecx, eax
call fcn.0040a950
push 0xe
push str.AppDataLocal
mov ecx, eax
call fcn.0040a780
jmp 0x43538e
push 0x1a
push str.C:Documents_and_Settings_
call fcn.0040a780
push 0xffffffffffffffff
push esi
lea edx, [edi + 0x118]
push edx
mov ecx, eax
call fcn.0040a950
push 0x20
push str.Local_SettingsApplication_Data
mov ecx, eax
call fcn.0040a780
jmp 0x43538e
push 0xd
xor eax, eax
push str.Local_AppData
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], ax
call fcn.00403600
mov dword [ebp - 4], esi
xor ecx, ecx
push 0x40
mov word [ebp - 0x2c], cx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.00403600
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x68], reloc.WS2_32.dll_accept
call fcn.00435610
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x435300
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x435325
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], esi
jb 0x435351
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [edi + 0x10], 0
ja 0x43538c
push 0x654310
lea esi, [ebp - 0x48]
call fcn.00410b00
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00402260
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x43538c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor esi, esi
push 0xffffffffffffffff
push esi
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.00403240
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret