joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413860
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b45ec]
sub esp, 0x974
push ebx
push ebp
push esi
mov esi, dword [0x43563c]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x413a5f
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x413896
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0x7b45ec], 0x1c
jne 0x4138ad
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x42c4b8]
mov ebx, dword [0x42c4c0]
mov ebp, dword [0x42c4c4]
mov dword [esp + 0x14], ecx
mov ecx, dword [str._6WZ]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x4138f6
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x7b455c], edi
mov eax, dword [esp + 0x1c]
add dword [0x7b455c], eax
mov eax, dword [0x7b455c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0x7b45ec], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x41398d
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0x7b45ec], 0x979
mov dword [0x7b4560], 0xff6b3619
mov dword [0x7b4564], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x4139d7
push 0
lea ecx, [esp + 0x184]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0x7b45ec]
cmp eax, 0x93
je 0x4139fd
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x4138f0
cmp eax, 0x8d4
jne 0x413a14
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0x7b45ec], 0x17
jne 0x413a4e
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x40]
push edx
push 0x404070
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x413890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x974
ret
Function at 0x403050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445b8d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45e068]
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.00426473
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 0x4032e0
push 0
push 0
call fcn.0042b3dc
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x4030d1
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.00426465
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.00424d0e
int3
Function at 0x4067d0
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 0x4460d8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x45e068]
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 0x449300
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x406961
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 0x406853
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.004030e0
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.00402ed0
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.00404d80
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x19], al
cmp ecx, 8
jb 0x40690d
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406903
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069bb
push ecx
push edx
call fcn.004264a3
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 0x406957
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40694d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069bb
push ecx
push edx
call fcn.004264a3
add esp, 8
cmp byte [ebp - 0x19], 0
mov byte [ebp - 0x19], 1
jne 0x406965
mov byte [ebp - 0x19], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x40699b
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406991
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069c0
push ecx
push edx
call fcn.004264a3
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.00426465
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042b22f
call fcn.0042b22f
int3
Function at 0x407310
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 0x446235
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x50
mov eax, dword [0x45e068]
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.00406f70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x4073ca
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
push 0x4551a8
mov ecx, esi
call fcn.004030e0
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x4073c3
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4073b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407501
push ecx
push edx
call fcn.004264a3
add esp, 8
mov eax, esi
jmp 0x4074e3
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 0x407506
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0xd
cmovae eax, dword [ebp - 0x34]
push 0x4551b8
push ecx
push eax
push ecx
push dword [ebp - 0x38]
mov ecx, edx
call fcn.0040a6d0
call fcn.00424940
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.0040a8d0
add esp, 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004051b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x407471
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40750b
push ecx
push edx
call fcn.004264a3
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 0x407493
sub ecx, edx
sar ecx, 1
push ecx
push edi
jmp 0x407382
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.00426465
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042b22f
call fcn.00401330
call fcn.0042b22f
int3
Function at 0x40c010
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 0x40c042
jl 0x40c035
test ecx, ecx
jne 0x40c042
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 0x40c102
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040d4e0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40c0ae
jg 0x40c06d
test esi, esi
je 0x40c0ae
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x40c085
mov eax, dword [esp + 0x10]
jl 0x40c07f
cmp eax, esi
jae 0x40c085
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00427c00
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 0x40c0cf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40c0eb
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 0x40c054
jl 0x40c0eb
test ecx, ecx
jne 0x40c054
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 0x40c146
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x40c146
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00427c00
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 0x40c1b7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x40c16c
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 0x40c1a2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0042c6f3
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x40c1b7
cmp edi, eax
ja 0x40c180
test edi, edi
je 0x40c1b7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0042c6f3
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 0x40d5d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446910
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45e068]
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.00426473
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004259aa
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0040d6e0
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 [0x460544]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [0x460548]
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 0x41d600
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 0x4551a8
push str.Static
push 0
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x460520]
mov dword [0x460474], 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 0x4551a8
push str.Static
push 0
call esi
push 0
push dword [0x460520]
mov dword [0x46046c], eax
push 0x30
push eax
call edi
mov eax, dword [0x4604b8]
push 0
push dword [0x46043c]
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 [0x460520]
mov dword [0x460470], eax
push 0x30
push eax
call edi
push 1
push 1
push 0xf4
push dword [0x460470]
call edi
mov eax, dword [0x4604b8]
push 0
push dword [0x46043c]
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 [0x460520]
mov dword [0x460468], eax
push 0x30
push eax
call edi
mov eax, dword [0x4604b8]
push 0
push dword [0x46043c]
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 [0x460520]
mov dword [0x460478], eax
push 0x30
push eax
call edi
mov eax, dword [0x4604b8]
push 0
push dword [0x46043c]
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 [0x460520]
mov dword [0x460464], eax
push 0x30
push eax
call edi
push 0
push dword [0x46043c]
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 [0x46045c], eax
call edi
push 0
push 0
push 0x402
push dword [0x46045c]
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x41e060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov bl, dl
mov esi, ecx
cmp byte [0x46047d], 0
je 0x41e086
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41e070
mov eax, dword [0x4604b8]
sub esp, 0x18
mov edi, dword [0x46046c]
add eax, 0xf4
mov ecx, esp
push eax
call fcn.00409910
mov ecx, edi
call fcn.00421df0
add esp, 0x18
lea ecx, [esp + 0x10]
call fcn.0040b3d0
mov edi, eax
cmp esi, edi
je 0x41e11f
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x41e0ed
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x41e0e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e1fd
mov eax, edx
push ecx
push eax
call fcn.004264a3
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x41e155
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e14b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e1fd
push ecx
push edx
call fcn.004264a3
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x41e15d
mov eax, dword [esi]
cmp dword [esi + 0x10], 0
jne 0x41e1f4
xor eax, eax
call fcn.00420920
test al, al
jne 0x41e176
test bl, bl
jne 0x41e1eb
mov eax, dword [0x4604b8]
sub esp, 0x18
mov edi, dword [0x46046c]
add eax, 0x10c
mov ecx, esp
push eax
call fcn.00409910
mov ecx, edi
call fcn.00421df0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0x18
mov byte [0x46047d], 1
push 0
push dword [0x460470]
call edi
push 1
push 0
push 0xf4
push dword [0x460470]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [0x460468]
call edi
push 1
push 1
push 0xf4
push dword [0x460468]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41e070
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042b22f
int3
Function at 0x421ed0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x460464]
call edi
push 0
push dword [0x460478]
call edi
push 0
push dword [0x460468]
call edi
push 1
push 0
push 0xf4
push dword [0x460468]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [0x460470]
call edi
push 1
push 1
push 0xf4
push dword [0x460470]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
ret

Function at 0x424ad0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x45e068]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x424b2a
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
shrd eax, ecx, 0x14
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x600
jl 0x424b2a
mov ecx, 0x2000
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00426465
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44]
mov eax, 0x600
xor ecx, esp
call fcn.00426465
mov esp, ebp
pop ebp
ret

Function at 0x4250c4
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.004250a0
pop esi
leave
ret 8

Function at 0x4272e6
Capabilities:
Parse pe header

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

Function at 0x436b5f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44d234
push 0x44d22c
push str.FlsAlloc
push 0x1f
call fcn.004369e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x436b93
push dword [ebp + 8]
mov ecx, esi
call dword [0x449244]
call esi
jmp 0x436b99
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x436bdd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44d244
push 0x44d23c
push str.FlsGetValue
push 0x21
call fcn.004369e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x436c14
push dword [ebp + 8]
mov ecx, esi
call dword [0x449244]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x436c1c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44d24c
push 0x44d244
push str.FlsSetValue
push 0x22
call fcn.004369e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x436c56
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x449244]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x438b26
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00427550
mov eax, dword [0x45e068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00436f7f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x438b68
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x438cc4
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00445590
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4600e0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00439927
mov ecx, dword [esi*4 + 0x4600e0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x438cbd
cmp eax, dword [ecx + edi + 0x24]
jne 0x438cbd
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x438cbd
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00439927
add esp, 0x14
test edx, edx
jl 0x438cbd
jg 0x438c33
test eax, eax
jb 0x438cbd
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x438cbd
jl 0x438c4d
cmp dword [ebp - 0x1008], eax
ja 0x438cbd
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x438c6b
test ebx, ebx
je 0x438ca4
cmp ecx, edi
jae 0x438ca4
mov al, byte [ecx]
cmp al, 0xd
jne 0x438c85
lea eax, [edi - 1]
cmp ecx, eax
jae 0x438c91
cmp byte [ecx + 1], 0xa
jne 0x438c91
inc ecx
jmp 0x438c91
movzx eax, al
movsx eax, byte [eax + 0x45e2f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x438c6b
cmp edx, ebx
jne 0x438c6b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x438cc2
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00426465
leave
ret