joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x93000]
push edi
or ebp, 0xffffffff
jmp 0x4ab562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ab569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab558
mov eax, 1
add ebx, ebx
jne 0x4ab57b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ab58c
jne 0x4ab5ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab5ab
dec eax
add ebx, ebx
jne 0x4ab598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ab570
add ebx, ebx
jne 0x4ab5a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ab5fd
xor ecx, ecx
sub eax, 3
jb 0x4ab5c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ab632
sar eax, 1
mov ebp, eax
jmp 0x4ab5ce
add ebx, ebx
jne 0x4ab5ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab59c
inc ecx
add ebx, ebx
jne 0x4ab5dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab59c
add ebx, ebx
jne 0x4ab5e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ab5de
jne 0x4ab5fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ab5de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ab61c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ab60e
jmp 0x4ab55e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ab61c
add edi, ecx
jmp 0x4ab55e
pop esi
mov edi, esi
mov ecx, 0xc6f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ab63a
cmp byte [edi], 6
jne 0x4ab63a
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 0x4ab63f
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4ab6b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeb134]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ab66c
mov ecx, edi
jns 0x4ab69b
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 + 0xeb250]
or eax, eax
je 0x4ab6b1
mov dword [ebx], eax
add ebx, 4
jmp 0x4ab689
call dword [esi + 0xeb260]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ab6e8
cmp al, 0xef
ja 0x4ab6db
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ab6bd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ab6ca
mov ebp, dword [esi + 0xeb254]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4ab71c
sub esp, 0xffffff80
jmp 0x43231a
Function at 0x409c60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bbdb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x436680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00417b6e
push 4
mov dword [ebp - 4], 0
call fcn.00419017
mov edi, eax
add esp, 4
test edi, edi
je 0x409cdc
call fcn.00417969
mov dword [edi], eax
call fcn.00417728
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00417b2f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x409cd2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00417b57
jmp 0x409cde
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412330
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
jne 0x412368
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x41238f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x4123ba
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, 0x5a4d
cmp word [esi], cx
jne 0x4123f5
mov edi, dword [esi + 0x3c]
push 4
add edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x412412
cmp dword [edi], 0x4550
jne 0x412412
mov edx, 0x20b
cmp word [edi + 0x18], dx
je 0x412428
mov eax, dword [edi + 0x34]
add eax, dword [edi + 0x28]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
mov eax, dword [ebp - 4]
push eax
call esi
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x412440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
push ebx
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x41246e
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push esi
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x412486
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], esi
je 0x412492
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x4124aa
mov dword [ebp - 4], eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x412468
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x413200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x436680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x10c], 0
call fcn.00421c00
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x41323e
mov eax, dword [esi]
jmp 0x413240
mov eax, esi
push 0
lea ecx, [ebp - 0x10c]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413260
sub eax, edx
push eax
lea edx, [ebp - 0x10c]
push edx
mov ecx, 0x439988
call fcn.00409930
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne bl
cmp dword [esi + 0x14], 0x10
jb 0x413296
mov esi, dword [esi]
push esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00418429
mov esp, ebp
pop ebp
ret

