joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b200
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e4c5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x44d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00408b80
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40b293
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [edi + 8], 0x15555555
je 0x40b3e1
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0042c288
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4438c0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4438c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40b383
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.msvcrt.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0042c560
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x40b365
cmp ebx, 0x200
jae 0x40b363
shl ebx, 3
cmp ebx, ecx
jae 0x40b365
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00414220
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00408b80
mov edx, dword [eax]
jmp 0x40b386
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x40b3b1
mov dword [ecx + eax*8], esi
jmp 0x40b3c0
cmp edi, edx
jne 0x40b3ba
mov dword [ecx + eax*8], esi
jmp 0x40b3c4
cmp dword [ecx + eax*8 + 4], ebx
jne 0x40b3c4
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0042a7b5
int3
Function at 0x40ef80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eab0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0042c288
mov edi, eax
add esp, 4
test edi, edi
je 0x40f02d
push 1
mov dword [ebp - 4], 0
call fcn.0042a9d1
add esp, 4
mov dword [edi + 4], eax
jmp 0x40f02f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.004031d0
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x44dae8]
mov ecx, dword [0x44daec]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 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 0x40ff60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ecbd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x44d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.00406dc0
mov edi, eax
cmp edi, 0x44db28
je 0x40fff7
mov esi, dword [0x44db28]
mov ecx, 0x44db28
push dword [esi + 4]
push 0x44db28
call fcn.00408630
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov ecx, dword [0x44db28]
mov dword [0x44db2c], 0
mov eax, dword [edi]
mov dword [0x44db28], eax
mov eax, dword [edi + 4]
mov dword [edi], ecx
mov ecx, dword [0x44db2c]
mov dword [0x44db2c], eax
mov dword [edi + 4], ecx
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00408630
push 0x40
push dword [ebp - 0x18]
call fcn.0042c2b8
add esp, 8
lea ecx, [ebp - 0x20]
push dword [ebp - 0x10]
call fcn.0040f0d0
mov cl, byte [0x44db18]
mov al, byte [ebp - 0x20]
mov edx, dword [0x44db20]
mov esi, dword [0x44db24]
mov byte [ebp - 0x10], cl
mov byte [0x44db18], al
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x20], cl
mov ecx, dword [ebp - 0x14]
mov dword [0x44db20], eax
mov dword [0x44db24], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00415dc0
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
mov byte [ebp - 4], 0
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.Luna_Start
push edi
call esi
push str.Luna_EmbedSettings
push edi
mov dword [0x44db00], eax
call esi
push str.Luna_Inject
push edi
mov dword [0x44db08], eax
call esi
push str.Luna_useembed
push edi
mov dword [0x44db04], eax
call esi
push str.Luna_embedcallback
push edi
mov dword [0x44db0c], eax
call esi
push 0
push 0x64
push 0
push 0
mov dword [0x44db10], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0x406a90
push 0x406ad0
push 0
push 0
push 0
push 0
push 0x406ac0
push 0x406a80
mov dword [0x44db14], eax
call dword [0x44db00]
mov ecx, dword [ebp + 0x1c]
add esp, 0x24
cmp ecx, 7
jbe 0x410135
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41012b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41014b
push ecx
push edx
call fcn.0042c2b8
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.0042d480
int3
Function at 0x412360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
push esi
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x44db38
xor eax, edx
imul esi, eax, 0x1000193
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00408b80
mov edx, dword [eax + 4]
test edx, edx
je 0x412412
mov ecx, dword [0x44db50]
mov eax, dword [0x44db44]
and ecx, esi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x4123ec
cmp eax, edx
jne 0x4123e4
mov eax, dword [0x44db3c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4123f4
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x4123f4
cmp eax, edx
jne 0x4123f4
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [0x44db40]
mov eax, dword [edx + 4]
push 0xc
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.0042c2b8
add esp, 8
push 0
push 1
push dword [0x44db14]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x414220
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x41436c
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00413bc0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x414347
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, edx
mov edx, dword [edi + 0xc]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp + 8], ebx
cmp esi, dword [ebp - 8]
jne 0x4142d4
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x41433c
mov edx, dword [ebx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x41430b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x414306
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x414339
cmp esi, edx
je 0x41431c
nop
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x414350
cmp esi, edx
jne 0x414310
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, dword [ebp - 8]
jne 0x414282
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x414339
push str.invalid_hash_bucket_count
call fcn.0042a7b5
int3
Function at 0x418990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f56d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x44d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0042c288
mov edi, eax
add esp, 4
test edi, edi
je 0x418a2d
push 1
mov dword [ebp - 4], 0
call fcn.0042a9d1
add esp, 4
mov dword [edi + 4], eax
jmp 0x418a2f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.004018f0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x418a8a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x418a8a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x418aa6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x418ac9
cmp byte [ebp + 0xc], 0
je 0x418ab5
push esi
call fcn.0042ae2e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x418ad5
mov esi, str.ios_base::badbit_set
jmp 0x418ae5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004041c0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00402500
push 0x448ac0
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x41f520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x44df78], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x41f566
cmp edi, dword [0x44e398]
jne 0x41f561
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c160
mov esp, ebp
pop ebp
ret
call fcn.0041f9d0
call fcn.0041f750
test eax, eax
jne 0x41f57f
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c160
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44db5c]
push esi
test eax, eax
je 0x41f72c
cmp dword [0x44df70], 0
je 0x41f72c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEngine
push eax
call esi
mov dword [0x44e39c], eax
test eax, eax
je 0x41f72c
push str.DestroyEngine
push dword [0x44db5c]
call esi
mov dword [0x44e3a0], eax
test eax, eax
je 0x41f72c
push str.TranslatePair
push dword [0x44db5c]
call esi
mov dword [0x44e3a4], eax
test eax, eax
je 0x41f72c
push str.FreeAtlasData
push dword [0x44db5c]
call esi
mov dword [0x44e3b0], eax
test eax, eax
je 0x41f72c
push str.AtlInitEngineData
push dword [0x44db5c]
call esi
mov dword [0x44e3a8], eax
test eax, eax
je 0x41f72c
push str.SetTransState
push dword [0x44db5c]
call esi
mov dword [0x44e3ac], eax
test eax, eax
je 0x41f72c
push str.AwuWordDel
push dword [0x44df70]
call esi
mov dword [0x44db58], eax
test eax, eax
je 0x41f72c
lea ecx, [ebx + 0x20c]
lea edx, [ebp - 0x414]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41f660
lea eax, [ebp - 0x414]
push 0x5c
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x41f68c
xor ecx, ecx
mov word [eax], cx
jmp 0x41f6b2
mov eax, dword [0x443b90]
movups xmm0, xmmword [str.Rule_Sets_]
mov dword [ebp - 0x404], eax
mov ax, word [0x443b94]
movups xmmword [ebp - 0x414], xmm0
mov word [ebp - 0x400], ax
push 0
push 0
push 0x410
lea eax, [ebp - 0x414]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x41f72c
push 0x44f358
push 0
push 0x44e3b8
push 2
push 0
call dword [0x44e3a8]
add esp, 0x14
test eax, eax
jne 0x41f72c
lea eax, [ebp - 0x414]
push eax
push 0
push edi
push 1
call dword [0x44e39c]
add esp, 0x10
cmp eax, 1
jne 0x41f72c
pop esi
mov dword [0x44e398], edi
pop edi
mov dword [0x44df78], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c160
mov esp, ebp
pop ebp
ret
call fcn.0041f9d0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0042c160
mov esp, ebp
pop ebp
ret
Function at 0x428a60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x428a87
push 0x57
jmp 0x428b13
push 0x1c
lea eax, [ebp - 0x60]
mov dword [ebp - 0x48], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x428b19
push 0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x428b19
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
jne 0x428b0e
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x54]
ja 0x428b0e
cmp eax, 0x40
jb 0x428b0e
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x428b19
cmp dword [ebx], 0x4550
jne 0x428b0e
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c160
mov esp, ebp
pop ebp
ret 0xc
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c160
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429550
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x34]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x429575
xorps xmm0, xmm0
lea edi, [ebp - 0x10]
movups xmmword [ebp - 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4295a3
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
push ebx
mov ebx, dword [ebp + 0x30]
lea eax, [ebp + 0x34]
push 1
push eax
push dword [edi]
mov dword [ebp + 0x34], ebx
call fcn.004298d0
test eax, eax
jne 0x4295f5
push esi
lea eax, [ebp + 0x34]
mov dword [ebp + 0x34], ebx
push eax
push 1
push dword [edi + 8]
call fcn.00429630
test eax, eax
jne 0x4295f5
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x30
test byte [ebp + 0x1c], 4
jne 0x429604
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x10]
cmp edi, eax
jne 0x42961a
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x30
Function at 0x42b0a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x42b0cf
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x42b0d2
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0042b084
pop esi
leave
ret 8

Function at 0x42b51e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42b53d
mov byte [ebp - 8], 1
mov edx, ebx
jmp 0x42b574
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov esi, 0xb7
cmp edx, esi
jne 0x42b570
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.0042b6c4
mov edx, eax
test edx, edx
jne 0x42b570
mov eax, dword [ebp - 0x18]
shr eax, 4
test al, 1
cmove edx, esi
mov byte [ebp - 8], bl
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret 4

Function at 0x42bf10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x42bf45
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x42bf42
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x42bf4e
add edx, 0x28
cmp edx, esi
jne 0x42bf30
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x42bf4b

Function at 0x42cf32
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x42d4d7
mov ecx, 5
int 0x29
push 2
call fcn.0042cfd6
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x42d5e2
test esi, esi
jne 0x42d5e2
push 2
call fcn.0042cfd6
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042c160
mov esp, ebp
pop ebp
ret