joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4250ab
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
xor edx, edx
push 0xa
pop ecx
div ecx
xor ebx, ebx
mov esi, 0x811c9dc5
lea edx, [eax + 1]
cmp dword [edi + 0x10], ebx
jbe 0x4250ec
cmp dword [edi + 0x14], 8
jb 0x4250d7
mov eax, dword [edi]
jmp 0x4250d9
mov eax, edi
movzx ecx, word [eax + ebx*2]
imul esi, esi, 0x1000193
add ebx, edx
xor esi, ecx
cmp ebx, dword [edi + 0x10]
jb 0x4250cd
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x425caa
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x618], eax
call fcn.004231b6
cmp dword [esi + 0x14], 8
jb 0x425ce0
mov eax, dword [esi]
jmp 0x425ce2
mov eax, esi
lea ecx, [ebp - 0x618]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x425d2e
push 0x414220
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x614]
call fcn.004236df
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
push 0
push dword [ebp - 0x618]
mov ecx, esi
call fcn.004231b6
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444de9
leave
ret 4
Function at 0x425ddb
Capabilities:
Get user security identifier

Disassembly:
push 0x660
mov eax, 0x452c15
call fcn.00444eac
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor esi, esi
push 8
mov dword [ebp - 0x668], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x66c], esi
mov dword [ebp - 0x64c], esi
mov dword [ebp - 0x644], esi
mov dword [ebp - 0x654], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], esi
cmp dword [edi + 0x14], ecx
jb 0x425e32
mov eax, dword [edi]
jmp 0x425e34
mov eax, edi
cmp dword [ebx + 0x14], ecx
jb 0x425e3d
mov ecx, dword [ebx]
jmp 0x425e3f
mov ecx, ebx
lea edx, [ebp - 0x654]
push edx
lea edx, [ebp - 0x644]
push edx
push esi
lea edx, [ebp - 0x64c]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x425ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x425ea2
push edi
push ebx
push 0x414260
push eax
push 0xf
lea ecx, [ebp - 0x63c]
call fcn.004263a8
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x334]
mov ecx, 0xc2
lea edi, [ebp - 0x334]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
mov eax, dword [ebp - 0x644]
dec eax
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004231b6
mov dword [ebp - 0x664], esi
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x65c], esi
push dword [ebp - 0x64c]
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 1
call fcn.0042517b
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
jae 0x425eea
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x660]
sub esi, dword [ebp - 0x664]
mov eax, esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x664]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x640], esi
jb 0x425f18
mov ecx, dword [edi]
mov dword [ebp - 0x650], ecx
jmp 0x425f1e
mov dword [ebp - 0x650], edi
cmp dword [ebx + 0x14], 8
jb 0x425f28
mov ecx, dword [ebx]
jmp 0x425f2a
mov ecx, ebx
lea esi, [ebp - 0x654]
push esi
lea esi, [ebp - 0x644]
push esi
push edx
lea edx, [ebp - 0x64c]
push edx
push eax
push dword [ebp - 0x650]
push ecx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, dword [ebp - 0x640]
test eax, eax
jne 0x425f78
push edi
push ebx
push 0x414340
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x63c]
call fcn.00426447
jmp 0x425e82
neg esi
sbb esi, esi
and esi, dword [ebp - 0x664]
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x648]
mov dword [ebp - 0x640], esi
call fcn.004259a8
mov esi, dword [ebp - 0x668]
push esi
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 3
call fcn.00425a1a
cmp dword [ebp - 0x648], 0
je 0x425fc4
push dword [ebp - 0x648]
call fcn.00442696
lea ecx, [ebp - 0x664]
call fcn.0042523a
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004214d1
mov eax, esi
call fcn.00444f2f
ret 0xc
Function at 0x426ab7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0
jne 0x426b09
push 0x4147c0
push 0x3a
lea ecx, [ebp - 0x614]
call fcn.00427210
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
cmp dword [esi + 0x10], 0x3fff
jbe 0x426b26
push 0x414880
push 0x1d
lea ecx, [ebp - 0x614]
call fcn.0042728d
jmp 0x426ae9
cmp dword [esi + 0x14], 8
jb 0x426b30
mov eax, dword [esi]
jmp 0x426b32
mov eax, esi
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x426b68
lea ecx, [edi + 8]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push esi
push 0x414920
push eax
push 0xf
lea ecx, [ebp - 0x614]
call fcn.0042730a
jmp 0x426ae9
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00444de9
leave
ret 8
Function at 0x426b78
Capabilities:
Set registry value

Disassembly:
push 0x674
mov eax, 0x452d38
call fcn.00444eac
mov dword [ebp - 0x67c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x678], 0
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x680], eax
push esi
je 0x426bbb
lea eax, [ebp - 0x64]
push eax
call fcn.00425875
and dword [ebp - 4], 0
xor edi, edi
inc edi
mov ebx, edi
jmp 0x426bcc
lea ecx, [ebp - 0x48]
call fcn.00420613
xor edi, edi
inc edi
push 2
mov dword [ebp - 4], edi
pop ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x678], ebx
call fcn.00420613
mov dword [ebp - 4], 2
test bl, 2
je 0x426bf5
push 0
push edi
lea ecx, [ebp - 0x48]
and ebx, 0xfffffffd
call fcn.004214d1
mov byte [ebp - 4], 4
test bl, 1
je 0x426c09
push 0
push edi
lea ecx, [ebp - 0x64]
call fcn.004214d1
push esi
lea ecx, [ebp - 0x2c]
call fcn.0042508a
mov ecx, dword [ebp - 0x67c]
test eax, eax
mov eax, dword [ecx + 0x24]
setne bl
mov dword [ebp - 0x678], eax
test eax, eax
jne 0x426c7b
mov dword [ebp - 0x678], 0x4149d0
test bl, bl
jne 0x426c42
mov dword [ebp - 0x678], 0x4149e4
lea eax, [ebp - 0x678]
push eax
push 0x4149f0
push 0x3a
lea ecx, [ebp - 0x674]
call fcn.004273af
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x36c]
mov ecx, 0xc2
lea edi, [ebp - 0x36c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
mov eax, dword [ebp - 0x680]
cmp dword [eax + 0x10], 0x3fff
jbe 0x426cc1
mov dword [ebp - 0x678], 0x4149d0
test bl, bl
jne 0x426ca2
mov dword [ebp - 0x678], 0x4149e4
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x678]
push eax
push 0x414ab0
push 0x1d
lea ecx, [ebp - 0x674]
call fcn.00427446
jmp 0x426c5b
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x426ccf
mov ecx, 0x414b80
jmp 0x426cdb
cmp dword [esi + 0x14], 8
jb 0x426cd9
mov ecx, dword [esi]
jmp 0x426cdb
mov ecx, esi
cmp dword [eax + 0x14], 8
jb 0x426ce5
mov edx, dword [eax]
jmp 0x426ce7
mov edx, eax
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
xor eax, eax
test bl, bl
setne al
push ecx
inc eax
push eax
push 0
push edx
push dword [ebp - 0x678]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
test ecx, ecx
je 0x426d5a
mov dword [ebp - 0x678], 0x4149d0
test bl, bl
jne 0x426d29
mov dword [ebp - 0x678], 0x4149e4
mov eax, dword [ebp - 0x67c]
add eax, 8
push eax
mov eax, dword [ebp - 0x680]
push esi
push eax
lea eax, [ebp - 0x678]
push eax
push 0x414b88
push ecx
push 0xf
lea ecx, [ebp - 0x674]
call fcn.004274e3
jmp 0x426c5b
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.004214d1
call fcn.00444f2f
ret 0xc
Function at 0x426d6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0
mov ecx, dword [ebp + 0xc]
jne 0x426dc3
push 0x414c50
push 0x3a
lea ecx, [ebp - 0x614]
call fcn.00427210
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
cmp dword [esi + 0x14], 8
push 4
pop ebx
mov dword [ebp - 0x618], ebx
mov dword [ebp - 0x61c], ebx
jb 0x426ddc
mov eax, dword [esi]
jmp 0x426dde
mov eax, esi
lea edx, [ebp - 0x61c]
push edx
push ecx
lea ecx, [ebp - 0x618]
push ecx
push 0
push eax
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
je 0x426e29
cmp ecx, 2
je 0x426e35
cmp ecx, 0xea
je 0x426e35
push esi
lea eax, [edi + 8]
push eax
push 0x414d10
push ecx
push 0xf
lea ecx, [ebp - 0x614]
call fcn.0042758e
jmp 0x426da3
cmp dword [ebp - 0x618], ebx
jne 0x426e35
mov al, 1
jmp 0x426e37
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444de9
leave
ret 8
Function at 0x426e48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 0x24], 0
push edi
mov edi, dword [ebp + 0xc]
jne 0x426e9f
push esi
push 0x414d90
push 0x3a
lea ecx, [ebp - 0x614]
call fcn.0042762d
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
xor edx, edx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x61c], 1
mov dword [ebp - 0x618], edx
jb 0x426ebb
mov eax, dword [esi]
jmp 0x426ebd
mov eax, esi
lea ecx, [ebp - 0x618]
push ecx
push edx
lea ecx, [ebp - 0x61c]
push ecx
push edx
push eax
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x426fa6
cmp dword [ebp - 0x61c], 1
je 0x426ef8
cmp dword [ebp - 0x61c], 2
jne 0x426fa6
test ecx, ecx
je 0x426f19
push esi
lea eax, [ebx + 8]
push eax
push 0x414d10
push ecx
push 0xf
lea ecx, [ebp - 0x614]
call fcn.0042758e
jmp 0x426e7f
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x426f27
mov eax, dword [edi]
jmp 0x426f29
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x618]
cmp ecx, 2
ja 0x426f3d
mov al, 1
jmp 0x426fa8
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, edi
call fcn.004231b6
cmp dword [edi + 0x14], 8
jb 0x426f54
mov ecx, dword [edi]
jmp 0x426f56
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x426f60
mov eax, dword [esi]
jmp 0x426f62
mov eax, esi
lea edx, [ebp - 0x618]
push edx
push ecx
lea ecx, [ebp - 0x61c]
push ecx
push 0
push eax
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x426f91
push esi
lea ecx, [ebx + 8]
push ecx
push 0x414d10
push eax
jmp 0x426f07
mov eax, dword [ebp - 0x618]
shr eax, 1
push 0
dec eax
push eax
mov ecx, edi
call fcn.004231b6
jmp 0x426f39
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444de9
leave
ret 8
Function at 0x42b863
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
push edi
jb 0x42b885
mov eax, dword [esi]
jmp 0x42b887
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
jne 0x42b911
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42b911
cmp eax, 5
jne 0x42b8cb
push dword [ebp + 0xc]
push 0x80
push esi
call fcn.0042b923
cmp dword [esi + 0x14], 8
jb 0x42b8bc
mov eax, dword [esi]
jmp 0x42b8be
mov eax, esi
push eax
call edi
test eax, eax
jne 0x42b911
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42b911
push esi
push 0x415954
push eax
push 0xf
lea ecx, [ebp - 0x30c]
call fcn.0042babf
cmp byte [ebp + 0xc], 0
je 0x42b90d
push 0x457f20
lea eax, [ebp - 0x614]
mov ecx, 0xc2
lea esi, [ebp - 0x30c]
lea edi, [ebp - 0x614]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
xor al, al
jmp 0x42b913
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00444de9
leave
ret 8

Function at 0x42b923
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x42b944
mov eax, dword [esi]
jmp 0x42b946
mov eax, esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42b997
cmp byte [ebp + 0x10], al
je 0x42b997
lea eax, [ebp + 0xc]
push eax
push esi
push 0x415988
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x614]
call fcn.0042bbd5
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444de9
leave
ret 0xc
Function at 0x434213
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp + 8]
push esi
cmp edx, 0xffffffff
jne 0x434264
push 0x417190
push 0x15
lea ecx, [ebp - 0x614]
call fcn.004342bc
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
and dword [ebp - 0x618], 0
cmp dword [eax + 0x14], 8
jb 0x434275
mov ecx, dword [eax]
jmp 0x434277
mov ecx, eax
mov eax, dword [eax + 0x10]
push 0
lea esi, [ebp - 0x618]
push esi
add eax, eax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4342ad
push 0x4171e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x614]
call fcn.00434194
jmp 0x434244
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444de9
leave
ret 4

Function at 0x434439
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.00434584
test al, al
je 0x43448e
push 0x417220
push 0x53
lea ecx, [ebp - 0x614]
call fcn.004239c0
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
cmp dword [esi + 4], 0xffffffff
je 0x43449d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x18]
push eax
xor eax, eax
push eax
push edi
push dword [esi + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x4344d2
push 0x4172b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x614]
call fcn.0042eb95
jmp 0x43446e
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x14], 0x103
xor ecx, ebp
pop esi
call fcn.00444de9
leave
ret 4

Function at 0x436156
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x436176
lea eax, [edi + 0x10]
push eax
push 0x418710
push 3
call fcn.0042bc74
mov al, 1
jmp 0x4361d7
push esi
lea esi, [edi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x436184
mov eax, dword [esi]
jmp 0x436186
mov eax, esi
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
cmp eax, 0xb7
jne 0x4361b9
push esi
push 0x418748
push 3
call fcn.004277d8
cmp dword [edi + 4], 0
jne 0x4361d4
lea eax, [ebp + 0xc]
push eax
push esi
push 0x418788
push 3
call fcn.0043627a
xor al, al
jmp 0x4361d6
mov al, 1
pop esi
pop edi
pop ebp
ret 8
Function at 0x4365af
Capabilities:
Terminate process

Disassembly:
push 0x44
mov eax, 0x45518d
call fcn.00444eac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
push ebx
push 1
mov dword [ebp - 0x38], ebx
call fcn.00424fa3
mov dword [ebp - 0x3c], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 4], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], ebx
call fcn.004241b0
mov edi, dword [ebp - 0x3c]
mov esi, dword [edi]
jmp 0x436694
mov eax, dword [esi + 8]
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov byte [ebp - 4], 1
call fcn.004242a5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43661f
lea eax, [ebp - 0x2c]
push ebx
push 0xffffffffffffffff
push 0x4135dc
push eax
call fcn.00421b87
test eax, eax
jne 0x436684
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x418bb8
push 3
call fcn.004369c8
lea ecx, [ebp - 0x50]
call fcn.004232bb
push 1
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x30]
mov byte [ebp - 4], 2
push ebx
push 1
call fcn.00424094
lea eax, [ebp - 0x30]
push eax
push 0x418c18
push 1
call fcn.00436a31
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x50]
call fcn.004232dc
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004214d1
mov esi, dword [esi]
cmp esi, edi
jne 0x4365ef
lea ecx, [ebp - 0x3c]
call fcn.00424e2c
push dword [ebp - 0x3c]
call fcn.00433bc4
pop ecx
call fcn.00444f2f
ret 4

Function at 0x4377ca
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x14], 8
push edi
mov dword [ebp - 0x10], ebx
jb 0x4377e5
mov eax, dword [esi]
jmp 0x4377e7
mov eax, esi
lea ecx, [ebp + 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x4377fd
push ebx
push ebx
push ebx
push ebx
jmp 0x43786f
push edi
call fcn.00445d33
mov ebx, eax
pop ecx
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x437869
cmp dword [esi + 0x14], 8
jb 0x437815
mov esi, dword [esi]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x437862
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x412cec
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x437862
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xa]
push dword [ebp - 8]
movzx ebx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx esi, word [eax + 0xc]
mov dword [ebp - 0xc], ecx
call fcn.00445cf9
pop ecx
push esi
push edi
push ebx
push dword [ebp - 0xc]
jmp 0x43786f
push ebx
call fcn.00445cf9
pop ecx
xor eax, eax
push eax
push eax
push eax
push eax
mov ecx, dword [ebp + 8]
call fcn.00436c70
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43a548
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x114
push esi
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004456bd
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
pop esi
jne 0x43a5a9
cmp dword [ebp - 0x110], 2
jne 0x43a5a9
cmp dword [ebp - 0x10c], 0x203a
jne 0x43a5a9
xor al, al
jmp 0x43a5ab
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444de9
leave
ret

Function at 0x43adb9
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x618], eax
call fcn.004231b6
cmp dword [esi + 0x14], 8
jb 0x43adef
mov eax, dword [esi]
jmp 0x43adf1
mov eax, esi
lea ecx, [ebp - 0x618]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x43ae3c
push 0x41a188
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x614]
call fcn.00425a40
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
push 0
push dword [ebp - 0x618]
mov ecx, esi
call fcn.004231b6
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444de9
leave
ret 4
Function at 0x43e0de
Capabilities:
Read file on windows

Disassembly:
push 0x63c
mov eax, 0x45626c
call fcn.00444eac
mov edi, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
cmp dword [edi + 0x24], 0xffffffff
mov dword [ebp - 0x648], ecx
jne 0x43e132
push 0x41b168
push 0x15
lea ecx, [ebp - 0x63c]
call fcn.00434085
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x334]
mov ecx, 0xc2
lea edi, [ebp - 0x334]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], ax
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ecx
lea eax, [ebp - 0x640]
push eax
push 2
lea eax, [ebp - 0x644]
push eax
push dword [edi + 0x24]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x640], ecx
call ebx
test eax, eax
je 0x43e1c2
push 0xa
pop ecx
cmp dword [ebp - 0x640], 2
jne 0x43e1cf
mov eax, dword [ebp - 0x644]
cmp ax, cx
je 0x43e1cf
cmp ax, 0xd
je 0x43e200
mov ecx, 0xfeff
cmp ax, cx
je 0x43e19d
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.00420893
and dword [ebp - 0x640], 0
push 0
lea eax, [ebp - 0x640]
push eax
push 2
lea eax, [ebp - 0x644]
push eax
push dword [edi + 0x24]
call ebx
push 0xa
pop ecx
test eax, eax
jne 0x43e16e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x26
jne 0x43e236
and dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004206b8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004214d1
mov eax, esi
call fcn.00444f2f
ret 4
push 0
lea eax, [ebp - 0x640]
push eax
push 2
lea eax, [ebp - 0x644]
push eax
push dword [edi + 0x24]
call ebx
test eax, eax
je 0x43e1c2
push 0xa
pop eax
cmp word [ebp - 0x644], ax
je 0x43e1cf
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
mov ecx, edi
call fcn.0042b742
jmp 0x43e1cf
push 0x41b1c0
call edi
push eax
push 0xf
lea ecx, [ebp - 0x63c]
call fcn.00434740
jmp 0x43e112
Function at 0x43e302
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x461fa4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
push edi
mov edi, dword [ebp + 8]
jb 0x43e328
mov eax, dword [esi]
jmp 0x43e32a
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x43e334
mov ecx, dword [edi]
jmp 0x43e336
mov ecx, edi
xor ebx, ebx
cmp byte [ebp + 0x10], bl
sete bl
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43e3c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x43e388
push 1
push 0x80
push esi
call fcn.0042b923
cmp dword [esi + 0x14], 8
jb 0x43e36d
mov ecx, dword [esi]
jmp 0x43e36f
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x43e379
mov eax, dword [edi]
jmp 0x43e37b
mov eax, edi
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43e3c3
push esi
push edi
push 0x41b298
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x614]
call fcn.0043e60c
mov esi, eax
push 0x457f20
lea eax, [ebp - 0x30c]
mov ecx, 0xc2
lea edi, [ebp - 0x30c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444df7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444de9
leave
ret 0xc

Function at 0x43e3d4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x43e3e5
mov eax, dword [esi]
jmp 0x43e3e7
mov eax, esi
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43e414
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push esi
push 0x41b2e8
push 2
call fcn.0043e6ab
xor al, al
jmp 0x43e416
mov al, 1
pop esi
pop ebp
ret 4