joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f1b9
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
mov eax, dword [0x758f44]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 0x20]
mov dword [esi + 4], eax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi], vtable.webinstaller::ProgressBar.0
mov ecx, dword [ecx]
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
push eax
mov ecx, dword [ecx]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x54], ebx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x58], edx
mov edi, dword [ecx]
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x5c], edi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x14]
push esi
push edi
push edx
mov dword [ecx + 0x60], esi
mov edx, ebx
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx]
mov dword [ebp + 0x64], ecx
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx]
mov dword [ebp + 0x68], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov dword [ebp + 0x6c], ecx
mov ecx, ebp
mov byte [ecx + 0x70], al
mov dword [ecx + 0x24], eax
lea eax, [esp + 0x28]
push eax
xor ecx, ecx
call fcn.0045f0a8
mov esi, eax
lea edi, [esp + 0x40]
add esp, 0x14
mov ebx, ebp
mov ebp, dword [esp + 0x14]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x14]
push ebp
movsd dword es:[edi], dword [esi]
push 0x759de0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x50]
call fcn.0045740d
add esp, 8
movzx eax, ax
push eax
push 0
push 0
push 0x50000000
push str.ProgressBar
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
push esi
call fcn.00457317
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x3c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f9dd5
add esp, 0x34
ret 0x30
Function at 0x460066
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x646914
call fcn.00642602
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ebx
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], ecx
mov dword [ebx], vtable.webinstaller::Label.0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x3c]
mov byte [ebp - 4], 4
push edx
mov dword [ebx + 0x34], eax
call fcn.00450b40
xor eax, eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x60]
push eax
call fcn.00455d4a
mov eax, dword [ebp + 0x20]
xor esi, esi
mov ecx, dword [ebp + 0x14]
inc esi
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], esi
mov eax, dword [eax]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebx + 0x70], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov ecx, dword [ecx]
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ecx]
mov dword [ebx + 0x7c], ecx
mov cl, byte [ebp + 0x28]
mov byte [ebx + 0x80], cl
mov ecx, dword [ebp + 0x10]
mov byte [ebx + 0x81], al
mov dword [ebp - 0x28], eax
mov ecx, dword [ecx]
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x38]
mov dword [ebx + 0x84], ecx
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0x60
push dword [ebp + 0x24]
push 0x14
call dword [sym.imp.KERNEL32.DLL_MulDiv]
push esi
push eax
push dword [ebx + 0x70]
lea eax, [ebp - 0x48]
push dword [ebx + 0x7c]
push eax
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 4]
call fcn.0045f0a8
mov esi, eax
lea edi, [ebp - 0x20]
add esp, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x3c]
cmp dword [edi + 0x14], 8
jb 0x460173
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x34]
lea eax, [ebx + 0x20]
push eax
push 0x759e70
call fcn.0045740d
add esp, 8
movzx eax, ax
xor ecx, ecx
push eax
xor eax, eax
test edi, edi
push eax
push eax
push 0x50000000
cmovne ecx, edi
lea eax, [ebp - 0x20]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00457317
lea ecx, [ebp + 0x2c]
call fcn.0045677c
mov eax, ebx
call fcn.006425b1
ret 0x30
Function at 0x463920
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x463a7c
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x463a7c
cmp ecx, 0x29
jne 0x463960
cmp dword [esi + 0x10], 0
jne 0x463a7c
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x463a80
jmp 0x463a3a
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x46397e
push 5
lea ecx, [esi + 0x24]
call fcn.00463b47
mov ecx, esi
call fcn.004638f7
jmp 0x463a6a
cmp ecx, 0x5c
jne 0x4639d4
mov ecx, esi
call fcn.004638f7
test byte [edi], 0x80
je 0x4639c8
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x4639b0
push 4
lea ecx, [esi + 0x24]
call fcn.00463b47
mov ecx, esi
call fcn.004638f7
jmp 0x463a71
cmp ecx, 0x42
jne 0x4639c8
push 4
lea ecx, [esi + 0x24]
call fcn.00463b47
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4639a4
mov ecx, esi
call fcn.00464505
jmp 0x463a6a
cmp ecx, 0x5b
jne 0x4639f4
mov ecx, esi
call fcn.004638f7
mov ecx, esi
call fcn.004644b9
cmp dword [esi + 0x4c], 0x5d
je 0x463972
push 4
jmp 0x463a82
cmp ecx, 0x28
jne 0x463a11
mov ecx, esi
call fcn.004638f7
mov ecx, esi
call fcn.004645dd
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x463a80
jmp 0x463a5f
cmp ecx, 0x5e
jne 0x463a1a
push 2
jmp 0x46399c
cmp ecx, 0x24
jne 0x463a26
push 3
jmp 0x46399c
cmp ecx, 0x2a
je 0x463a78
cmp ecx, 0x2b
je 0x463a78
cmp ecx, 0x3f
je 0x463a78
cmp ecx, 0x7b
je 0x463a78
cmp ecx, 0x7d
jne 0x463a47
test dword [edi], edx
jne 0x463a50
push 6
jmp 0x463a82
cmp ecx, 0x5d
jne 0x463a50
test dword [edi], edx
je 0x4639ed
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00464747
mov bl, 1
mov ecx, esi
call fcn.004638f7
test bl, bl
je 0x463a71
mov ecx, esi
call fcn.00464662
mov al, 1
jmp 0x463927
push 0xa
jmp 0x463a82
pop edi
pop esi
pop ebx
ret
push 5
call fcn.00462b21
int3
Function at 0x4679a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x758f44]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, ecx
push esi
push edi
push 2
mov dword [ebx + 4], eax
lea edi, [ebx + 0x20]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], vtable.webinstaller::GifPlaceholder.0
mov eax, dword [eax]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebx + 0x40], eax
lea eax, [ebx + 0x44]
push eax
call fcn.005fbf6a
xor eax, eax
mov dword [ebp - 0x24], 1
pop ecx
pop ecx
push eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov byte [ebx + 0x80], al
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov word [ebx + 0x90], ax
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x3c]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x2c]
push dword [ebp - 0x28]
mov edx, dword [ebx + 0x38]
add eax, ecx
mov esi, dword [ebx + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x30]
add eax, edx
mov dword [ebp - 0x14], ecx
push edi
push 0x759f00
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
call fcn.0045740d
add esp, 8
movzx eax, ax
mov ecx, ebx
push eax
xor eax, eax
push eax
push eax
push 0x50000000
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00457317
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005f9dd5
leave
ret 0x18
Function at 0x46a055
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x64776c
call fcn.00642602
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], ecx
mov dword [ebp - 4], eax
mov dword [ebx], vtable.webinstaller::Link.0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x40]
mov byte [ebp - 4], 4
mov dword [ebx + 0x38], eax
push dword [edx]
call fcn.0044eb76
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x58]
push dword [esi]
call fcn.0044eb76
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov byte [ebp - 4], 6
mov dword [ebx + 0x70], eax
mov byte [ebx + 0x74], al
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov ecx, dword [ecx]
push eax
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x84], ecx
push eax
mov dword [ebp - 0x34], 1
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebx + 4]
push 0
push 0x32
mov edx, dword [edx]
push 0x64
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call fcn.0045f0a8
mov esi, eax
lea edi, [ebp - 0x20]
add esp, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x40]
cmp dword [edi + 0x14], 8
jb 0x46a135
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x20]
push eax
push 0x75a020
call fcn.0045740d
add esp, 8
movzx eax, ax
xor ecx, ecx
test edi, edi
cmovne ecx, edi
push eax
push 0
push 0
push 0x50000000
push ecx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push esi
call fcn.00457317
mov eax, ebx
call fcn.006425b1
ret 0x18
Function at 0x46a6a1
Capabilities:
Create process on windows

Disassembly:
push 0xa8
mov eax, 0x64686e
call fcn.006425cf
mov esi, ecx
push 1
xor ebx, ebx
push ebx
mov byte [esi + 0x73], bl
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
add esi, 0x58
cmp dword [esi + 0x14], 8
jb 0x46a6ce
mov esi, dword [esi]
push ebx
push ebx
push ebx
push esi
push 0x6f8998
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46a772
push 5
pop ecx
call fcn.00488e9b
test al, al
je 0x46a772
push ecx
lea ecx, [ebp - 0xb4]
call fcn.004506fd
mov edx, str.Failed_to_open_the_error_wiki_link_
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xb4]
call fcn.00451714
sub esp, 0x18
mov ecx, 0x6f89c4
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0046a77a
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x1c], esp
mov ecx, 0x6f8a00
push eax
call fcn.0044ffbf
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x18], eax
push eax
call fcn.00450fef
push 5
mov edx, 0x97
mov byte [ebp - 4], bl
pop ecx
call fcn.00488e21
add esp, 0x48
lea ecx, [ebp - 0xb4]
call fcn.0044ec83
call fcn.0064259d
ret 0xc
Function at 0x46aaf8
Capabilities:
Read file on windows

Disassembly:
push 0x210
mov eax, 0x6478ea
call fcn.00642602
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x46ab18
xor eax, eax
jmp 0x46acbf
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0060ecf0
add esp, 0xc
lea eax, [ebp - 0x174]
push 0xf8
push 0
push eax
call fcn.0060ecf0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x17c], eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x17c]
push eax
push 0x40
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp - 0x40]
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x17c]
push eax
push 0xf8
lea eax, [ebp - 0x174]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0xdc]
add edi, 0xf8
mov dword [ebx + 0x30], eax
xor ebx, ebx
movzx eax, word [ebp - 0x16e]
and dword [ebp - 0x178], ebx
mov dword [ebp - 0x180], eax
test eax, eax
je 0x46abf0
push 0
lea eax, [ebp - 0x17c]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x2c]
add edi, 0x28
add edi, eax
cmp dword [ebp - 0x28], ebx
jbe 0x46abe7
mov ebx, dword [ebp - 0x28]
add eax, ebx
mov dword [ebp - 0x178], eax
sub dword [ebp - 0x180], 1
jne 0x46abb9
xor edx, edx
mov eax, edi
div dword [ebp - 0x138]
push 2
pop ecx
lea esi, [eax + 1]
imul esi, dword [ebp - 0x138]
call fcn.00488e9b
test al, al
je 0x46acbd
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004506fd
and dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
mov edx, str.PE_File_size:
call fcn.00451714
push esi
mov ecx, eax
call fcn.00455eec
mov edx, str._exe_file_size:
mov ecx, eax
call fcn.00451714
push dword [ebp - 0x178]
mov ecx, eax
call fcn.00455eec
sub esp, 0x18
mov ecx, 0x6f8b14
mov eax, esp
mov dword [ebp - 0x178], esp
push eax
call fcn.00455d78
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x180], esp
mov ecx, 0x6f8abc
push eax
call fcn.004671f3
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x184], eax
push eax
call fcn.00450fef
push 0x56
pop edx
push 2
pop ecx
mov byte [ebp - 4], 0
call fcn.00488e21
add esp, 0x48
lea ecx, [ebp - 0x21c]
call fcn.0044ec83
mov eax, esi
call fcn.006425b1
ret 4
Function at 0x46acc7
Capabilities:
Read file on windows

Disassembly:
push 0xe8
mov eax, 0x64793c
call fcn.00642602
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 2
pop ecx
mov dword [ebp - 0x48], edi
call fcn.00488e9b
mov esi, dword [ebp + 0x10]
test al, al
je 0x46ada8
push ecx
lea ecx, [ebp - 0xf4]
call fcn.004506fd
and dword [ebp - 4], 0
lea ecx, [ebp - 0xf4]
mov edx, str.file_handle:
call fcn.00451714
push edi
mov ecx, eax
call fcn.0046aed7
mov edx, str.begin:
mov ecx, eax
call fcn.00451714
push ebx
mov ecx, eax
call fcn.00455eec
mov edx, str.end:
mov ecx, eax
call fcn.00451714
push esi
mov ecx, eax
call fcn.00455eec
sub esp, 0x18
mov ecx, 0x6f8af0
mov eax, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0045ae05
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x5c], esp
mov ecx, 0x6f8abc
push eax
call fcn.004671f3
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x58], eax
push eax
call fcn.00450fef
push 0x5d
pop edx
push 2
pop ecx
mov byte [ebp - 4], 0
call fcn.00488e21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
add esp, 0x48
call fcn.0044ec83
cmp edi, 0xffffffff
je 0x46ae51
cmp ebx, esi
jae 0x46ae51
sub esi, ebx
cmp esi, 0x2800
ja 0x46ae51
lea edi, [esi + 1]
push edi
lfence
call fcn.005fa809
pop ecx
push 0
push 0
push ebx
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
lfence
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ebx, dword [ebp - 0x4c]
mov eax, ebx
test edi, edi
je 0x46adfa
mov byte [eax], 0
inc eax
sub edi, 1
jne 0x46adf1
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push 0
push eax
push esi
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0044ea89
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0048a63e
mov ecx, dword [ebp - 0x54]
push eax
add ecx, 0x18
call fcn.00450ad2
lea ecx, [ebp - 0x44]
call fcn.004510b9
lea ecx, [ebp - 0x2c]
call fcn.004511a7
push ebx
call fcn.005fa383
pop ecx
mov al, 1
jmp 0x46ae53
xor al, al
call fcn.006425b1
ret 0xc
Function at 0x4739ea
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
push edi
test eax, eax
jg 0x473a15
jl 0x473a0c
test ebx, ebx
jne 0x473a15
xor eax, eax
xor edx, edx
jmp 0x473ad6
cmp dword [esi + 0x38], 0
je 0x473a2a
push eax
push ebx
push dword [ebp + 8]
call fcn.00450924
jmp 0x473ad6
mov eax, dword [esi + 0x1c]
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x473a6e
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x473a6e
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [ebp + 8]
call fcn.0060e770
mov ecx, dword [esp + 0x20]
sub edi, esi
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x473a75
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c], 0
je 0x473acc
mov ecx, esi
call fcn.00474cf0
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x473ab7
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.0061f0d8
mov ecx, dword [esp + 0x20]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x473acc
jmp 0x473a88
test edx, edx
je 0x473acc
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.0061f0d8
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x480149
Capabilities:
Get file version info

