joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55fe10
Capabilities:
Hash data using murmur3

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x14]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
lea eax, [ecx + edx]
mov dword [esp + 4], eax
cmp dword [esp + 0xc], 0x10
jl 0x55feef
mov edx, dword [esp + 4]
lea ebx, [edx - 0x10]
mov edx, dword [esp + 8]
mov dword [esp + 0x10], edx
sub edx, 0x7a143589
lea eax, [edx - 0x61c8864f]
mov ecx, dword [esp + 0x10]
add ecx, 0x61c8864f
mov edi, dword [esp]
mov esi, dword [edi]
imul esi, esi, 0x85ebca77
add esi, eax
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov eax, esi
mov esi, dword [esp]
mov edi, dword [esi + 4]
imul edi, edi, 0x85ebca77
lea esi, [edi + edx]
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov edx, esi
mov edi, dword [esp]
mov esi, dword [edi + 8]
imul esi, esi, 0x85ebca77
add esi, dword [esp + 0x10]
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov dword [esp + 0x10], esi
mov esi, dword [esp]
mov edi, dword [esi + 0xc]
imul edi, edi, 0x85ebca77
lea esi, [edi + ecx]
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov ecx, esi
add dword [esp], 0x10
cmp ebx, dword [esp]
jae 0x55fe60
mov ebx, eax
rol ebx, 1
mov eax, edx
rol eax, 7
add eax, ebx
mov edx, dword [esp + 0x10]
rol edx, 0xc
add edx, eax
mov eax, ecx
rol eax, 0x12
add edx, eax
jmp 0x55fef9
mov eax, dword [esp + 8]
lea edx, [eax + 0x165667b1]
add edx, dword [esp + 0xc]
jmp 0x55ff1e
mov ecx, dword [esp]
mov eax, dword [ecx]
imul eax, eax, 0xc2b2ae3d
add edx, eax
mov eax, edx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov edx, eax
add dword [esp], 4
mov eax, dword [esp]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 4]
jbe 0x55ff00
jmp 0x55ff4f
mov eax, dword [esp]
movzx ecx, byte [eax]
imul ecx, ecx, 0x165667b1
add edx, ecx
mov eax, edx
rol eax, 0xb
imul eax, eax, 0x9e3779b1
mov edx, eax
add dword [esp], 1
mov eax, dword [esp + 4]
cmp eax, dword [esp]
ja 0x55ff30
mov eax, edx
shr eax, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae3d
mov eax, edx
shr eax, 0x10
xor eax, edx
lea esp, [esp + 0x14]
pop edi
pop esi
pop ebx
ret
Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
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 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
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 + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x408951
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
add esi, 0xd6d01f00
call fcn.00408971
dec esi
dec edi
xor dword [edx], ecx
push 0x9c3b0a7e
pop esi
inc edx
cmp edx, eax
jne fcn.00408951
ret
Function at 0x259d954
Capabilities:
Encode data using xor

Disassembly:
jmp 0x259d95e
pushal
call 0x259d964
pop ebp
sub ebp, 0x10
sub ebp, 0x219d954
jmp 0x259d97a
mov eax, 0x219d954
add eax, ebp
add eax, 0x4c
mov ecx, 0x5aa
mov edx, 0x7ecc3501
xor byte [eax], dl
inc eax
dec ecx
jne 0x259d991
jmp 0x259d9a4
mov cl, ah
mov cl, byte [eax + 0x101013d]
add al, 0xf9
add dword [ecx], eax
add dword [edx], eax
int3
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x91dd80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4c0000]
push edi
jmp 0x91dd9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x91dda1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91dd90
mov eax, 1
add ebx, ebx
jne 0x91ddb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x91ddc4
jne 0x91dde3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91dde3
dec eax
add ebx, ebx
jne 0x91ddd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x91dda8
add ebx, ebx
jne 0x91dddf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x91de35
xor ecx, ecx
sub eax, 3
jb 0x91ddfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x91de6a
sar eax, 1
mov ebp, eax
jmp 0x91de06
add ebx, ebx
jne 0x91de06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91ddd4
inc ecx
add ebx, ebx
jne 0x91de14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91ddd4
add ebx, ebx
jne 0x91de21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x91de16
jne 0x91de32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91de16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x91de54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x91de46
jmp 0x91dd96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x91de54
add edi, ecx
jmp 0x91dd96
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x91de72
cmp byte [edi], 0x11
jne 0x91de72
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 0x91de77
lea edi, [esi + 0x516000]
mov eax, dword [edi]
or eax, eax
je 0x91deef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x956bec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x956d68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x91dea4
mov ecx, edi
jns 0x91ded3
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 + 0x956d6c]
or eax, eax
je 0x91dee9
mov dword [ebx], eax
add ebx, 4
jmp 0x91dec1
call dword [esi + 0x956d7c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x91df20
cmp al, 0xef
ja 0x91df13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x91def5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x91df02
mov ebp, dword [esi + 0x956d70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x91df54
sub esp, 0xffffff80
jmp 0x420577
Function at 0x40de35
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40de52
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40de4a
cmp cl, byte [edx]
jne 0x40de8d
push esi
push edx
push 0xffffffffffffffff
call fcn.00406773
not eax
mov ecx, ebx
cmp dword [ecx + 0x440044], eax
jne 0x40de73
cmp dword [ecx + 0x440040], esi
je 0x40de7e
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40de63
jmp 0x40de8d
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x440048]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc

Function at 0x40f9c5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ecx
push ebx
push ebp
xor ebp, ebp
push edi
mov ecx, ebp
movzx eax, byte [ecx + 0x440098]
mov byte [eax + 0x4470f0], cl
inc ecx
cmp ecx, 0x100
jl 0x40f9ce
mov al, byte [ebp + 0x440098]
mov byte [esp + 0x10], al
push 2
push dword [esp + 0x14]
mov byte [ebp*4 + 0x447df1], al
mov byte [ebp*4 + 0x447df0], al
mov byte [ebp*4 + 0x4479f3], al
mov byte [ebp*4 + 0x4479f0], al
mov byte [ebp*4 + 0x4475f3], al
mov byte [ebp*4 + 0x4475f2], al
mov byte [ebp*4 + 0x4471f2], al
mov byte [ebp*4 + 0x4471f1], al
call fcn.0041020a
push 3
push dword [esp + 0x14]
mov byte [ebp*4 + 0x447df3], al
mov byte [ebp*4 + 0x4479f2], al
mov byte [ebp*4 + 0x4475f1], al
mov byte [ebp*4 + 0x4471f0], al
call fcn.0041020a
mov bl, byte [ebp + 0x4470f0]
push 0xb
mov byte [esp + 0x10], bl
push dword [esp + 0x10]
mov byte [ebp*4 + 0x447df2], al
mov byte [ebp*4 + 0x4479f1], al
mov byte [ebp*4 + 0x4475f0], al
mov byte [ebp*4 + 0x4471f3], al
call fcn.0041020a
movzx edi, bl
push 9
push dword [esp + 0x10]
mov byte [ebp*4 + 0x448df2], al
mov byte [ebp*4 + 0x4489f1], al
mov byte [ebp*4 + 0x4485f0], al
mov byte [ebp*4 + 0x4481f3], al
mov byte [edi*4 + 0x449df2], al
mov byte [edi*4 + 0x4499f1], al
mov byte [edi*4 + 0x4495f0], al
mov byte [edi*4 + 0x4491f3], al
call fcn.0041020a
push 0xd
push dword [esp + 0x10]
mov byte [ebp*4 + 0x448df0], al
mov byte [ebp*4 + 0x4489f3], al
mov byte [ebp*4 + 0x4485f2], al
mov byte [ebp*4 + 0x4481f1], al
mov byte [edi*4 + 0x449df0], al
mov byte [edi*4 + 0x4499f3], al
mov byte [edi*4 + 0x4495f2], al
mov byte [edi*4 + 0x4491f1], al
call fcn.0041020a
push 0xe
push dword [esp + 0x10]
mov byte [ebp*4 + 0x448df1], al
mov byte [ebp*4 + 0x4489f0], al
mov byte [ebp*4 + 0x4485f3], al
mov byte [ebp*4 + 0x4481f2], al
mov byte [edi*4 + 0x449df1], al
mov byte [edi*4 + 0x4499f0], al
mov byte [edi*4 + 0x4495f3], al
mov byte [edi*4 + 0x4491f2], al
call fcn.0041020a
mov byte [ebp*4 + 0x448df3], al
mov byte [ebp*4 + 0x4489f2], al
mov byte [ebp*4 + 0x4485f1], al
mov byte [ebp*4 + 0x4481f0], al
inc ebp
mov byte [edi*4 + 0x449df3], al
mov byte [edi*4 + 0x4499f2], al
mov byte [edi*4 + 0x4495f1], al
mov byte [edi*4 + 0x4491f0], al
cmp ebp, 0x100
jl 0x40f9e4
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x4102e8
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
lea eax, [esp + 0x1c]
push edi
push 0x20
push dword [esp + 0x48]
mov esi, dword [ebp + 4]
sub esi, 6
mov dword [esp + 0x18], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.00422c30
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x410368
cmp ebx, dword [ebp + 4]
jg 0x4104cc
cmp edi, esi
jge 0x410355
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x410351
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x410331
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x41035b
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x41031c
cmp ebx, dword [ebp + 4]
jg 0x4104cc
mov edi, 0x440198
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + 0x440098]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x23], al
mov al, byte [edi]
xor al, cl
inc edi
mov byte [esp + 0x20], al
mov dword [esp + 0x1c], edi
cmp esi, 8
je 0x4103f9
cmp esi, 1
jle 0x4103ed
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4103db
sub dword [esp + 0x14], 1
jne 0x4103d8
xor edi, edi
test esi, esi
jle 0x4104bf
jmp 0x410477
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x410408
sub dword [esp + 0x14], 1
jne 0x410405
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 3
mov al, byte [eax + 0x440098]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x410465
sub dword [esp + 0x14], 1
jne 0x410462
cmp ebx, dword [ebp + 4]
jg 0x4104c2
cmp edi, esi
jge 0x4104ac
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x4104a8
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x410488
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x4104b2
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x410477
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x410376
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x4085f0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x4d404c]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, dword [esp + 0x148]
push 0x118
push 0
lea eax, [esi + 4]
push eax
call fcn.0047a110
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x408737
cmp dword [esi + 4], 6
push edi
ja 0x40864b
jne 0x4086d3
cmp dword [esi + 8], 2
jb 0x4086d3
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x4086d3
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4086d3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4086d3
movups xmm0, xmmword [0x4b939c]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x4b93ac]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4086d3
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4086d3
cmp word [edi + 2], ax
jbe 0x4086d3
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40871e
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0047a110
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x40871e
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00477254
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.00477254
add esp, 0x140
ret

Function at 0x409a70
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c214
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d404c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004075a0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004075a0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004075a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004075a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x70]
mov word [esi + 0x60], 0x101
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.004075a0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40aab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004073f0
test al, al
je 0x40aaf0
xor al, al
jmp 0x40ac26
push esi
lea ecx, [ebp - 0x28]
call fcn.004075c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 4
push eax
call fcn.0040e030
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00407400
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ac13
lea ecx, [ebp - 0x40]
call fcn.004075a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041ca30
test al, al
je 0x40ab52
lea ecx, [ebp - 0x40]
call fcn.00407400
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004074c0
cmp esi, 0xffffffff
jne 0x40ac13
lea ecx, [ebp - 0x28]
call fcn.004077a0
cmp eax, 2
jbe 0x40ac0f
lea ecx, [ebp - 0x28]
call fcn.004077a0
lea ecx, [ebp - 0x28]
lea ebx, [eax - 1]
call fcn.00407700
mov esi, eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x40ab97
mov ecx, dword [esi]
cmp word [ecx + ebx*2], 0x5c
je 0x40abb6
lea ecx, [ebp - 0x28]
call fcn.004077a0
cmp dword [esi + 0x14], 8
jb 0x40abae
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x2f
jne 0x40ac0f
lea eax, [ebp - 0x28]
push 0x20
push eax
call fcn.0040e030
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00407400
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ac13
lea ecx, [ebp - 0x40]
call fcn.004075a0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041ca30
test al, al
je 0x40abfe
lea ecx, [ebp - 0x40]
call fcn.00407400
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004074c0
cmp esi, 0xffffffff
jne 0x40ac13
xor bl, bl
jmp 0x40ac15
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004074c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477254
mov esp, ebp
pop ebp
ret
Function at 0x40ac50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004073f0
test al, al
je 0x40ac90
xor al, al
jmp 0x40adcc
push esi
lea ecx, [ebp - 0x2c]
call fcn.004075c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push 4
push eax
call fcn.0040e030
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00407400
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40acff
lea ecx, [ebp - 0x44]
call fcn.004075a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.0041ca30
test al, al
je 0x40acee
lea ecx, [ebp - 0x44]
call fcn.00407400
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004074c0
cmp ebx, 0xffffffff
je 0x40ad08
test bl, 0x10
je 0x40adb9
lea ecx, [ebp - 0x2c]
call fcn.004077a0
cmp eax, 2
jbe 0x40adb5
lea ecx, [ebp - 0x2c]
call fcn.004077a0
lea ecx, [ebp - 0x2c]
lea ebx, [eax - 1]
call fcn.00407700
mov esi, eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x40ad38
mov ecx, dword [esi]
cmp word [ecx + ebx*2], 0x5c
je 0x40ad57
lea ecx, [ebp - 0x2c]
call fcn.004077a0
cmp dword [esi + 0x14], 8
jb 0x40ad4f
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x2f
jne 0x40adb5
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.0040e030
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00407400
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40adb0
lea ecx, [ebp - 0x44]
call fcn.004075a0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.0041ca30
test al, al
je 0x40ad9f
lea ecx, [ebp - 0x44]
call fcn.00407400
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004074c0
cmp ebx, 0xffffffff
je 0x40adb5
test bl, 0x10
je 0x40adb9
xor bl, bl
jmp 0x40adbb
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004074c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00477254
mov esp, ebp
pop ebp
ret