joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eb22
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.0045ea11
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.00456cc9
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.00456bd3
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.005efbff
add esp, 0x34
ret 0x30
Function at 0x45fa45
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x63c027
call fcn.00637e86
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.00455842
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.00455457
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.0045ea11
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 0x45fb52
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x34]
lea eax, [ebx + 0x20]
push eax
push 0x72be60
call fcn.00456cc9
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.00456bd3
lea ecx, [ebp + 0x2c]
call fcn.00455fec
mov eax, ebx
call fcn.00637e35
ret 0x30
Function at 0x463332
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 0x46348e
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x46348e
cmp ecx, 0x29
jne 0x463372
cmp dword [esi + 0x10], 0
jne 0x46348e
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x463492
jmp 0x46344c
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x463390
push 5
lea ecx, [esi + 0x24]
call fcn.00463559
mov ecx, esi
call fcn.00463309
jmp 0x46347c
cmp ecx, 0x5c
jne 0x4633e6
mov ecx, esi
call fcn.00463309
test byte [edi], 0x80
je 0x4633da
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x4633c2
push 4
lea ecx, [esi + 0x24]
call fcn.00463559
mov ecx, esi
call fcn.00463309
jmp 0x463483
cmp ecx, 0x42
jne 0x4633da
push 4
lea ecx, [esi + 0x24]
call fcn.00463559
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4633b6
mov ecx, esi
call fcn.00463f17
jmp 0x46347c
cmp ecx, 0x5b
jne 0x463406
mov ecx, esi
call fcn.00463309
mov ecx, esi
call fcn.00463ecb
cmp dword [esi + 0x4c], 0x5d
je 0x463384
push 4
jmp 0x463494
cmp ecx, 0x28
jne 0x463423
mov ecx, esi
call fcn.00463309
mov ecx, esi
call fcn.00463fef
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x463492
jmp 0x463471
cmp ecx, 0x5e
jne 0x46342c
push 2
jmp 0x4633ae
cmp ecx, 0x24
jne 0x463438
push 3
jmp 0x4633ae
cmp ecx, 0x2a
je 0x46348a
cmp ecx, 0x2b
je 0x46348a
cmp ecx, 0x3f
je 0x46348a
cmp ecx, 0x7b
je 0x46348a
cmp ecx, 0x7d
jne 0x463459
test dword [edi], edx
jne 0x463462
push 6
jmp 0x463494
cmp ecx, 0x5d
jne 0x463462
test dword [edi], edx
je 0x4633ff
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00464159
mov bl, 1
mov ecx, esi
call fcn.00463309
test bl, bl
je 0x463483
mov ecx, esi
call fcn.00464074
mov al, 1
jmp 0x463339
push 0xa
jmp 0x463494
pop edi
pop esi
pop ebx
ret
push 5
call fcn.00462533
int3
Function at 0x467487
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.005f3443
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.00456cc9
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.00456bd3
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.005efbff
leave
ret 0x18
Function at 0x469dbb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x63cf75
call fcn.00637e86
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.0044e78e
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x58]
push dword [esi]
call fcn.0044e78e
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.0045ea11
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 0x469e9b
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x20]
push eax
push 0x72c010
call fcn.00456cc9
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.00456bd3
mov eax, ebx
call fcn.00637e35
ret 0x18
Function at 0x46a49a
Capabilities:
Create process on windows

Disassembly:
push 0xf0
mov eax, 0x63bf77
call fcn.00637e86
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 0x46a4c7
mov esi, dword [esi]
push ebx
push ebx
push ebx
push esi
push 0x6ce328
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46a582
push 5
pop ecx
call fcn.00487c88
test al, al
je 0x46a582
push ecx
lea ecx, [ebp - 0xfc]
call fcn.0044fe3d
mov edx, str.Failed_to_open_the_error_wiki_link_
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xfc]
call fcn.00450c80
lea eax, [ebp - 0x5c]
mov ecx, 0x6ce354
push eax
call fcn.0046a58a
mov edi, eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6ce390
call fcn.0044f7cf
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf8]
call fcn.00450645
push edi
push esi
push 0x97
push 5
pop edx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00487c50
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0045073d
lea ecx, [ebp - 0x44]
call fcn.0045073d
lea ecx, [ebp - 0x5c]
call fcn.0045073d
lea ecx, [ebp - 0xfc]
call fcn.0044e893
call fcn.00637e35
ret 0xc
Function at 0x46a984
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x63d129
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 0x46a9d6
xor eax, eax
jmp 0x46ab7d
push 0x40
lea eax, [ebp + 0xf8]
push edi
push eax
call fcn.00604da0
push 0xf8
lea eax, [ebp]
push edi
push eax
call fcn.00604da0
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 0x46aa9a
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 0x46aa94
mov ebx, dword [ebp + 0x17c]
add eax, ebx
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x18], 1
jne 0x46aa60
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.00487c88
test al, al
je 0x46ab7b
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0044fe3d
and dword [ebp - 4], 0
lea ecx, [ebp - 0xb0]
mov edx, str.PE_File_size:
call fcn.00450c80
push ebx
mov ecx, eax
call fcn.004556f1
mov edx, str._exe_file_size:
mov ecx, eax
call fcn.00450c80
push dword [ebp - 0x14]
mov ecx, eax
call fcn.004556f1
lea eax, [ebp + 0x178]
mov ecx, 0x6ce4a4
push eax
call fcn.00455485
mov edi, eax
lea eax, [ebp + 0x138]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6ce44c
call fcn.00466cd8
mov esi, eax
lea eax, [ebp + 0x150]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xac]
call fcn.00450645
push edi
push esi
push 0x56
push 2
pop edx
lea ecx, [ebp + 0x150]
mov byte [ebp - 4], 3
call fcn.00487c50
add esp, 0xc
lea ecx, [ebp + 0x150]
call fcn.0045073d
lea ecx, [ebp + 0x138]
call fcn.0045073d
lea ecx, [ebp + 0x178]
call fcn.0045073d
lea ecx, [ebp - 0xb0]
call fcn.0044e893
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.005efbff
add ebp, 0x194
leave
ret 4
Function at 0x46aba2
Capabilities:
Read file on windows

Disassembly:
push 0xf4
mov eax, 0x63d186
call fcn.00637e86
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.00487c88
mov ebx, dword [ebp + 0x10]
test al, al
je 0x46ac9d
push ecx
lea ecx, [ebp - 0x100]
call fcn.0044fe3d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov edx, str.file_handle:
call fcn.00450c80
push edi
mov ecx, eax
call fcn.0046adca
mov edx, str.begin:
mov ecx, eax
call fcn.00450c80
push esi
mov ecx, eax
call fcn.004556f1
mov edx, str.end:
mov ecx, eax
call fcn.00450c80
push ebx
mov ecx, eax
call fcn.004556f1
lea eax, [ebp - 0x40]
mov ecx, 0x6ce480
push eax
call fcn.0045a8a4
mov edi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6ce44c
call fcn.00466cd8
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xfc]
call fcn.00450645
push edi
push esi
push 0x5d
push 2
pop edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00487c50
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0045073d
lea ecx, [ebp - 0x58]
call fcn.0045073d
lea ecx, [ebp - 0x40]
call fcn.0045073d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.0044e893
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
cmp edi, 0xffffffff
je 0x46ad44
cmp esi, ebx
jae 0x46ad44
sub ebx, esi
cmp ebx, 0x2800
ja 0x46ad44
lea esi, [ebx + 1]
push esi
lfence
call fcn.005f0633
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 0x46aced
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x46ace4
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.0044e6a1
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0048a5a9
mov ecx, dword [ebp - 0x68]
push eax
add ecx, 0x18
call fcn.0045a9bf
lea ecx, [ebp - 0x40]
call fcn.0045070f
lea ecx, [ebp - 0x28]
call fcn.0045073d
push edi
call fcn.005f01ad
pop ecx
mov al, 1
jmp 0x46ad46
xor al, al
call fcn.00637e35
ret 0xc
Function at 0x472ebb
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 0x472ee6
jl 0x472edd
test ebx, ebx
jne 0x472ee6
xor eax, eax
xor edx, edx
jmp 0x472fa7
cmp dword [esi + 0x38], 0
je 0x472efb
push eax
push ebx
push dword [ebp + 8]
call fcn.00450064
jmp 0x472fa7
mov eax, dword [esi + 0x1c]
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x472f3f
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x472f3f
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [ebp + 8]
call fcn.00604820
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 0x472f46
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c], 0
je 0x472f9d
mov ecx, esi
call fcn.00474092
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x472f88
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.00615188
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 0x472f9d
jmp 0x472f59
test edx, edx
je 0x472f9d
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.00615188
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 0x47e303
Capabilities:
Get file version info

Disassembly:
push 0xc4
mov eax, 0x63feb0
call fcn.00637e53
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.005f0633
lea ecx, [ebp - 0xd0]
mov ebx, eax
call fcn.0046e3f7
and dword [ebp - 4], 0
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x47e3e2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6ceed8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x47e3e2
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x12]
push eax
call fcn.004783c4
mov esi, 0x6cd05c
mov ecx, eax
mov edx, esi
call fcn.00450c80
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x10]
push eax
call fcn.004783c4
mov edx, esi
mov ecx, eax
call fcn.00450c80
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x16]
push eax
call fcn.004783c4
mov edx, esi
mov ecx, eax
call fcn.00450c80
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x14]
push eax
call fcn.004783c4
push ebx
call fcn.005f01ad
mov esi, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00450645
lea ecx, [ebp - 0xd0]
call fcn.0046de18
mov eax, esi
call fcn.00637e21
ret

Function at 0x47e483
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 0x47e49e
mov edx, dword [edx]
sub esp, 0x14
lea ecx, [ebp - 0x10]
push edx
push SysReAllocStringLen
call fcn.0044bf5e
test eax, eax
jne 0x47e4d9
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x47e4be
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 0x47e4ea
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x48688e
Capabilities:
Get common file path

Disassembly:
push 0x1c
mov eax, 0x6418a8
call fcn.00637e53
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.00486925
mov esi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x4868f2
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 0x4868d4
sub ecx, edx
lea edx, [ebp - 0x1c]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, ebx
call fcn.0048a3e7
jmp 0x486908
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 0x48691d
mov eax, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.0045105c
pop ecx
pop ecx
mov eax, ebx
call fcn.00637e21
ret