Disassembly:
push 0xc4
mov eax, 0x64aa98
call fcn.006425cf
mov edi, edx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ecx, ecx
mov dword [ebp - 0x14], ebx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fa809
lea ecx, [ebp - 0xd0]
mov ebx, eax
call fcn.0046e671
and dword [ebp - 4], 0
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x480228
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6f15e8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x480228
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x12]
push eax
call fcn.00478fbb
mov esi, 0x6f7738
mov ecx, eax
mov edx, esi
call fcn.00451714
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x10]
push eax
call fcn.00478fbb
mov edx, esi
mov ecx, eax
call fcn.00451714
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x16]
push eax
call fcn.00478fbb
mov edx, esi
mov ecx, eax
call fcn.00451714
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x14]
push eax
call fcn.00478fbb
push ebx
call fcn.005fa383
mov esi, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00450fef
lea ecx, [ebp - 0xd0]
call fcn.0046e0a7
mov eax, esi
call fcn.0064259d
ret

Function at 0x4802c9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jb 0x4802e4
mov edx, dword [edx]
sub esp, 0x14
lea ecx, [ebp - 0x10]
push edx
push 0x80000001
call fcn.0044c33e
test eax, eax
jne 0x48031f
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x480304
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push edi
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [ebp - 0x10], edi
je 0x480330
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x4889b3
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x34
mov eax, 0x64c4e9
call fcn.00642602
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x4000
push edx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x488a58
cmp dword [ebp - 0x30], ebx
je 0x488a67
push ebx
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xb7
je 0x488a22
cmp eax, 0x50
je 0x488a22
test eax, eax
jne 0x488a58
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x488a2b
sub ecx, edx
lea edx, [ebp - 0x3c]
sar ecx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x2c]
call fcn.0048a47c
push eax
mov ecx, esi
call fcn.00450bb0
lea ecx, [ebp - 0x2c]
call fcn.004511a7
cmp dword [ebp - 0x30], 0
je 0x488a67
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
call fcn.006425b1
ret

Function at 0x488b1e
Capabilities:
Get common file path

Disassembly:
push 0x1c
mov eax, 0x64c51d
call fcn.006425cf
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, 0x104
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00488bb5
mov esi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x488b82
mov ecx, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x488b64
sub ecx, edx
lea edx, [ebp - 0x1c]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, ebx
call fcn.0048a47c
jmp 0x488b98
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
test esi, esi
je 0x488bad
mov eax, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.00451cb1
pop ecx
pop ecx
mov eax, ebx
call fcn.0064259d
ret