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

Disassembly:
sub esp, 0x34
mov eax, dword [0x79cf48]
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.004671a2
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 0x79ddd0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x50]
call fcn.0045d134
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.0045d03e
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.00628cc2
add esp, 0x34
ret 0x30
Function at 0x467be4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x677638
call fcn.006724e0
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.0044fcc7
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.0045bb0b
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 [ebx + 0x84], 0xffffff
mov byte [ebx + 0x88], al
mov ecx, dword [ecx]
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x38]
mov dword [ebx + 0x8c], 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]
push dword [ebx + 0x7c]
mov edx, dword [ebx + 0x78]
lea eax, [ebp - 0x48]
mov ecx, dword [ebx + 4]
push eax
call fcn.004671a2
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 0x467d01
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x34]
lea eax, [ebx + 0x20]
push eax
push 0x79de60
call fcn.0045d134
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.0045d03e
lea ecx, [ebp + 0x2c]
call fcn.0045c53b
mov eax, ebx
call fcn.0067248f
ret 0x30
Function at 0x46a6ed
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 0x46a849
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x46a849
cmp ecx, 0x29
jne 0x46a72d
cmp dword [esi + 0x10], 0
jne 0x46a849
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x46a84d
jmp 0x46a807
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x46a74b
push 5
lea ecx, [esi + 0x24]
call fcn.0045531f
mov ecx, esi
call fcn.0046a6c4
jmp 0x46a837
cmp ecx, 0x5c
jne 0x46a7a1
mov ecx, esi
call fcn.0046a6c4
test byte [edi], 0x80
je 0x46a795
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x46a77d
push 4
lea ecx, [esi + 0x24]
call fcn.0045531f
mov ecx, esi
call fcn.0046a6c4
jmp 0x46a83e
cmp ecx, 0x42
jne 0x46a795
push 4
lea ecx, [esi + 0x24]
call fcn.0045531f
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x46a771
mov ecx, esi
call fcn.0046af18
jmp 0x46a837
cmp ecx, 0x5b
jne 0x46a7c1
mov ecx, esi
call fcn.0046a6c4
mov ecx, esi
call fcn.0046aecc
cmp dword [esi + 0x4c], 0x5d
je 0x46a73f
push 4
jmp 0x46a84f
cmp ecx, 0x28
jne 0x46a7de
mov ecx, esi
call fcn.0046a6c4
mov ecx, esi
call fcn.0046aff0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x46a84d
jmp 0x46a82c
cmp ecx, 0x5e
jne 0x46a7e7
push 2
jmp 0x46a769
cmp ecx, 0x24
jne 0x46a7f3
push 3
jmp 0x46a769
cmp ecx, 0x2a
je 0x46a845
cmp ecx, 0x2b
je 0x46a845
cmp ecx, 0x3f
je 0x46a845
cmp ecx, 0x7b
je 0x46a845
cmp ecx, 0x7d
jne 0x46a814
test dword [edi], edx
jne 0x46a81d
push 6
jmp 0x46a84f
cmp ecx, 0x5d
jne 0x46a81d
test dword [edi], edx
je 0x46a7ba
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0046b13b
mov bl, 1
mov ecx, esi
call fcn.0046a6c4
test bl, bl
je 0x46a83e
mov ecx, esi
call fcn.0046b075
mov al, 1
jmp 0x46a6f4
push 0xa
jmp 0x46a84f
pop edi
pop esi
pop ebx
ret
push 5
call fcn.0045411d
int3
Function at 0x46dd63
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x79cf48]
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.0062ae5a
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 dword [ebx + 0x80], eax
mov byte [ebx + 0x84], al
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov word [ebx + 0x94], 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 0x79def0
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
call fcn.0045d134
add esp, 8
movzx eax, ax
push eax
xor eax, eax
push eax
push eax
push 0x50000000
push eax
lea eax, [ebp - 0x14]
push eax
push esi
mov ecx, ebx
call fcn.0045d03e
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.00628cc2
leave
ret 0x18

Function at 0x46df11
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dl, 1
lea eax, [esi + 0x94]
xchg byte [eax], dl
pop esi
ret
Function at 0x46fedd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x678045
call fcn.006724e0
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.0044fc8a
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x58]
push dword [esi]
call fcn.0044fc8a
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.004671a2
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 0x46ffbd
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x20]
push eax
push 0x79e010
call fcn.0045d134
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.0045d03e
mov eax, ebx
call fcn.0067248f
ret 0x18
Function at 0x4705f7
Capabilities:
Create process on windows

Disassembly:
push 0xb0
mov eax, 0x677592
call fcn.006724ad
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 0x470624
mov esi, dword [esi]
push ebx
push ebx
push ebx
push esi
push 0x72e6b8
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4706ec
push 5
pop ecx
call fcn.0049259e
test al, al
je 0x4706ec
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0044f85b
mov edx, str.Failed_to_open_the_error_wiki_link_
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xbc]
call fcn.004508e8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x14], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x1c], esp
mov ecx, 0x72f3d0
push eax
call fcn.004706f4
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x20], esp
mov ecx, 0x72f40c
push eax
call fcn.0044f18b
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
push eax
call fcn.00450176
push 5
mov edx, 0x97
mov byte [ebp - 4], bl
pop ecx
call fcn.0049250e
add esp, 0x60
lea ecx, [ebp - 0xbc]
call fcn.0044da7b
call fcn.0067247b
ret 0xc
Function at 0x470c28
Capabilities:
Read file on windows

Disassembly:
push 0x218
mov eax, 0x67821c
call fcn.006724e0
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x470c48
xor eax, eax
jmp 0x470e12
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00640240
add esp, 0xc
lea eax, [ebp - 0x174]
push 0xf8
push 0
push eax
call fcn.00640240
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 0x470d20
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 0x470d17
mov ebx, dword [ebp - 0x28]
add eax, ebx
mov dword [ebp - 0x178], eax
sub dword [ebp - 0x180], 1
jne 0x470ce9
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.0049259e
test al, al
je 0x470e10
push ecx
lea ecx, [ebp - 0x224]
call fcn.0044f85b
xor ebx, ebx
lea ecx, [ebp - 0x224]
mov edx, str.PE_File_size:
mov dword [ebp - 4], ebx
call fcn.004508e8
push esi
mov ecx, eax
call fcn.0045bcd9
mov edx, str._exe_file_size:
mov ecx, eax
call fcn.004508e8
push dword [ebp - 0x178]
mov ecx, eax
call fcn.0045bcd9
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x178], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x180], esp
mov ecx, 0x72f5f4
push eax
call fcn.0045bb65
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x188], esp
mov ecx, 0x72f580
push eax
call fcn.0046d628
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x184], eax
push eax
call fcn.00450176
push 0x6d
pop edx
push 2
pop ecx
mov byte [ebp - 4], bl
call fcn.0049250e
add esp, 0x60
lea ecx, [ebp - 0x224]
call fcn.0044da7b
mov eax, esi
call fcn.0067248f
ret 4
Function at 0x470e1a
Capabilities:
Read file on windows

Disassembly:
push 0xec
mov eax, 0x678276
call fcn.006724e0
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 2
pop ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], ebx
call fcn.0049259e
mov esi, dword [ebp + 0x14]
test al, al
je 0x470f26
push ecx
lea ecx, [ebp - 0xf8]
call fcn.0044f85b
and dword [ebp - 4], 0
lea ecx, [ebp - 0xf8]
mov edx, str.file_handle:
call fcn.004508e8
push edi
mov ecx, eax
call fcn.00471669
mov edx, str.begin:
mov ecx, eax
call fcn.004508e8
push ebx
mov ecx, eax
call fcn.0045bcd9
mov edx, str.end:
mov ecx, eax
call fcn.004508e8
push esi
mov ecx, eax
call fcn.0045bcd9
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x58], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x5c], esp
mov ecx, 0x72f61c
push eax
call fcn.0046283a
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x60], esp
mov ecx, 0x72f580
push eax
call fcn.0046d628
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x54], eax
push eax
call fcn.00450176
push 0x74
pop edx
push 2
pop ecx
mov byte [ebp - 4], 0
call fcn.0049250e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
add esp, 0x60
call fcn.0044da7b
mov edi, dword [ebp - 0x44]
cmp edi, 0xffffffff
je 0x470fca
cmp ebx, esi
jae 0x470fca
sub esi, ebx
cmp esi, 0x2800
ja 0x470fca
lea edi, [esi + 1]
push edi
lfence
call fcn.00629702
pop ecx
push 0
push 0
push dword [ebp - 0x4c]
mov ebx, eax
push dword [ebp - 0x44]
lfence
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, ebx
test edi, edi
je 0x470f76
mov byte [eax], 0
inc eax
sub edi, 1
jne 0x470f6d
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push 0
push eax
push esi
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
lea ecx, [ebp - 0x28]
call fcn.0044d973
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004d85e0
mov ecx, dword [ebp - 0x50]
push eax
call fcn.00452f76
lea ecx, [ebp - 0x40]
call fcn.00450240
lea ecx, [ebp - 0x28]
call fcn.0045037b
push ebx
call fcn.00629270
pop ecx
mov al, 1
jmp 0x470fcc
xor al, al
call fcn.0067248f
ret 0x10
Function at 0x47131d
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x79cf48]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x2c]
mov dword [esi], ebp
mov dword [esi + 4], ebp
cmp ebx, 0xffffffff
je 0x4713aa
mov ecx, dword [edi]
xorps xmm0, xmm0
mov eax, dword [edi + 4]
sub ecx, 8
push ebp
push ebp
sbb eax, ebp
mov dword [esp + 0x18], ebp
push eax
push ecx
push ebx
movlpd qword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
push ebp
lea eax, [esp + 0x14]
push eax
push 8
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x471388
cmp dword [esp + 0x10], 8
jae 0x4713aa
push 7
pop eax
cmp byte [esp + eax + 0x14], 0
jne 0x471399
sub eax, 1
jns 0x47138b
jmp 0x4713aa
xor ecx, ecx
add eax, dword [edi]
adc ecx, dword [edi + 4]
sub eax, 7
mov dword [esi], eax
sbb ecx, ebp
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00628cc2
add esp, 0x10
ret 0xc
Function at 0x4713c1
Capabilities:
Read file on windows

Disassembly:
push 0xbc
mov eax, 0x678379
call fcn.006724e0
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
cmp eax, 0xffffffff
je 0x471567
mov esi, dword [edi]
mov edi, dword [edi + 4]
sub esi, 8
mov dword [ebp - 0x1c], ecx
sbb edi, ecx
js 0x471567
jg 0x47140c
cmp esi, ecx
jb 0x471567
push ecx
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
push 0
lea eax, [ebp - 0x1c]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4714b4
cmp dword [ebp - 0x1c], 8
jb 0x4714b4
push 7
pop ecx
cmp byte [ebp + ecx - 0x18], 0
jne 0x471468
mov ebx, dword [ebp + 0x14]
xor eax, eax
mov edx, ecx
add edx, esi
adc eax, edi
cmp dword [ebx + 4], eax
mov ebx, dword [ebp - 0x24]
jg 0x471567
jl 0x471468
mov eax, dword [ebp + 0x14]
cmp dword [eax], edx
ja 0x471567
sub ecx, 1
jns 0x47143d
mov edx, 0x72860c
lea ecx, [ebp - 0x18]
movzx eax, word [ecx]
cmp ax, word [edx]
jne 0x471486
movzx eax, byte [ecx + 2]
cmp al, byte [edx + 2]
je 0x4714aa
add esi, 0xfffffff8
adc edi, 0xffffffff
js 0x471567
jg 0x4714a0
xor ecx, ecx
cmp esi, ecx
jb 0x471567
jmp 0x4714a2
xor ecx, ecx
mov eax, dword [ebp - 0x20]
jmp 0x47140c
mov dword [ebx], esi
mov dword [ebx + 4], edi
jmp 0x471567
push 5
pop ecx
call fcn.0049259e
test al, al
je 0x471567
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0044f85b
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
mov edx, str.Failed_to_read_pe_data.
call fcn.004508e8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x20], esp
mov ecx, 0x72f5cc
push eax
call fcn.0045b803
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x2c], esp
mov ecx, 0x72f580
push eax
call fcn.0046d628
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x28], eax
push eax
call fcn.00450176
push 5
mov edx, 0xef
mov byte [ebp - 4], 0
pop ecx
call fcn.0049250e
add esp, 0x60
lea ecx, [ebp - 0xc8]
call fcn.0044da7b
mov eax, ebx
call fcn.0067248f
ret 0x10