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

Disassembly:
sub esp, 0x34
mov eax, dword [0x72af34]
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.0045ef80
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 0x72bdd0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x50]
call fcn.004572b7
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.004571c1
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.005efadc
add esp, 0x34
ret 0x30
Function at 0x45ffb4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x63bf46
call fcn.00637dc6
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.00455e29
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.00455a3e
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.0045ef80
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 0x4600c1
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x34]
lea eax, [ebx + 0x20]
push eax
push 0x72be60
call fcn.004572b7
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.004571c1
lea ecx, [ebp + 0x2c]
call fcn.004565d3
mov eax, ebx
call fcn.00637d75
ret 0x30
Function at 0x4638e6
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 0x463a42
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x463a42
cmp ecx, 0x29
jne 0x463926
cmp dword [esi + 0x10], 0
jne 0x463a42
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x463a46
jmp 0x463a00
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x463944
push 5
lea ecx, [esi + 0x24]
call fcn.00463b0d
mov ecx, esi
call fcn.004638bd
jmp 0x463a30
cmp ecx, 0x5c
jne 0x46399a
mov ecx, esi
call fcn.004638bd
test byte [edi], 0x80
je 0x46398e
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x463976
push 4
lea ecx, [esi + 0x24]
call fcn.00463b0d
mov ecx, esi
call fcn.004638bd
jmp 0x463a37
cmp ecx, 0x42
jne 0x46398e
push 4
lea ecx, [esi + 0x24]
call fcn.00463b0d
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x46396a
mov ecx, esi
call fcn.004644cb
jmp 0x463a30
cmp ecx, 0x5b
jne 0x4639ba
mov ecx, esi
call fcn.004638bd
mov ecx, esi
call fcn.0046447f
cmp dword [esi + 0x4c], 0x5d
je 0x463938
push 4
jmp 0x463a48
cmp ecx, 0x28
jne 0x4639d7
mov ecx, esi
call fcn.004638bd
mov ecx, esi
call fcn.004645a3
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x463a46
jmp 0x463a25
cmp ecx, 0x5e
jne 0x4639e0
push 2
jmp 0x463962
cmp ecx, 0x24
jne 0x4639ec
push 3
jmp 0x463962
cmp ecx, 0x2a
je 0x463a3e
cmp ecx, 0x2b
je 0x463a3e
cmp ecx, 0x3f
je 0x463a3e
cmp ecx, 0x7b
je 0x463a3e
cmp ecx, 0x7d
jne 0x463a0d
test dword [edi], edx
jne 0x463a16
push 6
jmp 0x463a48
cmp ecx, 0x5d
jne 0x463a16
test dword [edi], edx
je 0x4639b3
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0046470d
mov bl, 1
mov ecx, esi
call fcn.004638bd
test bl, bl
je 0x463a37
mov ecx, esi
call fcn.00464628
mov al, 1
jmp 0x4638ed
push 0xa
jmp 0x463a48
pop edi
pop esi
pop ebx
ret
push 5
call fcn.00462abf
int3
Function at 0x467a2c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x72af34]
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.005f3323
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 0x72bef0
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
call fcn.004572b7
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.004571c1
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.005efadc
leave
ret 0x18
Function at 0x46a319
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x63ce94
call fcn.00637dc6
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.004505f4
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x58]
push dword [esi]
call fcn.004505f4
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.0045ef80
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 0x46a3f9
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x20]
push eax
push 0x72c010
call fcn.004572b7
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.004571c1
mov eax, ebx
call fcn.00637d75
ret 0x18
Function at 0x46a9f8
Capabilities:
Create process on windows

Disassembly:
push 0xf0
mov eax, 0x63be96
call fcn.00637dc6
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 0x46aa25
mov esi, dword [esi]
push ebx
push ebx
push ebx
push esi
push 0x6ce368
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46aae0
push 5
pop ecx
call fcn.0048816a
test al, al
je 0x46aae0
push ecx
lea ecx, [ebp - 0xfc]
call fcn.0044fd8b
mov edx, str.Failed_to_open_the_error_wiki_link_
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xfc]
call fcn.004510c8
lea eax, [ebp - 0x5c]
mov ecx, 0x6ce394
push eax
call fcn.0046aae8
mov edi, eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6ce3d0
call fcn.0044fbff
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf8]
call fcn.00450ae4
push edi
push esi
push 0x97
push 5
pop edx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00488132
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00450c1e
lea ecx, [ebp - 0x44]
call fcn.00450c1e
lea ecx, [ebp - 0x5c]
call fcn.00450c1e
lea ecx, [ebp - 0xfc]
call fcn.0044ecc6
call fcn.00637d75
ret 0xc
Function at 0x46aee2
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x63d048
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x72af34]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x19c]
xor edi, edi
cmp esi, 0xffffffff
jne 0x46af34
xor eax, eax
jmp 0x46b0db
push 0x40
lea eax, [ebp + 0xf8]
push edi
push eax
call fcn.00604cf0
push 0xf8
lea eax, [ebp]
push edi
push eax
call fcn.00604cf0
add esp, 0x18
mov dword [ebp - 0x10], edi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push edi
lea eax, [ebp - 0x10]
push eax
push 0x40
lea eax, [ebp + 0xf8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp + 0x134]
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x10]
push eax
push 0xf8
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp + 0x98]
add edi, 0xf8
mov dword [ebx + 0x30], eax
xor ebx, ebx
movzx eax, word [ebp + 6]
and dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x46aff8
push 0
lea eax, [ebp - 0x10]
push eax
push 0x28
lea eax, [ebp + 0x168]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp + 0x178]
add edi, 0x28
add edi, eax
cmp dword [ebp + 0x17c], ebx
jbe 0x46aff2
mov ebx, dword [ebp + 0x17c]
add eax, ebx
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x18], 1
jne 0x46afbe
xor edx, edx
mov eax, edi
div dword [ebp + 0x3c]
push 2
pop ecx
lea ebx, [eax + 1]
imul ebx, dword [ebp + 0x3c]
call fcn.0048816a
test al, al
je 0x46b0d9
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0044fd8b
and dword [ebp - 4], 0
lea ecx, [ebp - 0xb0]
mov edx, str.PE_File_size:
call fcn.004510c8
push ebx
mov ecx, eax
call fcn.00455cd8
mov edx, str._exe_file_size:
mov ecx, eax
call fcn.004510c8
push dword [ebp - 0x14]
mov ecx, eax
call fcn.00455cd8
lea eax, [ebp + 0x178]
mov ecx, 0x6ce4e4
push eax
call fcn.00455a6c
mov edi, eax
lea eax, [ebp + 0x138]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6ce48c
call fcn.0046727b
mov esi, eax
lea eax, [ebp + 0x150]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xac]
call fcn.00450ae4
push edi
push esi
push 0x56
push 2
pop edx
lea ecx, [ebp + 0x150]
mov byte [ebp - 4], 3
call fcn.00488132
add esp, 0xc
lea ecx, [ebp + 0x150]
call fcn.00450c1e
lea ecx, [ebp + 0x138]
call fcn.00450c1e
lea ecx, [ebp + 0x178]
call fcn.00450c1e
lea ecx, [ebp - 0xb0]
call fcn.0044ecc6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.005efadc
add ebp, 0x194
leave
ret 4
Function at 0x46b100
Capabilities:
Read file on windows

Disassembly:
push 0xf4
mov eax, 0x63d0a5
call fcn.00637dc6
mov dword [ebp - 0x68], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 2
pop ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], esi
call fcn.0048816a
mov ebx, dword [ebp + 0x10]
test al, al
je 0x46b1fb
push ecx
lea ecx, [ebp - 0x100]
call fcn.0044fd8b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov edx, str.file_handle:
call fcn.004510c8
push edi
mov ecx, eax
call fcn.0046b328
mov edx, str.begin:
mov ecx, eax
call fcn.004510c8
push esi
mov ecx, eax
call fcn.00455cd8
mov edx, str.end:
mov ecx, eax
call fcn.004510c8
push ebx
mov ecx, eax
call fcn.00455cd8
lea eax, [ebp - 0x40]
mov ecx, 0x6ce4c0
push eax
call fcn.0045ae7c
mov edi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6ce48c
call fcn.0046727b
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xfc]
call fcn.00450ae4
push edi
push esi
push 0x5d
push 2
pop edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00488132
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00450c1e
lea ecx, [ebp - 0x58]
call fcn.00450c1e
lea ecx, [ebp - 0x40]
call fcn.00450c1e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.0044ecc6
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
cmp edi, 0xffffffff
je 0x46b2a2
cmp esi, ebx
jae 0x46b2a2
sub ebx, esi
cmp ebx, 0x2800
ja 0x46b2a2
lea esi, [ebx + 1]
push esi
lfence
call fcn.005f0510
pop ecx
push 0
push 0
push dword [ebp - 0x60]
mov edi, eax
push dword [ebp - 0x5c]
lfence
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, edi
test esi, esi
je 0x46b24b
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x46b242
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
push 0
push eax
push ebx
push edi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
lea ecx, [ebp - 0x28]
call fcn.00450700
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0048aac4
mov ecx, dword [ebp - 0x68]
push eax
add ecx, 0x18
call fcn.0045af97
lea ecx, [ebp - 0x40]
call fcn.00450bf0
lea ecx, [ebp - 0x28]
call fcn.00450c1e
push edi
call fcn.005f008a
pop ecx
mov al, 1
jmp 0x46b2a4
xor al, al
call fcn.00637d75
ret 0xc
Function at 0x473d99
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 0x473dc4
jl 0x473dbb
test ebx, ebx
jne 0x473dc4
xor eax, eax
xor edx, edx
jmp 0x473e85
cmp dword [esi + 0x38], 0
je 0x473dd9
push eax
push ebx
push dword [ebp + 8]
call fcn.00450434
jmp 0x473e85
mov eax, dword [esi + 0x1c]
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x473e1d
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x473e1d
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [ebp + 8]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.00604770
mov ecx, dword [esp + 0x20]
add edi, esi
mov dword [esp + 0x1c], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x473e24
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c], 0
je 0x473e7b
mov ecx, esi
call fcn.00474719
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x473e66
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.006150d8
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 0x473e7b
jmp 0x473e37
test edx, edx
je 0x473e7b
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.006150d8
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 0x47e94a
Capabilities:
Get file version info

Disassembly:
push 0xc4
mov eax, 0x63fe48
call fcn.00637d93
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.005f0510
lea ecx, [ebp - 0xd0]
mov ebx, eax
call fcn.0046e9f7
and dword [ebp - 4], 0
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x47ea29
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6cef38
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x47ea29
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x12]
push eax
call fcn.0047898e
mov esi, 0x6cd4ec
mov ecx, eax
mov edx, esi
call fcn.004510c8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x10]
push eax
call fcn.0047898e
mov edx, esi
mov ecx, eax
call fcn.004510c8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x16]
push eax
call fcn.0047898e
mov edx, esi
mov ecx, eax
call fcn.004510c8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x14]
push eax
call fcn.0047898e
push ebx
call fcn.005f008a
mov esi, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00450ae4
lea ecx, [ebp - 0xd0]
call fcn.0046e43d
mov eax, esi
call fcn.00637d61
ret

Function at 0x47eaca
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 0x47eae5
mov edx, dword [edx]
sub esp, 0x14
lea ecx, [ebp - 0x10]
push edx
push SysReAllocStringLen
call fcn.0044c57e
test eax, eax
jne 0x47eb20
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x47eb05
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 0x47eb31
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x486d6a
Capabilities:
Get common file path

Disassembly:
push 0x1c
mov eax, 0x6417c2
call fcn.00637d93
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.00486e01
mov esi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x486dce
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 0x486db0
sub ecx, edx
lea edx, [ebp - 0x1c]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, ebx
call fcn.0048a902
jmp 0x486de4
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 0x486df9
mov eax, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.004515e3
pop ecx
pop ecx
mov eax, ebx
call fcn.00637d61
ret