Function at 0x413360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.00421f50
mov eax, dword [0x436680]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0xffff
lea eax, [ebp - 0x10003]
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x10008], 0
mov byte [ebp - 0x10004], 0
call fcn.00421c00
mov ecx, dword [0x439988]
mov eax, 0x10
add esp, 0xc
cmp dword [0x43999c], eax
jae 0x4133b9
mov ecx, 0x439988
cmp dword [edi + 0x14], eax
jb 0x4133c0
mov edi, dword [edi]
cmp dword [ebx + 0x14], eax
jb 0x4133c9
mov eax, dword [ebx]
jmp 0x4133cb
mov eax, ebx
push ecx
push 0xffff
lea ecx, [ebp - 0x10004]
push ecx
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x10004]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
pop edi
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413400
sub eax, edx
push eax
lea edx, [ebp - 0x10004]
push edx
mov ecx, esi
call fcn.00409930
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00418429
mov esp, ebp
pop ebp
ret
Function at 0x413430
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42beb8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x436680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x413566
mov byte [ebp - 0x2c], al
mov eax, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413480
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00409930
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x1c]
cmp edx, edi
je 0x413554
xor eax, eax
cmp edx, edi
jbe 0x4134c5
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x4134b3
lea ecx, [ebp - 0x2c]
cmp byte [ecx + eax], 0x2f
jne 0x4134c0
mov byte [ecx + eax], 0x5c
mov edx, dword [ebp - 0x1c]
inc eax
cmp eax, edx
jb 0x4134a7
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4134d1
lea eax, [ebp - 0x2c]
cmp byte [eax + edx - 1], 0x5c
je 0x4134e7
push 1
mov eax, 0x431a64
lea ecx, [ebp - 0x2c]
call fcn.00409740
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x2c]
push edx
xor ecx, ecx
mov byte [ebp - 0x4c], 0x5c
call fcn.00413590
mov edi, eax
cmp edi, 0xffffffff
je 0x413554
mov byte [ebp - 0x4c], 0x5c
push edi
xor ecx, ecx
lea esi, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.00406d60
mov eax, dword [ebp - 0x48]
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jae 0x413523
lea eax, [ebp - 0x48]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x34], esi
jb 0x41353d
mov eax, dword [ebp - 0x48]
push eax
call fcn.00418f70
add esp, 4
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [edi + 1]
call fcn.00413590
mov edi, eax
cmp edi, 0xffffffff
jne 0x413505
cmp dword [ebp - 0x18], 0x10
jb 0x413566
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00418f70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418429
mov esp, ebp
pop ebp
ret
Function at 0x413a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ca60
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x436680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], eax
mov esi, ecx
mov dword [ebp - 0x1fc], 0x4317f8
mov dword [ebp - 0x1ec], 0x431800
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x1e4]
push ecx
lea edx, [ebp - 0x1fc]
mov dword [ebp - 4], 1
push edx
mov dword [ebp - 0x13c], 2
call fcn.00408c10
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x1e4]
push edx
mov dword [ebp + ecx - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.00409c60
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a4], ebx
push 0x104
lea eax, [ebp - 0x11b]
push ebx
mov dword [ebp - 4], 4
push eax
mov byte [ebp - 0x11c], bl
call fcn.00421c00
add esp, 0xc
push ebx
push 0x1a
lea ecx, [ebp - 0x11c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x413b23
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x144], str.Unable_to_retrieve_the_path_to_the_special_folder_AppData
call fcn.00418513
push 0x4331d4
lea eax, [ebp - 0x150]
push eax
call fcn.0041ae31
push 0x431a64
push ecx
push esi
push ecx
push 0x431a64
push ecx
push str.edxLabs
push ecx
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x1ec]
push edx
call fcn.0040bb80
add esp, 0xc
push eax
call fcn.0040bb80
add esp, 0xc
push eax
call fcn.0040bb80
add esp, 0xc
push eax
call fcn.0040c040
add esp, 0xc
push eax
call fcn.0040bb80
add esp, 8
lea esi, [ebp - 0x138]
lea eax, [ebp - 0x1fc]
call fcn.00407de0
mov esi, 0x10
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], esi
jb 0x413b92
mov eax, dword [eax]
mov ecx, eax
call fcn.00413430
mov byte [ebp - 4], 4
cmp dword [ebp - 0x124], esi
jb 0x413bb4
mov eax, dword [ebp - 0x138]
push eax
call fcn.00418f70
add esp, 4
mov esi, dword [ebp - 0x140]
lea eax, [ebp - 0x1fc]
call fcn.00407de0
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x13c], 3
mov byte [ebp - 4], bl
call fcn.004069b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418429
mov esp, ebp
pop ebp
ret
Function at 0x4141a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x436680]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x37
lea eax, [ebp - 0xab]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xac], 0
call fcn.00421c00
push 0x37
lea ecx, [ebp - 0x73]
push 0
push ecx
mov byte [ebp - 0x74], 0
call fcn.00421c00
mov edx, dword [str.169841]
mov ax, word [0x431ac0]
push 0x37
lea ecx, [ebp - 0x3b]
push 0
push ecx
mov dword [ebp - 0x74], edx
mov word [ebp - 0x70], ax
mov byte [ebp - 0x3c], 0
call fcn.00421c00
mov eax, dword [0x431ab4]
mov edx, dword [0x431ab0]
mov cx, word [0x431ab8]
add esp, 0x24
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov word [ebp - 0x34], cx
xor eax, eax
mov dl, byte [ebp + eax - 0x3c]
xor dl, byte [ebp + eax - 0x74]
inc eax
mov byte [ebp + eax - 0xad], dl
cmp eax, 6
jl 0x414223
push 6
add esi, 0x110
push esi
lea ecx, [ebp - 0xac]
call fcn.00411df0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00418429
mov esp, ebp
pop ebp
ret
Function at 0x414d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
cmp byte [edi], 2
mov esi, eax
je 0x414d4b
lea eax, [ebx + 0x1158]
test eax, eax
je 0x414d33
lea eax, [ebx + 0x1168]
jmp 0x414d35
xor eax, eax
push str.The_entry_is_not_a_file.
push eax
call fcn.0040bb80
add esp, 8
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x72]
call fcn.00415090
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
je 0x414dd0
mov edx, dword [edi + 0x6e]
mov eax, dword [edi + 0x6a]
mov ecx, dword [ebx]
push 0
push edx
push eax
push ecx
call fcn.0041a15a
mov edx, dword [ebx]
mov ecx, dword [edi + 0x72]
mov eax, dword [esi]
push edx
push ecx
push 1
push eax
call fcn.00419c09
add esp, 0x20
cmp eax, dword [edi + 0x72]
je 0x414dd0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 4], ecx
cmp ecx, eax
je 0x414da6
mov edi, eax
sub edi, eax
push edi
push eax
push ecx
call fcn.00418640
add esp, 0xc
add edi, dword [ebp - 4]
mov dword [esi + 4], edi
lea eax, [ebx + 0x1158]
test eax, eax
je 0x414db8
lea eax, [ebx + 0x1168]
jmp 0x414dba
xor eax, eax
push str.Could_read_all_of_the_file_data.
push eax
call fcn.0040bb80
add esp, 8
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418429
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436680]
jne 0x418433
repz ret
jmp fcn.0041d492
Function at 0x4287c1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041e6ef
and dword [ebp - 0x14], 0
cmp dword [0x4398b0], 0
mov dword [ebp - 0x18], eax
jne 0x428874
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42891c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x42891c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4398b0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4398b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4398b8], eax
call edi
push eax
call esi
mov dword [0x4398c0], eax
test eax, eax
je 0x428874
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4398bc], eax
mov eax, dword [0x4398bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4288cd
cmp dword [0x4398c0], ecx
je 0x4288cd
push eax
call esi
push dword [0x4398c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4288cd
test ebx, ebx
je 0x4288cd
call edi
test eax, eax
je 0x4288c4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4288c4
test byte [ebp - 8], 1
jne 0x4288cd
or dword [ebp + 0x10], 0x200000
jmp 0x428900
mov eax, dword [0x4398b4]
cmp eax, dword [ebp - 0x18]
je 0x428900
push eax
call esi
test eax, eax
je 0x428900
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428900
mov eax, dword [0x4398b8]
cmp eax, dword [ebp - 0x18]
je 0x428900
push eax
call esi
test eax, eax
je 0x428900
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4398b0]
call esi
test eax, eax
je 0x42891c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42891e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418429
leave
ret
Function at 0x4502b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4502e2
jl 0x4502d5
test ecx, ecx
jne 0x4502e2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4503bf
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x450312
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x450314
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x450368
jg 0x450325
test esi, esi
je 0x450368
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x450339
jl 0x450333
cmp ecx, esi
jae 0x450339
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.0067d850
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x45038c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x4503a8
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x4502f7
jl 0x4503a8
test ecx, ecx
jne 0x4502f7
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4503fd
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x4503fd
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.0067d850
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x450467
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x450423
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x450452
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00687c97
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x450467
cmp edi, eax
ja 0x450430
test edi, edi
je 0x450467
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00687c97
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc