joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8de490
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x14], edx
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, 0x10
call fcn.008de290
xor esi, esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
test bl, bl
jne 0x8de56c
xor ecx, ecx
mov cl, byte [eax]
mov ecx, dword [ecx*4 + 0x8e5530]
movzx edi, byte [eax + 1]
xor ecx, dword [edi*4 + 0x8e5930]
movzx edi, byte [eax + 2]
xor ecx, dword [edi*4 + 0x8e5d30]
movzx edi, byte [eax + 3]
xor ecx, dword [edi*4 + 0x8e6130]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov cl, byte [ebp - 0x18]
mov cl, byte [ecx + 0x8e43f8]
lea edi, [esi]
and edi, 0x80000003
jns 0x8de506
dec edi
or edi, 0xfffffffc
inc edi
mov byte [ebp + edi*4 - 0x10], cl
xor ecx, ecx
mov cl, byte [ebp - 0x17]
mov cl, byte [ecx + 0x8e43f8]
lea edi, [esi + 1]
and edi, 0x80000003
jns 0x8de525
dec edi
or edi, 0xfffffffc
inc edi
mov byte [ebp + edi*4 - 0xf], cl
xor ecx, ecx
mov cl, byte [ebp - 0x16]
mov cl, byte [ecx + 0x8e43f8]
lea edi, [esi + 2]
and edi, 0x80000003
jns 0x8de544
dec edi
or edi, 0xfffffffc
inc edi
mov byte [ebp + edi*4 - 0xe], cl
xor ecx, ecx
mov cl, byte [ebp - 0x15]
mov cl, byte [ecx + 0x8e43f8]
lea edi, [esi + 3]
and edi, 0x80000003
jns 0x8de563
dec edi
or edi, 0xfffffffc
inc edi
mov byte [ebp + edi*4 - 0xd], cl
jmp 0x8de5ed
lea ecx, [esi]
and ecx, 0x80000003
jns 0x8de57b
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edi, dword [ebp - 0x14]
movzx ecx, byte [edi + ecx*4]
mov cl, byte [ecx + 0x8e43f8]
mov byte [edx], cl
lea ecx, [esi + 3]
and ecx, 0x80000003
jns 0x8de59a
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edi, dword [ebp - 0x14]
movzx ecx, byte [edi + ecx*4 + 1]
mov cl, byte [ecx + 0x8e43f8]
mov byte [edx + 1], cl
lea ecx, [esi + 2]
and ecx, 0x80000003
jns 0x8de5bb
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edi, dword [ebp - 0x14]
movzx ecx, byte [edi + ecx*4 + 2]
mov cl, byte [ecx + 0x8e43f8]
mov byte [edx + 2], cl
lea ecx, [esi + 1]
and ecx, 0x80000003
jns 0x8de5dc
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edi, dword [ebp - 0x14]
movzx ecx, byte [edi + ecx*4 + 3]
mov cl, byte [ecx + 0x8e43f8]
mov byte [edx + 3], cl
inc esi
add edx, 4
add eax, 4
cmp esi, 4
jne 0x8de4b5
mov eax, dword [ebp - 0x14]
mov edi, eax
lea esi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x8e0e20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, esi
mov edx, ebx
call fcn.008d4438
mov eax, dword [esi]
call fcn.008d4640
mov edi, eax
test edi, edi
jle 0x8e0e5a
mov ebx, 1
mov eax, esi
call fcn.008d4800
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, 0xec
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x8e0e42
pop edi
pop esi
pop ebx
ret
Function at 0x8e1120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc64
xor eax, eax
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], eax
xor eax, eax
push ebp
push 0x8e12c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x394]
xor ecx, ecx
mov edx, 0x94
call fcn.008d386c
mov dword [ebp - 0x394], 0x94
mov eax, sub.kernel32.dll_GetVersionExA
mov al, byte [eax]
xor al, 0x96
cmp al, 0x57
je 0x8e129a
lea eax, [ebp - 0x394]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x8e129a
cmp dword [ebp - 0x384], 2
jne 0x8e1235
mov eax, sub.kernel32.dll_CreateFileW
mov al, byte [eax]
xor al, 0x96
cmp al, 0x57
je 0x8e129a
lea edx, [ebp - 0x398]
mov eax, 0x8e12dc
call fcn.008e0e20
mov edx, dword [ebp - 0x398]
lea eax, [ebp - 0x100]
call fcn.008d7f9c
push pe_nt_image_headers32
lea eax, [ebp - 0x300]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x100]
push eax
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar_1
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x300]
push eax
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x8e121d
push eax
call sub.kernel32.dll_CloseHandle_1
dec dword [0x8e76bc]
dec dword [0x8e76c0]
jmp 0x8e12ab
call sub.kernel32.dll_GetLastError_1
cmp eax, 5
je 0x8e129a
dec dword [0x8e76bc]
dec dword [0x8e76c0]
jmp 0x8e12ab
mov eax, sub.kernel32.dll_CreateFileA_1
mov al, byte [eax]
xor al, 0x96
cmp al, 0x57
je 0x8e129a
lea edx, [ebp - 0x39c]
mov eax, 0x8e12f0
call fcn.008e0e20
mov edx, dword [ebp - 0x39c]
lea eax, [ebp - 0x100]
call fcn.008d7f9c
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_CreateFileA_1
cmp eax, 0xffffffff
jne 0x8e1294
dec dword [0x8e76bc]
dec dword [0x8e76c0]
jmp 0x8e12ab
push eax
call sub.kernel32.dll_CloseHandle_1
inc dword [0x8e76bc]
inc dword [0x8e76c0]
call fcn.008e0fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e12d0
lea eax, [ebp - 0x39c]
mov edx, 2
call fcn.008d4408
ret
Function at 0x8e12fc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc64
xor eax, eax
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], eax
xor eax, eax
push ebp
push 0x8e14a5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x394]
xor ecx, ecx
mov edx, 0x94
call fcn.008d386c
mov dword [ebp - 0x394], 0x94
mov eax, sub.kernel32.dll_GetVersionExA
mov al, byte [eax]
xor al, 0x96
cmp al, 0x57
je 0x8e1476
lea eax, [ebp - 0x394]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x8e1476
cmp dword [ebp - 0x384], 2
jne 0x8e1411
mov eax, sub.kernel32.dll_CreateFileW
mov al, byte [eax]
xor al, 0x96
cmp al, 0x57
je 0x8e1476
lea edx, [ebp - 0x398]
mov eax, 0x8e14b8
call fcn.008e0e20
mov edx, dword [ebp - 0x398]
lea eax, [ebp - 0x100]
call fcn.008d7f9c
push pe_nt_image_headers32
lea eax, [ebp - 0x300]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x100]
push eax
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar_1
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x300]
push eax
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x8e13f9
push eax
call sub.kernel32.dll_CloseHandle_1
dec dword [0x8e76bc]
dec dword [0x8e76c0]
jmp 0x8e1487
call sub.kernel32.dll_GetLastError_1
cmp eax, 5
je 0x8e1476
dec dword [0x8e76bc]
dec dword [0x8e76c0]
jmp 0x8e1487
mov eax, sub.kernel32.dll_CreateFileA_1
mov al, byte [eax]
xor al, 0x96
cmp al, 0x57
je 0x8e1476
lea edx, [ebp - 0x39c]
mov eax, 0x8e14cc
call fcn.008e0e20
mov edx, dword [ebp - 0x39c]
lea eax, [ebp - 0x100]
call fcn.008d7f9c
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_CreateFileA_1
cmp eax, 0xffffffff
jne 0x8e1470
dec dword [0x8e76bc]
dec dword [0x8e76c0]
jmp 0x8e1487
push eax
call sub.kernel32.dll_CloseHandle_1
inc dword [0x8e76bc]
inc dword [0x8e76c0]
call fcn.008e0fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e14ac
lea eax, [ebp - 0x39c]
mov edx, 2
call fcn.008d4408
ret
Function at 0x8e1a0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x8e1b7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.008d43e4
lea eax, [ebp - 4]
push eax
push 1
push 0
lea edx, [ebp - 0x210]
mov eax, 0x8e1b94
call fcn.008e0e20
mov eax, dword [ebp - 0x210]
call fcn.008d47f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x8e1adc
mov dword [ebp - 8], 0x201
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x209]
push eax
push 0
push 0
lea edx, [ebp - 0x214]
mov eax, esi
call fcn.008e0e20
mov eax, dword [ebp - 0x214]
call fcn.008d47f4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x8e1ad3
mov edx, ebx
lea eax, [ebp - 0x209]
call fcn.008d8044
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x8e1b60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 4]
push eax
push 1
push 0
lea edx, [ebp - 0x218]
mov eax, 0x8e1bc8
call fcn.008e0e20
mov eax, dword [ebp - 0x218]
call fcn.008d47f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x8e1b60
mov dword [ebp - 8], 0x201
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x209]
push eax
push 0
push 0
lea edx, [ebp - 0x21c]
mov eax, esi
call fcn.008e0e20
mov eax, dword [ebp - 0x21c]
call fcn.008d47f4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x8e1b57
mov edx, ebx
lea eax, [ebp - 0x209]
call fcn.008d8044
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e1b85
lea eax, [ebp - 0x21c]
mov edx, 4
call fcn.008d4408
ret
Function at 0x8e219c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor edx, edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x8e2340
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x28
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.008d386c
lea ecx, [ebp - 0x144]
mov eax, 0x8e767c
mov edx, 0x10
call fcn.008de160
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
lea edx, [ebp - 0x148]
mov eax, 0x8e2354
call fcn.008e0e20
mov eax, dword [ebp - 0x148]
call fcn.008d47f4
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x8e227e
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0x3c]
call fcn.008d8044
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x14]
call fcn.008e1c58
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x144]
mov ecx, 0x10
call fcn.008de1e4
mov edx, 0x8e76f0
lea eax, [ebp - 0x14]
mov ecx, 8
call fcn.008d36d8
mov edx, 0x8e76f8
lea eax, [ebp - 0xc]
mov ecx, 8
call fcn.008d36d8
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.008d386c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
lea edx, [ebp - 0x150]
mov eax, 0x8e2364
call fcn.008e0e20
mov eax, dword [ebp - 0x150]
call fcn.008d47f4
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x8e2322
lea edx, [ebp - 0x154]
lea eax, [ebp - 0x3c]
call fcn.008d8044
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x14]
call fcn.008e1c58
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x144]
mov ecx, 0x10
call fcn.008de1e4
mov edx, 0x8e7700
lea eax, [ebp - 0x14]
mov ecx, 4
call fcn.008d36d8
mov edx, 0x8e7704
lea eax, [ebp - 0x10]
mov ecx, 4
call fcn.008d36d8
mov edx, 0x8e7a20
lea eax, [ebp - 0xc]
mov ecx, 8
call fcn.008d36d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e2347
lea eax, [ebp - 0x154]
mov edx, 4
call fcn.008d4408
ret
Function at 0x8e236c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov esi, eax
xor eax, eax
push ebp
push 0x8e2505
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x28
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 0x10
call fcn.008d386c
lea edx, [ebp - 0x10]
mov eax, 0x8e76f0
mov ecx, 8
call fcn.008d36d8
lea edx, [ebp - 8]
mov eax, 0x8e76f8
mov ecx, 8
call fcn.008d36d8
lea ecx, [ebp - 0x140]
mov eax, 0x8e767c
mov edx, 0x10
call fcn.008de160
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x140]
mov ecx, 0x10
call fcn.008de1e4
lea edx, [ebp - 0x144]
lea eax, [ebp - 0x10]
call fcn.008e1cf0
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x38]
call fcn.008d7f9c
push ebx
lea eax, [ebp - 0x38]
push eax
push 1
push 0
lea edx, [ebp - 0x148]
mov eax, 0x8e251c
call fcn.008e0e20
mov eax, dword [ebp - 0x148]
call fcn.008d47f4
push eax
push esi
call sub.advapi32.dll_RegSetValueExA
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 0x10
call fcn.008d386c
lea edx, [ebp - 0x10]
mov eax, 0x8e7700
mov ecx, 4
call fcn.008d36d8
lea edx, [ebp - 0xc]
mov eax, 0x8e7704
mov ecx, 4
call fcn.008d36d8
lea edx, [ebp - 8]
mov eax, 0x8e7a20
mov ecx, 8
call fcn.008d36d8
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x140]
mov ecx, 0x10
call fcn.008de1e4
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0x10]
call fcn.008e1cf0
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x38]
call fcn.008d7f9c
push ebx
lea eax, [ebp - 0x38]
push eax
push 1
push 0
lea edx, [ebp - 0x150]
mov eax, 0x8e252c
call fcn.008e0e20
mov eax, dword [ebp - 0x150]
call fcn.008d47f4
push eax
push esi
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e250c
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.008d4408
ret
Function at 0x101a06d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006cc8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101a0c5
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1004d10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101a0b8
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101a0c7
xor eax, eax
pop esi
leave
ret 4

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x4085e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x45221c], 0
je 0x408600
mov dword [ebp - 4], 0x8000ffff
mov eax, dword [ebp - 4]
jmp 0x4087cb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [0x452228], eax
cmp dword [0x452228], 0
jne 0x40875f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x452204], eax
push 0x452218
push 0x1f4
push dword [0x452204]
call fcn.0040e42f
push 0x452018
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x452210], 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x452214], eax
cmp dword [0x452214], 0
jne 0x4086b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.00407c6d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40868c
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x49
push 0x404a60
call fcn.0040e33f
push 0x404a98
push dword [ebp - 4]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x408769
push 0
push 0
push 0
push 0x40897e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x452208], eax
cmp dword [0x452208], 0
jne 0x40871a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.00407c6d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x4086f8
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x53
push 0x404a60
call fcn.0040e33f
push 0x404ad4
push dword [ebp - 4]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x408769
push 0xffffffffffffffff
push dword [0x452214]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
shl eax, 0x10
push eax
push 0
push 0x401
push dword [0x45220c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x404
push dword [0x45220c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45221c], 1
cmp dword [ebp - 4], 0
jge 0x4087c8
cmp dword [0x452210], 0
je 0x40878a
push 0x452018
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x452210], 0
cmp dword [0x452218], 0
je 0x40879e
push dword [0x452218]
call fcn.0040c820
cmp dword [0x452208], 0
je 0x4087b3
push dword [0x452208]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x452214], 0
je 0x4087c8
push dword [0x452214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
leave
ret 8
Function at 0x4091f9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x450060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x98], 0
push 0x80
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.0042cd80
add esp, 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004093d4
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jge 0x40926b
push 0x404cf4
push dword [ebp - 0x94]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x409343
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x4092ea
push 0
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4092e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x94]
call fcn.00407c6d
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jl 0x4092b6
mov dword [ebp - 0x94], 0x80004005
push dword [ebp - 0x94]
push 0x82
push 0x404cb4
call fcn.0040e33f
mov eax, dword [ebp + 8]
push dword [eax + 8]
push 0x404d24
push dword [ebp - 0x94]
call fcn.0040b4e0
add esp, 0xc
jmp 0x409343
jmp 0x409323
push 0
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.0040e894
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jge 0x409323
mov eax, dword [ebp + 8]
push dword [eax + 8]
push 0x404d24
push dword [ebp - 0x94]
call fcn.0040b4e0
add esp, 0xc
jmp 0x409343
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.00409f80
mov eax, dword [ebp + 8]
push dword [eax + 8]
push 0x404d58
push 1
call fcn.0040b425
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x409357
cmp dword [ebp - 8], 0
je 0x409357
push dword [ebp - 8]
call fcn.0040e2f0
cmp dword [ebp - 0x98], 0
je 0x40936c
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebp - 0x9c], 0
jmp 0x409382
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 4
jae 0x4093bf
mov eax, dword [ebp - 0x9c]
shl eax, 5
cmp dword [ebp + eax - 0x74], 0
je 0x4093bd
mov eax, dword [ebp - 0x9c]
shl eax, 5
cmp dword [ebp + eax - 0x74], 0
je 0x4093bd
mov eax, dword [ebp - 0x9c]
shl eax, 5
push dword [ebp + eax - 0x74]
call fcn.0040e2f0
jmp 0x409375
mov eax, dword [ebp - 0x94]
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd6d
leave
ret 0xc
Function at 0x409a47
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x104
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.0040bd4f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x409a8e
push 0x405030
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x409b75
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x409aea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.00407c6d
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x409abf
mov dword [ebp - 0x10], 0x80004005
push dword [ebp - 0x10]
push 0x185
push 0x404cb4
call fcn.0040e33f
push 0x405060
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x409b75
lea eax, [ebp - 0xc]
push eax
call fcn.00409b98
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x409b0f
push 0x40507c
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x409b75
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.0040c3a6
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x409b39
push 0x40509c
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x409b75
lea eax, [ebp - 8]
push eax
call fcn.0040f6bd
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x409b5e
push 0x4050cc
push dword [ebp - 0x10]
call fcn.0040b4e0
pop ecx
pop ecx
jmp 0x409b75
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 1
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x409b83
push dword [ebp - 0xc]
call fcn.0040c820
cmp dword [ebp - 8], 0
je 0x409b91
push dword [ebp - 8]
call fcn.0040c820
mov eax, dword [ebp - 0x10]
leave
ret 0xc