joyce8/EMBER2024-capa huggingface dataset:
Function at 0x80ecd0
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file
Read .ini file

Disassembly:
mov eax, dword [0xb9b100]
mov ecx, dword [0x81b164]
sub esp, 0xdbc
push ebx
push ebp
shr eax, 3
xor ebx, ebx
push esi
push edi
cmp eax, ebx
jbe 0x80eee4
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80ed06
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9b100], 0x1c
jne 0x80ed1d
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80ed5a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x30]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb9a084], ebx
mov eax, dword [esp + 0x18]
add dword [0xb9a084], eax
mov edx, dword [0xb9a084]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9b100], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80edf4
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0xb9b100], 0x979
mov dword [0xb9a088], 0xff6b3619
mov dword [0xb9a08c], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80ee5f
push 0x404120
push 0
lea eax, [esp + 0x5d0]
push eax
push 0x404198
push 0x4041b8
push 0x404214
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea ecx, [esp + 0x1cc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0xb9b100]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x80ee81
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80ed58
cmp eax, 0x8d4
jne 0x80ee9d
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9b100], 0x17
jne 0x80eed3
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80ed00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdbc
ret
Function at 0x4ea630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x44c015
lea edi, [esi - 0x4b015]
push edi
jmp 0x4ea64a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ea651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea640
mov eax, 1
add ebx, ebx
jne 0x4ea663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ea674
jne 0x4ea693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea693
dec eax
add ebx, ebx
jne 0x4ea680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ea658
add ebx, ebx
jne 0x4ea68f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ea6e5
xor ecx, ecx
sub eax, 3
jb 0x4ea6ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ea71a
sar eax, 1
mov ebp, eax
jmp 0x4ea6b6
add ebx, ebx
jne 0x4ea6b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea684
inc ecx
add ebx, ebx
jne 0x4ea6c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea684
add ebx, ebx
jne 0x4ea6d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ea6c6
jne 0x4ea6e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ea6c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ea704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ea6f6
jmp 0x4ea646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ea704
add edi, ecx
jmp 0x4ea646
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ea722
cmp byte [edi], 0
jne 0x4ea722
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 0x4ea727
lea edi, [esi + 0xe8000]
mov eax, dword [edi]
or eax, eax
je 0x4ea796
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11105c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1110a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ea754
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1110a8]
or eax, eax
je 0x4ea790
mov dword [ebx], eax
add ebx, 4
jmp 0x4ea771
call dword [esi + 0x1110a4]
mov ebp, dword [esi + 0x1110ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4ea7ca
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x401c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44324d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x456068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.00423bb2
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x401f50
push 0
push 0
call fcn.00428b0c
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x401ca1
mov eax, esi
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.00423ba4
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.0042244d
int3
Function at 0x4052b0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443778
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x456068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x4462c0
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x405441
mov ecx, edx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405333
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00401cb0
mov byte [ebp - 4], 1
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 8
lea ecx, [ebp - 0x4c]
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
push eax
call fcn.00401da0
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x64], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm1
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004039f0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x19], al
cmp ecx, 8
jb 0x4053ed
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4053e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40549b
push ecx
push edx
call fcn.00423be2
add esp, 8
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp ecx, 8
jb 0x405437
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40542d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40549b
push ecx
push edx
call fcn.00423be2
add esp, 8
cmp byte [ebp - 0x19], 0
mov byte [ebp - 0x19], 1
jne 0x405445
mov byte [ebp - 0x19], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x40547b
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054a0
push ecx
push edx
call fcn.00423be2
add esp, 8
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423ba4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042895f
call fcn.0042895f
int3
Function at 0x405df0
Capabilities:
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4438d5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x50
mov eax, dword [0x456068]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], esi
call fcn.00405a50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x405eaa
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
push 0x44e014
mov ecx, esi
call fcn.00401cb0
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x405ea3
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405e99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fe1
push ecx
push edx
call fcn.00423be2
add esp, 8
mov eax, esi
jmp 0x405fc3
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, 0x7ffffffe
mov edx, esp
sub eax, ecx
mov dword [ebp - 0x38], edx
cmp eax, 0xd
jb 0x405fe6
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0xd
cmovae eax, dword [ebp - 0x34]
push 0x44e024
push ecx
push eax
push ecx
push dword [ebp - 0x38]
mov ecx, edx
call fcn.004084b0
call fcn.004220f0
add esp, 0x18
mov byte [ebp - 0x40], 0
mov edi, eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x38], edi
push dword [ebp - 0x40]
call fcn.004086b0
add esp, 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00403e20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x405f51
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405feb
push ecx
push edx
call fcn.00423be2
add esp, 8
push 2
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405f73
sub ecx, edx
sar ecx, 1
push ecx
push edi
jmp 0x405e62
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00423ba4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042895f
call fcn.00401330
call fcn.0042895f
int3
Function at 0x418520
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, ecx
push 0
push 0
push ebx
push 0xd
push 0x167
push 0x17
push 0xb
push 0x50000000
push 0x44e014
push str.Static
push 0
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x458518]
mov dword [0x458468], eax
push 0x30
push eax
call edi
push 0
push 0
push 0
push ebx
push 0xd
push 0x11a
push 0x50
push 0xb
push 0x50000000
push 0x44e014
push str.Static
push 0
call esi
push 0
push dword [0x458518]
mov dword [0x458460], eax
push 0x30
push eax
call edi
mov eax, dword [0x4584b0]
push 0
push dword [0x458434]
push 0
push ebx
push 0x17
push 0x4b
push 0x51
push 0x126
push 0x50000000
push dword [eax + 0x1cc]
push str.Button
push 0
call esi
push 0
push dword [0x458518]
mov dword [0x458464], eax
push 0x30
push eax
call edi
push 1
push 1
push 0xf4
push dword [0x458464]
call edi
mov eax, dword [0x4584b0]
push 0
push dword [0x458434]
push 1
push ebx
push 0x17
push 0x4b
push 0x51
push 0x126
push 0x40000000
push dword [eax + 0x1d0]
push str.Button
push 0
call esi
push 0
push dword [0x458518]
mov dword [0x45845c], eax
push 0x30
push eax
call edi
mov eax, dword [0x4584b0]
push 0
push dword [0x458434]
push 2
push ebx
push 0x17
push 0x55
push 0x51
push 0xcc
push 0x40000000
push dword [eax + 0x1d4]
push str.Button
push 0
call esi
push 0
push dword [0x458518]
mov dword [0x45846c], eax
push 0x30
push eax
call edi
mov eax, dword [0x4584b0]
push 0
push dword [0x458434]
push 3
push ebx
push 0x17
push 0x4b
push 0x51
push 0x7c
push 0x40000000
push dword [eax + 0x1d8]
push str.Button
push 0
call esi
push 0
push dword [0x458518]
mov dword [0x458458], eax
push 0x30
push eax
call edi
push 0
push dword [0x458434]
push 0xc8
push ebx
push 0x17
push 0x167
push 0x2e
push 0xb
push 0x50000000
push 0
push str.msctls_progress32
push 0
call esi
push 0x640000
push 0
push 0x401
push eax
mov dword [0x458470], eax
call edi
push 0
push 0
push 0x402
push dword [0x458470]
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x419050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
mov byte [esp + 0xb], dl
mov esi, ecx
cmp byte [0x458474], 0
je 0x419077
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419061
mov eax, dword [0x4584b0]
sub esp, 0x18
mov edi, dword [0x458460]
add eax, 0xf4
mov ecx, esp
push eax
call fcn.004077c0
mov ecx, edi
call fcn.0041d330
add esp, 0x18
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
push 0
push 0x44def7
call fcn.004080c0
lea eax, [esp + 0x10]
cmp esi, eax
je 0x419122
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4190ff
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4190f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419200
mov eax, edx
push ecx
push eax
call fcn.00423be2
add esp, 8
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esi + 0x10], xmm0
jmp 0x419158
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x419158
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41914e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419200
push ecx
push edx
call fcn.00423be2
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x419160
mov eax, dword [esi]
cmp dword [esi + 0x10], 0
jne 0x4191f8
xor eax, eax
call fcn.0041bec0
test al, al
jne 0x41917b
cmp byte [esp + 0xb], al
jne 0x4191f0
mov eax, dword [0x4584b0]
sub esp, 0x18
mov edi, dword [0x458460]
add eax, 0x10c
mov ecx, esp
push eax
call fcn.004077c0
mov ecx, edi
call fcn.0041d330
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0x18
mov byte [0x458474], 1
push 0
push dword [0x458464]
call edi
push 1
push 0
push 0xf4
push dword [0x458464]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [0x45845c]
call edi
push 1
push 1
push 0xf4
push dword [0x45845c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x419061
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042895f
int3
Function at 0x41d410
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x458458]
call edi
push 0
push dword [0x45846c]
call edi
push 0
push dword [0x45845c]
call edi
push 1
push 0
push 0xf4
push dword [0x45845c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [0x458464]
call edi
push 1
push 1
push 0xf4
push dword [0x458464]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
ret
Function at 0x41de00
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, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x41de32
jl 0x41de25
test ecx, ecx
jne 0x41de32
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 0x41def2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00420340
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x41de9e
jg 0x41de5d
test esi, esi
je 0x41de9e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x41de75
mov eax, dword [esp + 0x10]
jl 0x41de6f
cmp eax, esi
jae 0x41de75
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00425330
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x41debf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x41dedb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x41de44
jl 0x41dedb
test ecx, ecx
jne 0x41de44
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
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 0x41df36
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x41df36
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00425330
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x41dfa7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x41df5c
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 0x41df92
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0042fa50
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x41dfa7
cmp edi, eax
ja 0x41df70
test edi, edi
je 0x41dfa7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0042fa50
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
Function at 0x420950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445550
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x456068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push 8
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00423bb2
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004230e9
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00420a60
mov eax, dword [ebp - 0x10]
lea ebx, [edi + 4]
mov dword [edi + 0xc], ebx
lea esi, [edi + 8]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea ecx, [eax + 0x18]
mov byte [edi + 0x48], 0
lea edx, [eax + 0x24]
mov byte [edi + 0x3d], 0
mov dword [edi + 0x10], esi
add edi, 0x14
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x458728]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [0x45872c]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422803
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004227df
pop esi
leave
ret 8

Function at 0x424a24
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x424a63
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424a63
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424a63
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x424a63
cmp dword [ecx + 0x74], 0xe
jbe 0x424a63
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43427f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44a1f4
push 0x44a1ec
push str.FlsAlloc
push 0x1f
call fcn.00434107
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4342b3
push dword [ebp + 8]
mov ecx, esi
call dword [0x446218]
call esi
jmp 0x4342b9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4342fd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44a204
push 0x44a1fc
push str.FlsGetValue
push 0x21
call fcn.00434107
mov esi, eax
add esp, 0x10
test esi, esi
je 0x434334
push dword [ebp + 8]
mov ecx, esi
call dword [0x446218]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43433c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44a20c
push 0x44a204
push str.FlsSetValue
push 0x22
call fcn.00434107
mov esi, eax
add esp, 0x10
test esi, esi
je 0x434376
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x446218]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]