joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423e40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44b368], 0
push esi
jne 0x423db3
call fcn.00423cd9
test eax, eax
je 0x423df6
mov eax, dword [0x44b368]
cmp eax, 1
jne 0x423dd4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x423df6
pop esi
ret
push eax
call dword [0x44b370]
test eax, eax
jne 0x423e3e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x423dfa
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x44b368]
call dword [0x44b370]
mov edi, eax
test edi, edi
je 0x423e1f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x423e3b
mov edi, esi
add esi, 0xff0
push edi
push dword [0x44b368]
call dword [0x44b36c]
add edi, 0x10
cmp edi, esi
jb 0x423e27
mov eax, edi
pop edi
pop esi
ret
jmp 0x423da0

Function at 0x426e9b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448fb8]
jne 0x426ea5
repz ret
jmp fcn.0042ece6

Function at 0x42d02d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004280f5
and dword [ebp - 4], 0
cmp dword [0x44b970], 0
mov ebx, eax
jne 0x42d0de
push 0x4403c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42d18f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x42d18f
push eax
call fcn.00428083
mov dword [esp], 0x4403a8
push edi
mov dword [0x44b970], eax
call esi
push eax
call fcn.00428083
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b974], eax
call esi
push eax
call fcn.00428083
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x44b978], eax
call esi
push eax
call fcn.00428083
pop ecx
mov dword [0x44b980], eax
test eax, eax
je 0x42d0de
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428083
pop ecx
mov dword [0x44b97c], eax
mov eax, dword [0x44b97c]
cmp eax, ebx
je 0x42d136
cmp dword [0x44b980], ebx
je 0x42d136
push eax
call fcn.004280fe
push dword [0x44b980]
mov esi, eax
call fcn.004280fe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42d136
test edi, edi
je 0x42d136
call esi
test eax, eax
je 0x42d12d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42d12d
test byte [ebp - 0xc], 1
jne 0x42d136
or dword [ebp + 0x10], 0x200000
jmp 0x42d16f
mov eax, dword [0x44b974]
cmp eax, ebx
je 0x42d16f
push eax
call fcn.004280fe
pop ecx
test eax, eax
je 0x42d16f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42d16f
mov eax, dword [0x44b978]
cmp eax, ebx
je 0x42d16f
push eax
call fcn.004280fe
pop ecx
test eax, eax
je 0x42d16f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b970]
call fcn.004280fe
pop ecx
test eax, eax
je 0x42d18f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42d191
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430e5a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004280f5
and dword [ebp - 4], 0
cmp dword [0x44bdd8], 0
mov ebx, eax
jne 0x430f0b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x430fbc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x430fbc
push eax
call fcn.00428083
mov dword [esp], 0x4403a8
push edi
mov dword [0x44bdd8], eax
call esi
push eax
call fcn.00428083
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44bddc], eax
call esi
push eax
call fcn.00428083
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44bde0], eax
call esi
push eax
call fcn.00428083
pop ecx
mov dword [0x44bde8], eax
test eax, eax
je 0x430f0b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428083
pop ecx
mov dword [0x44bde4], eax
mov eax, dword [0x44bde4]
cmp eax, ebx
je 0x430f63
cmp dword [0x44bde8], ebx
je 0x430f63
push eax
call fcn.004280fe
push dword [0x44bde8]
mov esi, eax
call fcn.004280fe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x430f63
test edi, edi
je 0x430f63
call esi
test eax, eax
je 0x430f5a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430f5a
test byte [ebp - 0xc], 1
jne 0x430f63
or dword [ebp + 0x10], 0x200000
jmp 0x430f9c
mov eax, dword [0x44bddc]
cmp eax, ebx
je 0x430f9c
push eax
call fcn.004280fe
pop ecx
test eax, eax
je 0x430f9c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x430f9c
mov eax, dword [0x44bde0]
cmp eax, ebx
je 0x430f9c
push eax
call fcn.004280fe
pop ecx
test eax, eax
je 0x430f9c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44bdd8]
call fcn.004280fe
pop ecx
test eax, eax
je 0x430fbc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x430fbe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40bb9d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40bba7
repz ret
jmp fcn.0040bf1f

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x58ce70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10f000]
push edi
or ebp, 0xffffffff
jmp 0x58ce92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x58ce99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58ce88
mov eax, 1
add ebx, ebx
jne 0x58ceab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58cebc
jne 0x58cecc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58cecc
dec eax
add ebx, ebx
jne 0x58cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x58cea0
xor ecx, ecx
sub eax, 3
jb 0x58cee4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58cf56
sar eax, 1
mov ebp, eax
jmp 0x58ceef
add ebx, ebx
jne 0x58ceef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x58cefc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x58cf20
inc ecx
add ebx, ebx
jne 0x58cf0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58cf01
jne 0x58cf1d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58cf01
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58cf40
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58cf31
jmp 0x58ce8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58cf40
add edi, ecx
jmp 0x58ce8e
pop esi
mov edi, esi
mov ecx, 0x60fd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58cf5e
cmp byte [edi], 0x2d
jne 0x58cf5e
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 eax, ebx
loop 0x58cf63
lea edi, [esi + 0x188000]
mov eax, dword [edi]
or eax, eax
je 0x58cfdb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18e46c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18e5ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x58cf90
mov ecx, edi
jns 0x58cfbf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18e5b0]
or eax, eax
je 0x58cfd5
mov dword [ebx], eax
add ebx, 4
jmp 0x58cfad
call dword [esi + 0x18e5b4]
popal
jmp 0x4bc69a

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x7ca50e07
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x1aac369e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4ee5ff
Capabilities:
Parse pe header

Disassembly:
rep movsb byte es:[edi], byte [esi]
jmp 0x4ee613
push esi
jmp 0x4ee62a
call 0x4ee5ff
mov edi, 0x8d240487
xor byte [eax + eax], 0
add byte [edi + 0x25eb2404], al
daa
xor al, 0xce
jo 0x4ee639
popal
pop esi
jmp 0x4ee938
mov esi, edi
jmp 0x4eeab8
salc
mov eax, ebp
jmp 0x4ee89c
mov bl, 1
jmp 0x4ee493
jmp 0x4ee5df
sub esi, eax
jmp 0x4ee40d
xchg dword [esp], eax
lea eax, [eax + 0x115]
xchg dword [esp], eax
jmp 0x4ee5f9
Function at 0x403580
Capabilities:
Terminate process

Disassembly:
jmp 0x467b64
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x467b75
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405803
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4036a2
Capabilities:
Query environment variable

Disassembly:
jmp 0x4af271
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4af282
pop esi
ret
push ebx
push edi
push esi
call fcn.004af158
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403f2b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4af2aa
push ebx
push esi
push edi
call fcn.004055f6
add esp, 0xc
push 0
call fcn.00406127
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4056b4
Capabilities:
Parse pe header

Disassembly:
jmp 0x45752f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45756e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45756e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45756e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x45756e
cmp dword [ecx + 0x74], 0xe
jbe 0x45756e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4284d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4e0040]
xor eax, ebp
mov dword [ebp - 4], eax
vmovdqu ymm6, ymmword [0x4ccf80]
vmovsd xmm2, qword [0x4ccdb0]
push esi
mov esi, dword [ebx + 8]
mov eax, esi
push edi
mov edi, dword [ebx + 0xc]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x44], esi
vmovupd ymm3, ymmword [esi]
and ecx, 0xffffffe0
add ecx, esi
add esi, 0x20
vpxor xmm5, xmm5, xmm5
vmovupd ymmword [ebp - 0x80], ymm3
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovdqu ymm4, ymm6
cmp esi, ecx
je 0x42856b
nop dword [eax]
vmovupd ymm1, ymmword [esi]
vcmpgt_oqpd ymm0, ymm3, ymm1
add esi, 0x20
vpblendvb ymm5, ymm5, ymm4, ymm0
vminpd ymm3, ymm1, ymm3
vpaddq ymm4, ymm6, ymm4
cmp esi, ecx
jne 0x428540
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovupd ymmword [ebp - 0x80], ymm3
vshufpd ymm0, ymm3, ymm3, 5
vminpd ymm1, ymm0, ymm3
vpermpd ymm0, ymm1, 0x4e
vminpd ymm0, ymm0, ymm1
vcomisd xmm2, xmm0
vmovupd ymmword [ebp - 0x40], ymm0
jbe 0x4285f5
vmovsd qword [ebp - 0x50], xmm0
vcmpeqpd ymm1, ymm0, ymm3
vmovdqu ymm0, ymmword [0x4cd240]
vpblendvb ymm0, ymm0, ymm5, ymm1
vmovdqu ymmword [ebp - 0xc0], ymm0
call fcn.00435150
vpcmpeqq ymm0, ymm0, ymmword [ebp - 0xc0]
vmovupd ymm2, ymmword [ebp - 0x40]
vpmovmskb ecx, ymm0
vcmpeqpd ymm0, ymm2, ymmword [ebp - 0x80]
vpmovmskb eax, ymm0
vmovdqu ymm0, ymmword [ebp - 0xa0]
and ecx, eax
vmovsd xmm2, qword [ebp - 0x50]
bsf ecx, ecx
vmovdqu ymmword [ebp - 0x40], ymm0
mov eax, ecx
mov dword [ebp - 0x48], ecx
shr eax, 3
mov eax, dword [ebp + eax*8 - 0x40]
shl eax, 5
add eax, ecx
add eax, dword [ebp - 0x44]
vzeroupper
cmp esi, edi
je 0x428616
nop dword [eax]
movsd xmm0, qword [esi]
comisd xmm2, xmm0
jbe 0x42860f
mov eax, esi
movaps xmm2, xmm0
add esi, 8
cmp esi, edi
jne 0x428600
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403003
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x429e80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4e0040]
xor eax, ebp
mov dword [ebp - 4], eax
vmovdqu ymm6, ymmword [0x4ccf80]
vmovsd xmm2, qword [0x4ccdc0]
push esi
mov esi, dword [ebx + 8]
mov eax, esi
push edi
mov edi, dword [ebx + 0xc]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x44], esi
vmovupd ymm3, ymmword [esi]
and ecx, 0xffffffe0
add ecx, esi
add esi, 0x20
vpxor xmm5, xmm5, xmm5
vmovupd ymmword [ebp - 0x80], ymm3
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovdqu ymm4, ymm6
cmp esi, ecx
je 0x429f1b
nop dword [eax]
vmovupd ymm1, ymmword [esi]
vcmpgt_oqpd ymm0, ymm1, ymm3
add esi, 0x20
vpblendvb ymm5, ymm5, ymm4, ymm0
vmaxpd ymm3, ymm1, ymm3
vpaddq ymm4, ymm6, ymm4
cmp esi, ecx
jne 0x429ef0
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovupd ymmword [ebp - 0x80], ymm3
vshufpd ymm0, ymm3, ymm3, 5
vmaxpd ymm1, ymm0, ymm3
vpermpd ymm0, ymm1, 0x4e
vmaxpd ymm0, ymm0, ymm1
vcomisd xmm0, xmm2
vmovupd ymmword [ebp - 0x40], ymm0
jbe 0x429fa5
vmovsd qword [ebp - 0x50], xmm0
vcmpeqpd ymm1, ymm0, ymm3
vmovdqu ymm0, ymmword [0x4cd240]
vpblendvb ymm0, ymm0, ymm5, ymm1
vmovdqu ymmword [ebp - 0xc0], ymm0
call fcn.00435150
vpcmpeqq ymm0, ymm0, ymmword [ebp - 0xc0]
vmovupd ymm2, ymmword [ebp - 0x40]
vpmovmskb ecx, ymm0
vcmpeqpd ymm0, ymm2, ymmword [ebp - 0x80]
vpmovmskb eax, ymm0
vmovdqu ymm0, ymmword [ebp - 0xa0]
and ecx, eax
vmovsd xmm2, qword [ebp - 0x50]
bsf ecx, ecx
vmovdqu ymmword [ebp - 0x40], ymm0
mov eax, ecx
mov dword [ebp - 0x48], ecx
shr eax, 3
mov eax, dword [ebp + eax*8 - 0x40]
shl eax, 5
add eax, ecx
add eax, dword [ebp - 0x44]
vzeroupper
cmp esi, edi
je 0x429fc6
nop dword [eax]
movsd xmm0, qword [esi]
comisd xmm0, xmm2
jbe 0x429fbf
mov eax, esi
movaps xmm2, xmm0
add esi, 8
cmp esi, edi
jne 0x429fb0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403003
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x455220
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00403701
mov eax, dword [eax + 0x14]
test eax, eax
je 0x455263
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x455263
sub eax, 1
je 0x45525e
sub eax, 1
je 0x45525a
xor eax, eax
leave
ret
push 3
jmp 0x455265
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x4560c3
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 0x4560f8
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4560f5
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x456101
add edx, 0x28
cmp edx, esi
jne 0x4560e3
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4560fe

Function at 0x49af37
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d6b
mov eax, dword [0x4e0040]
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.00405d4e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4a6449
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4a65a5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405e9d
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 + 0x4e3960]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0040321f
mov ecx, dword [esi*4 + 0x4e3960]
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 0x4a659e
cmp eax, dword [ecx + edi + 0x24]
jne 0x4a659e
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 0x4a659e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040321f
add esp, 0x14
test edx, edx
jl 0x4a659e
jg 0x4a6514
test eax, eax
jb 0x4a659e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4a659e
jl 0x4a652e
cmp dword [ebp - 0x1008], eax
ja 0x4a659e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4a654c
test ebx, ebx
je 0x4a6585
cmp ecx, edi
jae 0x4a6585
mov al, byte [ecx]
cmp al, 0xd
jne 0x4a6566
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4a6572
cmp byte [ecx + 1], 0xa
jne 0x4a6572
inc ecx
jmp 0x4a6572
movzx eax, al
movsx eax, byte [eax + 0x4e03a8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4a654c
cmp edx, ebx
jne 0x4a654c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4a65a3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403003
leave
ret
Function at 0x4a6ce4
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 + 0x4e3960]
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 0x4a6d24
cmp byte [ebx], 0xa
jne 0x4a6d24
or byte [edi + eax + 0x28], 4
jmp 0x4a6d29
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 0x4a6e28
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4a6e0b
inc eax
cmp dl, 0xd
je 0x4a6d55
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4a6d7b
cmp eax, ecx
jae 0x4a6d89
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 0x4a6d3d
jmp 0x4a6e28
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 0x4a6e06
cmp dword [ebp - 0x10], 0
je 0x4a6e06
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4e3960]
test byte [eax + edi + 0x28], 0x48
je 0x4a6de0
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a6dcb
mov byte [esi], dl
jmp 0x4a6ddc
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e3960]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a6e28
cmp byte [ebp - 1], 0xa
jne 0x4a6def
cmp esi, ebx
jne 0x4a6def
mov byte [esi], 0xa
jmp 0x4a6e27
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401906
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a6e28
mov byte [esi], 0xd
jmp 0x4a6e27
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4e3960]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a6e25
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a6e28
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret