joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406f61
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43daa8
mov eax, dword fs:[0]
push eax
mov eax, 0x2858
call fcn.00438600
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x281c], eax
xor edi, edi
inc edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x1c], ebx
jne 0x406fde
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.0040329c
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.0040329c
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428582
leave
ret 0x3c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
dec eax
dec eax
je 0x406ff3
dec eax
dec eax
je 0x406ff3
sub eax, 4
jne 0x406ff9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], edi
cmp dword [ebp + 0x38], ebx
je 0x406fa9
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x2860]
push ebx
push eax
call fcn.00431170
add esp, 0xc
call esi
dec eax
dec eax
je 0x407024
dec eax
dec eax
je 0x407024
sub eax, 4
jne 0x40702b
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x284c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2860], edi
jae 0x40704d
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp - 0x2850], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x2830], eax
mov eax, dword [ebp + 0x28]
jae 0x407068
lea eax, [ebp + 0x28]
push 0x50
mov dword [ebp - 0x2834], eax
pop eax
mov dword [ebp - 0x2854], 3
mov word [ebp - 0x2848], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
shr esi, 0x18
call fcn.0042a13f
imul eax, eax, 0x63
pop ecx
cmp esi, eax
jbe 0x4070ac
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.00409b8b
call fcn.00404bca
push 0x27ff
lea eax, [ebp - 0x2813]
push ebx
push eax
mov byte [ebp - 0x2814], bl
call fcn.00431170
add esp, 0xc
lea eax, [ebp - 0x2820]
push eax
lea eax, [ebp - 0x2814]
push eax
push ebx
lea eax, [ebp - 0x2860]
push eax
mov dword [ebp - 0x2820], 0x2800
call dword [sym.imp.WININET.dll_InternetCreateUrlA]
mov esi, eax
lea eax, [ebp - 0x2815]
mov byte [ebp - 0x2815], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4070fe
sub eax, edx
je 0x407113
call fcn.00404c11
call fcn.00409b8b
cmp esi, ebx
jne 0x407139
mov esi, 0x80004005
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.0040329c
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.0040329c
mov eax, esi
jmp 0x406fc2
mov ecx, dword [ebp - 0x281c]
lea eax, [ebp - 0x2814]
push eax
call fcn.00403254
xor esi, esi
jmp 0x40711c
Function at 0x407a1c
Capabilities:
Delete file

Disassembly:
push 0xa0
mov eax, 0x4404aa
call fcn.0042b376
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 2
call fcn.00406d84
lea eax, [ebp - 0x54]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x38], esp
push 0x14
push 0x4458fc
call fcn.0040801d
lea edi, [ebp - 0xac]
call fcn.00426ea5
mov byte [ebp - 4], 3
call fcn.00426f82
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
jb 0x407a77
mov eax, dword [eax + 4]
jmp 0x407a7a
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00402e72
mov edi, dword [ebp - 0x30]
push edi
call fcn.00406adf
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040329c
lea esi, [ebp - 0xac]
call fcn.00417161
call fcn.00428e21
call fcn.00428e21
mov dword [ebp - 4], 2
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.00403636
lea eax, [ebp - 0x2c]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 7
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00402e94
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 8
call fcn.00402e94
mov byte [ebp - 4], 7
call fcn.00406f61
cmp eax, ebx
push ebx
jge 0x407b3d
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040329c
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.0040329c
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.0040329c
push ebx
push esi
lea ecx, [ebp + 0x40]
call fcn.0040329c
mov eax, 0x80004005
call fcn.0042b3f9
ret 0x54
call fcn.0042a13f
pop ecx
push ebx
sub esp, 0x1c
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00402e94
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 9
call fcn.00402e94
push edi
mov byte [ebp - 4], 7
call fcn.004060ee
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x31]
mov dword [ebp - 4], 7
mov byte [ebp - 0x31], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407b87
sub eax, esi
je 0x407b9c
call fcn.004053e4
call fcn.0040542d
xor esi, esi
cmp dword [ebp - 0x30], 1
jne 0x407be2
push ebx
sub esp, 0x1c
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00402e94
sub esp, 0x1c
lea eax, [edi + 0x38]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.00402e94
push edi
mov byte [ebp - 4], 7
call fcn.004060ee
inc esi
cmp esi, 0x14
mov dword [ebp - 0x30], eax
jl 0x407b9e
xor esi, esi
jmp 0x407bec
cmp dword [ebp - 0x30], ebx
jge 0x407c1f
mov esi, 0x80004005
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040329c
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.0040329c
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.0040329c
push ebx
push 1
lea ecx, [ebp + 0x40]
call fcn.0040329c
mov eax, esi
jmp 0x407b35
mov ecx, edi
call fcn.00406496
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x407c3b
dec eax
dec eax
je 0x407c3b
sub eax, 4
jne 0x407c4c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00405474
call fcn.0040556c
call fcn.004062e8
jmp 0x407bec
Function at 0x4095d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.de678b15eba163a14695f53fb98bf72
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.2f5b64d7b6cbbe13b3b127d3e
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x409649
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.e2ab182d9e4747010f1f95b7737dd
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x40961e
test eax, eax
jne 0x409659
push esi
push str.1c797499eabfbea50a4d1223f79_d
jmp 0x40965f
push eax
push str.597b44a72043fc71c7bbbf__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x409720
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.2bc94e01f13379655d5
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.ef77aca3b25d9057b4
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x409791
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.2c6dd6cfa157c9158eb
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x409766
test eax, eax
jne 0x4097a1
push esi
push str.7b47410bd75fdd69_d
jmp 0x4097a7
push eax
push str.0a6109b7d70b1e6f8__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4098a1
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.bd2fd51fa65984f39a2dcfc
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.285913e53a4565717ce
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x409912
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.2819d8231b2d517745c76
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x4098e7
test eax, eax
jne 0x409922
push esi
push str.8143bc4744d1635730b_d
jmp 0x409928
push eax
push str.6bd9b28b4aa1f839deb7ead3__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x409a93
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x370]
sub esp, 0x3f0
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp + 0x36c], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0x3e7
push esi
lea eax, [ebp - 0x7b]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x7c], bl
call fcn.00431170
push str.36e7f37bed117e3dad59e30b383
call fcn.00428d27
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
cmp edi, 0xffffffff
jne 0x409b03
push str.13393f17ad7f049b2
call fcn.00428d27
pop ecx
pop ecx
jmp 0x409b73
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x409b1e
push str.87fde9334b05b90bc8efce47d6
jmp 0x409b66
mov eax, dword [ebp - 0x80]
lea ecx, [eax - 1]
cmp ecx, 0x3e6
ja 0x409b4f
push eax
push ebx
push str.8b0f20ff7d7f3d6f6c
mov byte [ebp + eax - 0x7c], bl
call fcn.00428d27
lea eax, [ebp - 0x7c]
push eax
push str.cecf60d179ebfd27d43b4783337d8f
call fcn.00428d27
add esp, 0x14
jmp 0x409b6c
cmp eax, ebx
jne 0x409b61
push ebx
push str.bc7550f55b7daab99be7298fe36b
call fcn.00428d27
pop ecx
jmp 0x409b6b
push str.4a650543b37f9623089
call fcn.00428d27
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x36c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428582
add ebp, 0x370
leave
ret

Function at 0x409db7
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.a8bb5d613a6319e7619d7a0
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.ae055f7fbf11a7b92d8f5b099a83
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x409e28
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.43c73c9b6ed35c71f7a3a74b8c7
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x409dfd
test eax, eax
jne 0x409e38
push esi
push str.ada38335cdf1e847130169799689e0c_d
jmp 0x409e3e
push eax
push str.feb963d1a3ad2693a6d51a0b37__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x409ebc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00431170
add esp, 0xc
xor esi, esi
call fcn.00428e21
cdq
mov ecx, 0x92
idiv ecx
sub dl, 0x7f
mov byte [ebp + esi - 0x110], dl
inc esi
cmp esi, 0x19
jl 0x409ef0
xor eax, eax
lea edi, [ebp - 0x268]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x409f77
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x409f77
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00428582
leave
ret

Function at 0x409f85
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.f077ace92a9fb3af3fc
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.65a59b09756719872acbb7f120
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x409ff6
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.abe5edebefa9266794254363411
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x409fcb
test eax, eax
jne 0x40a006
push esi
push str.fad594df2fed7521ecc59_d
jmp 0x40a00c
push eax
push str.848f04ed350feecf497fee8379__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40a0a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.1d9db259860da70ffa0db
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.986b412958e9399386
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x40a116
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.033746c98b8f162d5565bc
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x40a0eb
test eax, eax
jne 0x40a126
push esi
push str.5da942333a1fe51b2_d
jmp 0x40a12c
push eax
push str.3dc352392f27745510437bf574c__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40a139
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.30494ea964f9dc179d71
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.390f14bb5a8d68f3df15561f
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x40a1aa
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.fbf720350afff0ebc59dc80d8389bb
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x40a17f
test eax, eax
jne 0x40a1ba
push esi
push str.c5532eb772e5853512117efd_d
jmp 0x40a1c0
push eax
push str.3a9fe881f16d9b4fda9945496d6b96__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40a1cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.ec8b1b019bbb071b4
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.07f79ebf4023f6232375d3e126615
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x40a23e
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.56dda8e94f3f0927cd9
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x40a213
test eax, eax
jne 0x40a24e
push esi
push str.99cdae45e7cf8c350a5bb2_d
jmp 0x40a254
push eax
push str.01a3a45759e1a22f48e126d1a4__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40a261
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x20]
push str.4a5bd24527a7628779adf2498e2d
call fcn.00428d27
mov esi, dword [ebp - 0x20]
pop ecx
imul esi, esi, 0x50
pop ecx
push 1
push 0x2000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x40a2aa
push str.038dfde52b631ebddd193
call fcn.00428d27
jmp 0x40a2e2
test esi, esi
jbe 0x40a2ba
push esi
push 0x61
push edi
call fcn.00431170
add esp, 0xc
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
mov eax, str.1c0194fd89f1c8397f5727f5d88d0
jne 0x40a2d6
mov eax, str.0000cd3367f300812cc7b50ba85f8f
push eax
push str.c353160f8d7fe5a5
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
leave
ret
Function at 0x40a2e7
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.77890ec5a94fae55
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.c72f89d7c62fc92349b197a97b
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x40a358
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.cc93dcad9a7d841b
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x40a32d
test eax, eax
jne 0x40a368
push esi
push str.3395cb09196f8cd9c0290169a0733_d
jmp 0x40a36e
push eax
push str.7327a1154c3b7bd36a5375e1617139__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40a37b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00431170
add esp, 0xc
xor esi, esi
call fcn.00428e21
cdq
mov ecx, 0x90
idiv ecx
sub dl, 0x7c
mov byte [ebp + esi - 0x110], dl
inc esi
cmp esi, 0x19
jl 0x40a3af
xor eax, eax
lea edi, [ebp - 0x268]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a436
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40a436
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00428582
leave
ret

Function at 0x40a444
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x20]
push str.dc373ac1c44579b51f4f
call fcn.00428d27
mov esi, dword [ebp - 0x20]
pop ecx
imul esi, esi, 0x50
pop ecx
push 1
push 0x2000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x40a48d
push str.0eab13811abd412b215beeb383d
call fcn.00428d27
jmp 0x40a4c5
test esi, esi
jbe 0x40a49d
push esi
push 0x61
push edi
call fcn.00431170
add esp, 0xc
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
mov eax, str.7c79076f7e85f03339b797690dffc01
jne 0x40a4b9
mov eax, str.e04dd2b157c555a94e
push eax
push str.4b27344b40039b4f12678501cced1fe
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
leave
ret
Function at 0x40a57e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00431170
add esp, 0xc
xor esi, esi
call fcn.00428e21
push 0x56
cdq
pop ecx
idiv ecx
sub dl, 0x6e
mov byte [ebp + esi - 0x110], dl
inc esi
cmp esi, 0x19
jl 0x40a5b2
xor eax, eax
lea edi, [ebp - 0x268]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a637
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40a637
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00428582
leave
ret

Function at 0x40a732
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
call fcn.00428a41
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp], str.c7d13bfbdd6b1d3117fd061f
call fcn.00428d27
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.65d168db88fd2f41215931bf0c
push 0x80000004
call ebx
mov ebp, 0xea
jmp 0x40a7a3
add esi, 0x1000
push esi
push edi
call fcn.00428f21
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push str.217b62c13c033de3e0b58
push 0x80000004
mov dword [esp + 0x28], esi
call ebx
cmp eax, ebp
je 0x40a778
test eax, eax
jne 0x40a7b3
push esi
push str.e857c45db9a78e8b7ef7385764a_d
jmp 0x40a7b9
push eax
push str.8ed56e1d868b63dbfc0337__d_
call fcn.00428d27
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret