joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d1c36c3
Capabilities:
Create directory

Disassembly:
mov eax, 0x6d1c8bbd
call fcn.6d1c81f0
sub esp, 0x20
lea eax, [ebp + 0xb]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.6d1c325e
and dword [ebp - 4], 0
push 0x6d1c11fc
lea ecx, [ebp - 0x1c]
call fcn.6d1c3040
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x6d1c36fc
mov eax, 0x6d1c1168
push 0x5c
push eax
call sub.msvcrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
jne 0x6d1c3711
push 0x80004005
jmp 0x6d1c378f
push esi
add eax, 2
push 0x5c
push eax
call sub.msvcrt.dll_wcschr
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x6d1c370a
and word [esi], 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x6d1c3735
mov eax, 0x6d1c1168
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x6d1c374f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6d1c3780
mov word [esi], 0x5c
push 0x5c
add esi, 2
push esi
call sub.msvcrt.dll_wcschr
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x6d1c3725
push 1
lea ecx, [ebp - 0x1c]
call fcn.6d1c2261
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
test eax, eax
jle 0x6d1c378e
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x2c]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x2c]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x6d1c47ab
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6d1c8bbd
call fcn.6d1c81f0
sub esp, 0x830
push ebx
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x83c]
push 0x400
push eax
mov esi, 0x6d1c132c
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x3ff
jne 0x6d1c47ff
push 0x80040602
lea ecx, [ebp - 0x2c]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x2c]
jmp 0x6d1c48b3
lea eax, [ebp + 0x1b]
push eax
lea eax, [ebp - 0x83c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x3e], bx
call fcn.6d1c325e
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.6d1c2418
test eax, eax
je 0x6d1c4899
mov esi, 0x6d1c1168
push esi
lea ecx, [ebp - 0x1c]
call fcn.6d1c2418
test eax, eax
je 0x6d1c4899
push edi
mov edi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.6d1c305d
lea ecx, [ebp - 0x1c]
call fcn.6d1c2ed3
mov eax, dword [ebp - 0x18]
push ebx
mov dword [ebp + 0x18], eax
push edi
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c3159
push edi
call fcn.6d1c45fd
push esi
mov ecx, edi
call fcn.6d1c2418
test eax, eax
pop edi
jne 0x6d1c487c
push 0x80040600
jmp 0x6d1c47ea
mov eax, dword [ebp + 0x18]
cmp word [eax], bx
je 0x6d1c488b
push 0x80040600
jmp 0x6d1c48a3
push 1
lea ecx, [ebp - 0x1c]
call fcn.6d1c2261
mov al, 1
jmp 0x6d1c48c5
cmp byte [ebp + 0x18], bl
jne 0x6d1c48b9
push 0x80040601
lea ecx, [ebp - 0x3c]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x3c]
push eax
call sub.msvcrt.dll__CxxThrowException
push 1
lea ecx, [ebp - 0x1c]
call fcn.6d1c2261
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x6d1c48d5
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6d1c8bbd
call fcn.6d1c81f0
sub esp, 0x820
push esi
mov esi, dword [ebp + 0x18]
and dword [esi], 0
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x82c]
push 0x400
push eax
mov edi, 0x6d1c132c
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x3ff
jne 0x6d1c4930
push 0x80040602
lea ecx, [ebp - 0x2c]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x2c]
push eax
call sub.msvcrt.dll__CxxThrowException
and word [ebp - 0x2e], 0
lea eax, [ebp + 0x1b]
push eax
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.6d1c325e
and dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x1c]
call fcn.6d1c2418
test eax, eax
je 0x6d1c4a1f
push 0x6d1c1168
lea ecx, [ebp - 0x1c]
call fcn.6d1c2418
test eax, eax
je 0x6d1c4a1f
lea eax, [ebp - 0x1c]
push eax
call fcn.6d1c45fd
lea ecx, [ebp - 0x1c]
call fcn.6d1c2ed3
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
mov eax, dword [esi]
cmp eax, dword [ebp + 0x1c]
je 0x6d1c4a11
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c19f7
push 0x28
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c1a30
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c30a2
mov ecx, dword [esi]
mov dword [edi + ecx*8], eax
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c19f7
push 0x2c
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c1a30
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c19f7
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c30a2
mov ecx, dword [esi]
mov dword [edi + ecx*8 + 4], eax
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c19f7
push 0x29
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c1a30
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c19f7
inc dword [esi]
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c1a15
test eax, eax
jne 0x6d1c498c
push 1
lea ecx, [ebp - 0x1c]
call fcn.6d1c2261
mov al, 1
jmp 0x6d1c4a2b
push 1
lea ecx, [ebp - 0x1c]
call fcn.6d1c2261
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x6d1c5195
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6d1c8ce5
call fcn.6d1c81f0
sub esp, 0x50
mov al, byte [ebp + 0xf]
push ebx
push esi
xor esi, esi
push edi
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov al, byte [ebp + 0xf]
mov dword [ebp - 4], esi
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov al, byte [ebp + 0xf]
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 2
call fcn.6d1c46f0
push 0x6d1c1308
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 3
call fcn.6d1c3a1c
add esp, 0xc
or edi, 0xffffffff
push edi
push esi
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.6d1c37a6
xor ebx, ebx
inc ebx
push ebx
lea ecx, [ebp - 0x4c]
call fcn.6d1c2261
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.6d1c2261
push 0x6d1c148c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.6d1c3a1c
add esp, 0xc
push edi
push esi
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.6d1c37a6
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.6d1c2261
push 0x6d1c1470
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.6d1c3a1c
add esp, 0xc
mov byte [ebp - 4], 6
push edi
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.6d1c37a6
push ebx
lea ecx, [ebp - 0x5c]
call fcn.6d1c2261
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x6d1c5292
mov eax, 0x6d1c1168
push dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push dword [ebp + 0x10]
call edi
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x28]
cmp eax, esi
jne 0x6d1c52b4
mov eax, 0x6d1c1168
push dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
push dword [ebp + 0x10]
call edi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.6d1c2261
push ebx
lea ecx, [ebp - 0x3c]
call fcn.6d1c2261
push ebx
lea ecx, [ebp - 0x1c]
call fcn.6d1c2261
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x6d1c541c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6d1c8d86
call fcn.6d1c81f0
sub esp, 0x24
mov al, byte [ebp + 0x33]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
lea eax, [edi + 0x14]
push eax
push dword [edi + 0x24]
lea eax, [ebp - 0x20]
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push eax
call fcn.6d1c4eb5
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x6d1c5465
mov eax, 0x6d1c1168
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push 0x6d1c14c0
push eax
call esi
test eax, eax
je 0x6d1c549e
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x6d1c5485
mov byte [eax], 1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x6d1c5491
mov eax, 0x6d1c1168
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x6d1c14a8
push eax
call esi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x6d1c54aa
mov eax, 0x6d1c1168
push dword [ebp + 0x28]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x1c]
push edi
call fcn.6d1c2acb
cmp byte [ebp + 0x30], bl
jne 0x6d1c5547
mov al, byte [ebp + 0x33]
mov byte [ebp - 0x30], al
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push ebx
push dword [edi + 0x24]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.6d1c4eb5
cmp dword [ebp + 0x2c], ebx
je 0x6d1c5515
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x6d1c54ff
mov eax, 0x6d1c1168
push dword [ebp + 0xc]
push ebx
push 0x6d1c14c0
push eax
call esi
test eax, eax
je 0x6d1c5515
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x6d1c5521
mov eax, 0x6d1c1168
push dword [ebp + 0x28]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x1c]
push edi
call fcn.6d1c2acb
push 1
lea ecx, [ebp - 0x30]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x20]
call fcn.6d1c2261
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x2c
Function at 0x6d1c6179
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6d1c8ea0
call fcn.6d1c81f0
sub esp, 0x840
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x84c]
push 0x400
push eax
mov esi, 0x6d1c132c
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x3ff
jne 0x6d1c61cd
push 0x80040602
lea ecx, [ebp - 0x1c]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x1c]
jmp 0x6d1c6324
lea eax, [ebp + 0x1b]
push eax
lea eax, [ebp - 0x84c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x4e], bx
call fcn.6d1c325e
push esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.6d1c2418
test eax, eax
je 0x6d1c630a
mov esi, 0x6d1c1168
push esi
lea ecx, [ebp - 0x3c]
call fcn.6d1c2418
test eax, eax
je 0x6d1c630a
lea ecx, [ebp - 0x3c]
call fcn.6d1c2ed3
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0x18], eax
mov al, byte [ebp + 0x1b]
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.6d1c3159
lea eax, [ebp - 0x2c]
push eax
call fcn.6d1c45fd
push esi
lea ecx, [ebp - 0x2c]
call fcn.6d1c2418
test eax, eax
jne 0x6d1c625f
push 0x80040600
jmp 0x6d1c61b8
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.6d1c60e1
jmp 0x6d1c62d5
mov al, byte [ebp + 0x1b]
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.6d1c3159
test al, al
je 0x6d1c62c7
lea eax, [ebp - 0x1c]
push eax
call fcn.6d1c45fd
push esi
lea ecx, [ebp - 0x1c]
call fcn.6d1c2418
test eax, eax
je 0x6d1c62c7
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.6d1c60e1
lea ecx, [ebp - 0x1c]
push 1
mov byte [ebp - 4], 1
call fcn.6d1c2261
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c1a15
test eax, eax
jne 0x6d1c6278
mov eax, dword [ebp + 0x18]
cmp word [eax], bx
pop edi
je 0x6d1c62f2
push 0x80040600
jmp 0x6d1c6314
push 1
lea ecx, [ebp - 0x2c]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x3c]
call fcn.6d1c2261
mov al, 1
jmp 0x6d1c6336
cmp byte [ebp + 0x18], bl
jne 0x6d1c632a
push 0x80040601
lea ecx, [ebp - 0x4c]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x4c]
push eax
call sub.msvcrt.dll__CxxThrowException
push 1
lea ecx, [ebp - 0x3c]
call fcn.6d1c2261
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401078
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x5c8]
sub esp, 0x648
mov eax, dword [0x417030]
xor eax, ebp
mov dword [ebp + 0x5c4], eax
mov eax, dword [ebp + 0x5d0]
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x5d8]
push edi
mov dword [ebp - 0x64], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x3bc], ax
xor ebx, ebx
lea eax, [ebp + 0x3be]
push ebx
push eax
call fcn.00407180
add esp, 0xc
lea eax, [ebp + 0x3bc]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40111e
xor eax, eax
push esi
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push ebx
push eax
call fcn.00407180
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.12au_x
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00405c73
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x3bc]
push edi
push eax
call fcn.00405d0e
add esp, 0x1c
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
call fcn.0040165a
cmp eax, ebx
je 0x401206
lea ecx, [ebp - 0x60]
push ecx
mov esi, eax
mov dword [ebp - 0x60], ebx
call fcn.0040185e
pop ecx
cmp eax, ebx
je 0x40115a
lea ecx, [ebp + 0x3bc]
push ecx
push dword [ebp - 0x60]
mov ecx, eax
call fcn.00403465
pop ecx
pop ecx
cmp dword [ebp - 0x58], ebx
je 0x401168
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x204
lea eax, [ebp + 0x1b8]
push ebx
push eax
mov dword [ebp + 0x1b4], 0x30
call fcn.00407180
push 0xffffffffffffffff
lea eax, [ebp + 0x3bc]
push eax
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405ba0
push 0x412cdc
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405d0e
push 0x412ce0
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405d0e
add esp, 0x34
lea eax, [ebp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x401206
push str.InstallerModuleEntry
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4011f8
push dword [ebp - 0x64]
lea ecx, [ebp + 0x3bc]
push ecx
push dword [ebp - 0x5c]
call eax
add esp, 0xc
jmp 0x4011fd
call fcn.00401000
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40120b
call fcn.00401000
lea eax, [ebp + 0x3bc]
push eax
lea esi, [ebp - 0x80]
call fcn.00401245
mov eax, esi
call fcn.004019f9
push ebx
push 1
call fcn.004012e9
mov ecx, dword [ebp + 0x5c4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00405b91
add ebp, 0x5c8
leave
ret 0x10
Function at 0x401ba8
Capabilities:
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x410cf4
call fcn.00407916
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x268], ecx
jb 0x401bcb
mov eax, dword [eax + 4]
jmp 0x401bce
add eax, 4
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ebx, ebx
mov edi, eax
inc ebx
cmp edi, 0xffffffff
je 0x401c97
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x412d34
lea eax, [ebp - 0x238]
push eax
call esi
test eax, eax
je 0x401c81
push 0x412d38
lea eax, [ebp - 0x238]
push eax
call esi
test eax, eax
je 0x401c81
cmp byte [ebp + 0xc], 0
je 0x401c49
test byte [ebp - 0x264], 0x10
je 0x401c81
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x284]
call fcn.00401245
and dword [ebp - 4], 0
mov eax, esi
push eax
mov eax, dword [ebp - 0x268]
call fcn.00401f35
jmp 0x401c75
test byte [ebp - 0x264], 0x10
jne 0x401c81
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x2a0]
call fcn.00401245
mov eax, esi
push eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 4], ebx
call fcn.00401f35
or dword [ebp - 4], 0xffffffff
push 0
push ebx
call fcn.004012e9
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x401bea
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
call fcn.00407999
ret

Function at 0x403367
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x417030]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x403457
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x403457
push edi
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call fcn.00407180
movzx eax, byte [ebp - 0x25d]
push eax
movzx eax, byte [ebp - 0x25e]
push eax
movzx eax, byte [ebp - 0x25f]
push eax
movzx eax, byte [ebp - 0x260]
push eax
movzx eax, byte [ebp - 0x261]
push eax
movzx eax, byte [ebp - 0x262]
push eax
movzx eax, byte [ebp - 0x263]
push eax
movzx eax, byte [ebp - 0x264]
push eax
movzx eax, word [ebp - 0x266]
push eax
movzx eax, word [ebp - 0x268]
push eax
push dword [ebp - 0x26c]
lea edi, [ebp - 0x54]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push 0x28
pop ecx
call fcn.004032ce
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push eax
call fcn.00407180
add esp, 0x48
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, edi
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
inc eax
pop edi
jmp 0x403459
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405b91
leave
ret
Function at 0x40552e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, eax
test edx, edx
jne 0x405539
xor eax, eax
pop edi
ret
or eax, 0xffffffff
push esi
mov ecx, 0xff
cmp edi, 8
jb 0x4055ec
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
sub edi, 8
dec esi
jne 0x405551
pop ebx
test edi, edi
je 0x405605
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4142e0]
inc edx
dec edi
jne 0x4055f0
pop esi
not eax
pop edi
ret

Function at 0x405b91
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417030]
jne 0x405b9b
repz ret
jmp fcn.004079b7