joyce8/EMBER2024-capa huggingface dataset:
Function at 0x543120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xec000]
push edi
jmp 0x54313a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x543141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543130
mov eax, 1
add ebx, ebx
jne 0x543153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x543164
jne 0x543183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543183
dec eax
add ebx, ebx
jne 0x543170
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x543148
add ebx, ebx
jne 0x54317f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5431d5
xor ecx, ecx
sub eax, 3
jb 0x54319b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54320a
sar eax, 1
mov ebp, eax
jmp 0x5431a6
add ebx, ebx
jne 0x5431a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543174
inc ecx
add ebx, ebx
jne 0x5431b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543174
add ebx, ebx
jne 0x5431c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5431b6
jne 0x5431d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5431b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5431f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5431e6
jmp 0x543136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5431f4
add edi, ecx
jmp 0x543136
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x543212
cmp byte [edi], 0x11
jne 0x543212
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 0x543217
lea edi, [esi + 0x13c000]
mov eax, dword [edi]
or eax, eax
je 0x54328f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ad0a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ad21c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x543244
mov ecx, edi
jns 0x543273
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 + 0x1ad220]
or eax, eax
je 0x543289
mov dword [ebx], eax
add ebx, 4
jmp 0x543261
call dword [esi + 0x1ad230]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5432c0
cmp al, 0xef
ja 0x5432b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x543295
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5432a2
mov ebp, dword [esi + 0x1ad224]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5432f4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x57134d57
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x46295653
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1000a060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [0x1000a0a2]
lea ecx, [0x1000a0aa]
sub ecx, eax
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000a0c6
mov edi, dword [ebp + 8]
lea esi, [0x1000a0a2]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
jmp 0x1000a0c1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000a0d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x65
mov al, 0x6d
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov cl, 0x6a
mov al, 0x66
push esi
mov dl, 0x75
push edi
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0x17], dl
lea edi, [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], 0x2f
mov byte [ebp - 3], 0
xor edx, edx
mov byte [ebp - 0x20], 0x45
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x56
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x12], 0x62
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0
je 0x1000a176
mov cl, byte [ebp + edx - 0xc]
lea edi, [ebp - 0xc]
dec cl
xor eax, eax
mov byte [ebp + edx - 0xc], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x1000a15a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x1000a18c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000a1b9
mov al, byte [ebp + edx - 0x20]
lea edi, [ebp - 0x20]
dec al
or ecx, 0xffffffff
mov byte [ebp + edx - 0x20], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x1000a19d
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a1d1
push eax
call fcn.1000a060
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a640
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push edi
call fcn.1000f0e0
mov ebx, dword [0x100c1810]
mov ecx, dword [0x1001308c]
mov eax, ebx
sub eax, ecx
jne 0x1000a742
mov edi, dword [0x1001397e]
test edi, edi
je 0x1000a742
cmp word [ebx], 0x5a4d
je 0x1000a691
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1000b8e0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
je 0x1000a6b4
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1000b8e0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [eax + 6]
xor edx, edx
mov dx, word [eax + 0x14]
test cx, cx
lea eax, [edx + eax + 0x18]
jbe 0x1000a6d7
and ecx, 0xffff
mov edx, eax
add eax, 0x28
dec ecx
jne 0x1000a6cd
jmp 0x1000a6da
mov edx, dword [ebp - 4]
push esi
mov esi, dword [edx + 0xc]
push 0x10
lea eax, [ebp - 0xf4]
push 0x1001396e
push eax
add esi, ebx
call fcn.10012160
push edi
lea ecx, [ebp - 0xf4]
push esi
push ecx
call fcn.100123c0
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0x24]
push edx
push eax
call fcn.100123e0
push 0x20
lea ecx, [ebp - 0x24]
push 0x1001394e
push ecx
call fcn.1000b780
add esp, 0x2c
test eax, eax
pop esi
je 0x1000a742
push 0xa36
push 0
push 0x10013068
call fcn.1000b730
add esp, 0xc
call fcn.1000b8e0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x3ff]
mov byte [ebp - 0x400], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1ff]
mov byte [ebp - 0x200], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1000f151
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x400]
push 0x200
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x400]
push 0x5c
push edx
call fcn.1000b7c0
add esp, 8
test eax, eax
jne 0x1000f184
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
lea eax, [ebp - 0x200]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x200]
push 0x5c
push ecx
call fcn.1000b7c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000f1bb
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x10014804
push edx
mov byte [esi], 0
call fcn.1000b830
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.1000b870
add esp, 0x10
test eax, eax
jne 0x1000f1ef
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x100147f8
push edx
mov byte [esi], 0
call fcn.1000b830
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.1000b870
add esp, 0x10
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001dd07
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001dd2b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 5
jmp 0x1001dd35
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret
Function at 0x1002f08c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002f0c4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x1002f0ce
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret

Function at 0x1003290c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10032926
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10032971
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10032954
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10032971
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10018515
mov dword [eax], 0xfa5c62e0
jmp 0x10032949
mov esp, ebp
pop ebp
ret
Function at 0x10036e50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10036b90
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10036e80
xor eax, eax
jmp 0x10036fdb
lea eax, [ebp + 8]
push eax
push 0x3431
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10036bce
add esp, 0x14
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10036ead
xor eax, eax
jmp 0x10036fdb
push 1
push 0x1be8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10036c40
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x10036ed1
xor eax, eax
jmp 0x10036fdb
push 0x658
push 0x7984
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push 1
push 0x5fc8
push 0x1eb0
call fcn.10036a09
add esp, 0x28
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10036c9a
add esp, 0x10
push 1
push 0x68ee
lea eax, [ebp - 8]
push eax
push 0x6ae4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10036d0e
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x10036f59
lea eax, [ebp - 4]
push eax
push 0x289
lea eax, [ebp - 0x14]
push eax
push 0x7b49
push 1
call fcn.10036dbb
add esp, 0x14
push dword [ebp - 4]
call fcn.100366ce
pop ecx
test eax, eax
jne 0x10036f6a
xor eax, eax
jmp 0x10036fdb
push 0x5ab2
push 0x55e
push 0
push dword [ebp - 4]
call fcn.10030a4b
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10036fc3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10036fa0
xor eax, eax
jmp 0x10036fdb
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10036fb9
xor eax, eax
jmp 0x10036fdb
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10036fd4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10036fd8
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004ecd4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004ed2c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004ed10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1004ed2a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10018515
and dword [eax], 0
jmp 0x1004ed05
jmp 0x1004ed36
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret
Function at 0x100865f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10091330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10078b74
mov dword [ebp - 0x14], eax
cmp dword [0x1067edcc], esi
jne 0x100866e8
push 0x800
push esi
push 0x10007c5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10086675
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100867c8
push esi
push esi
push 0x10007c5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100867c8
push 0x10007c74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100867c8
push eax
call ebx
push 0x10007c80
push edi
mov dword [0x1067edcc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007c90
push edi
mov dword [0x1067edd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ca4
push edi
mov dword [0x1067edd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067eddc], eax
test eax, eax
je 0x100866e5
push 0x10007cc0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067edd8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008670d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10086700
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10086722
push 4
pop eax
jmp 0x100867ca
cmp dword [ebp - 0x14], esi
je 0x10086722
push dword [0x1067edcc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10086707
mov eax, dword [0x1067edd8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10086780
cmp dword [0x1067eddc], edi
je 0x10086780
push eax
call ebx
push dword [0x1067eddc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10086780
test eax, eax
je 0x10086780
call ecx
test eax, eax
je 0x10086775
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10086775
test byte [ebp - 8], 1
jne 0x10086780
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100867b0
mov eax, dword [0x1067edd0]
cmp eax, edi
je 0x100867ad
push eax
call ebx
test eax, eax
je 0x100867ad
call eax
mov esi, eax
test esi, esi
je 0x100867ad
mov eax, dword [0x1067edd4]
cmp eax, edi
je 0x100867ad
push eax
call ebx
test eax, eax
je 0x100867ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067edcc]
call ebx
test eax, eax
je 0x100867c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100867ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x900310
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DSX1
lea edi, [esi - 0x379000]
push edi
jmp 0x90032a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x900331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x900320
mov eax, 1
add ebx, ebx
jne 0x900343
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x900354
jne 0x900373
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x900373
dec eax
add ebx, ebx
jne 0x900360
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x900338
add ebx, ebx
jne 0x90036f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9003c5
xor ecx, ecx
sub eax, 3
jb 0x90038b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9003fa
sar eax, 1
mov ebp, eax
jmp 0x900396
add ebx, ebx
jne 0x900396
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x900364
inc ecx
add ebx, ebx
jne 0x9003a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x900364
add ebx, ebx
jne 0x9003b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9003a6
jne 0x9003c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9003a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9003e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9003d6
jmp 0x900326
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9003e4
add edi, ecx
jmp 0x900326
pop esi
mov edi, esi
mov ecx, 0x5651
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x900402
cmp byte [edi], 0x1e
jne 0x900402
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 0x900407
lea edi, [esi + 0x4fd000]
mov eax, dword [edi]
or eax, eax
je 0x90047f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x508734]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x508810]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x900434
mov ecx, edi
jns 0x900463
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 + 0x508814]
or eax, eax
je 0x900479
mov dword [ebx], eax
add ebx, 4
jmp 0x900451
call dword [esi + 0x508824]
mov ebp, dword [esi + 0x508818]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x9004b3
sub esp, 0xffffff80
jmp 0x4b078a
Function at 0x408438
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x45c040]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov esi, ecx
cmp byte [esi + 0x2d8], 0
je 0x4084a5
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x114
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
jne 0x408495
mov ecx, esi
call fcn.00408144
jmp 0x4084a7
cmp dword [esp + 0xc], 6
jb 0x4084a5
mov ecx, esi
call fcn.00407995
jmp 0x4084a7
xor eax, eax
mov ecx, dword [esp + 0x124]
pop esi
xor ecx, esp
call fcn.004357ec
mov esp, ebp
pop ebp
ret
Function at 0x40b780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x40b7a6
xor eax, eax
jmp 0x40b86b
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x40b7cf
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x40b7cf
dec dword [edx]
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
mov eax, ebx
jmp 0x40b86b
cmp dword [esi + 0x4c], 0
je 0x40b869
mov ecx, esi
call fcn.0040bda8
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40b7fd
movsx eax, bl
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
pop ecx
cmove ebx, edi
jmp 0x40b7c8
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x40b838
sub eax, 1
je 0x40b838
dec eax
sub eax, 1
jne 0x40b869
movsx eax, byte [ebp - 0x25]
jmp 0x40b7ea
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x40b85c
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x40b869
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
cmovne edi, ebx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004357ec
leave
ret 4

Function at 0x40bdf8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x40be50
cmp byte [esi + 0x3d], bl
je 0x40be50
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40be8a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x40be61
sub eax, 1
je 0x40be64
dec eax
sub eax, 1
jne 0x40be8a
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004357ec
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40be82
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40be8a
cmp byte [esi + 0x3d], bl
sete al
jmp 0x40be52
xor al, al
jmp 0x40be52