joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4091f0
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 0x409222
jl 0x409215
test ecx, ecx
jne 0x409222
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 0x4092e2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040af20
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40928e
jg 0x40924d
test esi, esi
je 0x40928e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x409265
mov eax, dword [esp + 0x10]
jl 0x40925f
cmp eax, esi
jae 0x409265
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004159f0
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 0x4092af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4092cb
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 0x409234
jl 0x4092cb
test ecx, ecx
jne 0x409234
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 0x409326
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x409326
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004159f0
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 0x409397
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x40934c
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 0x409382
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0041ca76
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x409397
cmp edi, eax
ja 0x409360
test edi, edi
je 0x409397
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0041ca76
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 0x40ada0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4347a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x444080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x14], ecx
lea ebx, [ecx + 0x24]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea edi, [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 8
mov dword [eax], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.004142c5
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004134ad
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x34], esi
call fcn.0040afe0
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
lea esi, [eax + 4]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x1c], ecx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [0x44633c]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x446338]
mov dword [ebx], 0
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 0x40cdd0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Download url
Parse pe header
Receive data

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.00402e00
Function at 0x40daa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434abd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x444080]
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
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x43ea9c
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.0040be30
cmp dword [ebp - 0x18], 0
jne 0x40dbc8
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, 0xf
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp + 8]
mov byte [ebp + 8], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], eax
cmp ecx, eax
jbe 0x40db78
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40db6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc9a
push ecx
push edx
call fcn.00414546
mov eax, dword [ebp + 0x1c]
add esp, 8
cmp eax, 0xf
jbe 0x40dbab
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dba1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc9a
push ecx
push edx
call fcn.00414546
add esp, 8
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.004141fd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
xor edi, edi
cmp dword [ebp + 0x18], edi
jbe 0x40dc02
mov esi, ecx
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, edi
cmova ecx, esi
xor edx, edx
div dword [ebp - 0x18]
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
mov cl, byte [edx + ecx]
xor byte [eax + edi], cl
inc edi
cmp edi, dword [ebp + 0x18]
jb 0x40dbd4
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, 0xf
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp + 8]
mov byte [ebp + 8], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], eax
cmp edx, eax
jbe 0x40dc69
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc5c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc9a
push edx
push ecx
call fcn.00414546
mov eax, dword [ebp + 0x1c]
add esp, 8
cmp eax, 0xf
jbe 0x40dbab
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dba1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40dba1
call fcn.0041d143
int3
Function at 0x410900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41095b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41095b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x410948
cmp esi, edx
jae 0x41095b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x410936
cmp esi, edx
jae 0x41095b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4111e0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434e76
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x444080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp + 0x1c]
lea esi, [ebp + 8]
cmp edx, 0xf
mov dword [ebp - 0x18], 1
cmova esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
cmp edx, 0xf
cmova ecx, dword [ebp + 8]
add eax, ecx
cmp esi, eax
je 0x411337
mov al, byte [esi]
cmp al, 0x30
jl 0x411277
cmp al, 0x39
jle 0x4112ef
cmp al, 0x61
jl 0x41127f
cmp al, 0x7a
jle 0x4112ef
cmp al, 0x41
jl 0x411287
cmp al, 0x5a
jle 0x4112ef
cmp al, 0x5f
je 0x4112ef
cmp al, 0xa
je 0x4112ef
cmp al, 0x2e
je 0x4112ef
cmp al, 0x3a
je 0x4112ef
cmp al, 0x20
je 0x4112ef
cmp al, 0x3c
je 0x4112ef
cmp al, 0x3e
je 0x4112ef
cmp al, 0x28
je 0x4112ef
cmp al, 0x29
je 0x4112ef
cmp al, 0x2f
je 0x4112ef
cmp al, 0x5c
je 0x4112ef
cmp al, 0x40
je 0x4112ef
cmp al, 0x21
je 0x4112ef
cmp al, 0x23
je 0x4112ef
cmp al, 0x24
je 0x4112ef
cmp al, 0x25
je 0x4112ef
cmp al, 0x3b
je 0x4112ef
cmp al, 0x3f
je 0x4112ef
cmp al, 0x5b
je 0x4112ef
cmp al, 0x5d
je 0x4112ef
cmp al, 0x7b
je 0x4112ef
cmp al, 0x7d
je 0x4112ef
cmp al, 0x22
je 0x4112ef
cmp al, 0x3d
je 0x4112ef
cmp al, 0x26
je 0x4112ef
cmp al, 0x5e
jne 0x411331
mov edx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp edx, dword [edi + 0x14]
jae 0x41131b
cmp dword [edi + 0x14], 0xf
lea ecx, [edx + 1]
mov dword [edi + 0x10], ecx
mov ecx, edi
jbe 0x41130a
mov ecx, dword [edi]
mov byte [ecx + edx], al
inc esi
mov byte [ecx + edx + 1], 0
mov edx, dword [ebp + 0x1c]
jmp 0x411256
push dword [ebp - 0x10]
mov byte [ebp - 0x14], 0
mov ecx, edi
push dword [ebp - 0x14]
push 1
call fcn.0040bf20
mov edx, dword [ebp + 0x1c]
inc esi
jmp 0x411256
cmp edx, 0xf
jbe 0x411366
lea ecx, [edx + 1]
mov edx, dword [ebp + 8]
mov eax, edx
cmp ecx, 0x1000
jb 0x41135c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411379
push ecx
push edx
call fcn.00414546
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041d143
int3
Function at 0x411380
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434ead
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x444080]
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
mov dword [ebp - 0x2c], esi
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x2c], esi
push str.None
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.0040be30
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x411445
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040a350
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x411428
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41141e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4114c2
push ecx
push edx
call fcn.00414546
add esp, 8
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.004141fd
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4113e9
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x4113e9
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411468
sub ecx, dword [ebp - 0x2c]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004103d0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040a350
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x411428
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41141e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41141e
call fcn.0041d143
int3
Function at 0x412350
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.004151a0
mov eax, dword [0x444080]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x4124d0
mov eax, dword [ebp - 0x110c]
shr eax, 2
push edi
xor edi, edi
mov dword [ebp - 0x110c], eax
mov dword [ebp - 0x1118], edi
test eax, eax
je 0x4124cf
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov si, word [0x43eb0c]
nop word [eax + eax]
movq xmm0, qword [str._unknown_]
lea eax, [ebp - 0xfe]
push 0xfa
push 0
push eax
movq qword [ebp - 0x108], xmm0
mov word [ebp - 0x100], si
call fcn.00415f80
mov eax, dword [ebp + edi*4 - 0x1108]
add esp, 0xc
test eax, eax
je 0x4124b2
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4124ab
lea eax, [ebp - 0x1110]
push eax
push 4
lea eax, [ebp - 0x1114]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x4124ab
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x1114]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
lea ecx, [ebp - 0x108]
cmova eax, dword [ebp + 8]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x412480
test dl, dl
je 0x41247c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x412480
add ecx, 2
add eax, 2
test dl, dl
jne 0x412460
xor eax, eax
jmp 0x412485
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4124ab
nop dword [eax]
push 0x64
push edi
call ebx
push 0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
je 0x412490
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov si, word [0x43eb0c]
mov eax, dword [ebp - 0x1118]
inc eax
mov edi, eax
mov dword [ebp - 0x1118], eax
cmp eax, dword [ebp - 0x110c]
jb 0x4123c0
pop esi
pop ebx
pop edi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x412500
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4124f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41250e
push ecx
push edx
call fcn.00414546
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004141fd
mov esp, ebp
pop ebp
ret
call fcn.0041d143
int3
Function at 0x412520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x444080]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0x44
push eax
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004141fd
mov esp, ebp
pop ebp
ret

Function at 0x414f2c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x414f6b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414f6b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414f6b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x414f6b
cmp dword [ecx + 0x74], 0xe
jbe 0x414f6b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x424b35
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a204
push 0x43a1fc
push str.FlsAlloc
push 0x1f
call fcn.00424960
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424b69
push dword [ebp + 8]
mov ecx, esi
call dword [0x4362e4]
call esi
jmp 0x424b6f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x424bb3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a214
push 0x43a20c
push str.FlsGetValue
push 0x21
call fcn.00424960
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424bea
push dword [ebp + 8]
mov ecx, esi
call dword [0x4362e4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x424bf2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a21c
push 0x43a214
push str.FlsSetValue
push 0x22
call fcn.00424960
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424c2c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4362e4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4267b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004151a0
mov eax, dword [0x444080]
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.00422b08
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4267f4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x426950
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004333e0
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 + 0x445e90]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004275b3
mov ecx, dword [esi*4 + 0x445e90]
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 0x426949
cmp eax, dword [ecx + edi + 0x24]
jne 0x426949
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 0x426949
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004275b3
add esp, 0x14
test edx, edx
jl 0x426949
jg 0x4268bf
test eax, eax
jb 0x426949
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x426949
jl 0x4268d9
cmp dword [ebp - 0x1008], eax
ja 0x426949
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4268f7
test ebx, ebx
je 0x426930
cmp ecx, edi
jae 0x426930
mov al, byte [ecx]
cmp al, 0xd
jne 0x426911
lea eax, [edi - 1]
cmp ecx, eax
jae 0x42691d
cmp byte [ecx + 1], 0xa
jne 0x42691d
inc ecx
jmp 0x42691d
movzx eax, al
movsx eax, byte [eax + 0x444328]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4268f7
cmp edx, ebx
jne 0x4268f7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x42694e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004141fd
leave
ret
Function at 0x426a4b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x445e90]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x426a8b
cmp byte [ebx], 0xa
jne 0x426a8b
or byte [edi + eax + 0x28], 4
jmp 0x426a90
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x426b8f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x426b72
inc eax
cmp dl, 0xd
je 0x426abc
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x426ae2
cmp eax, ecx
jae 0x426af0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x426aa4
jmp 0x426b8f
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x426b6d
cmp dword [ebp - 0x10], 0
je 0x426b6d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x445e90]
test byte [eax + edi + 0x28], 0x48
je 0x426b47
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x426b32
mov byte [esi], dl
jmp 0x426b43
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x445e90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x426b8f
cmp byte [ebp - 1], 0xa
jne 0x426b56
cmp esi, ebx
jne 0x426b56
mov byte [esi], 0xa
jmp 0x426b8e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004275d1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x426b8f
mov byte [esi], 0xd
jmp 0x426b8e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x445e90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x426b8c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x426b8f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret