joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x1049d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1049d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1049d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1049d06a
add dl, dl
jne 0x1049d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1049d0dc
xor eax, eax
add dl, dl
jne 0x1049d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1049d17d
add dl, dl
jne 0x1049d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1049d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1049d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1049d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1049d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1049d075
mov eax, 1
add dl, dl
jne 0x1049d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1049d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1049d0e1
sub eax, ebx
mov ebx, 1
jne 0x1049d128
mov ecx, 1
add dl, dl
jne 0x1049d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1049d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1049d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1049d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1049d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1049d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1049d136
cmp eax, 0x7d00
jae 0x1049d16d
cmp eax, 0x500
jb 0x1049d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1049d075
cmp eax, 0x7f
ja 0x1049d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1049d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1049d19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1049d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x431dca
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x60798d88
call fcn.004335e3
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x607996c8
mov dword [esi + 4], 0x607996a4
mov dword [esi + 8], 0x60799688
mov dword [esi + 0xc], 0x60799628
mov dword [esi + 0x10], 0x60799600
mov dword [esi + 0x14], 0x607995c4
mov dword [esi + 0x18], 0x60799598
mov dword [esi + 0x1c], 0x60799588
mov dword [esi + 0x20], 0x60799560
mov dword [esi + 0x24], 0x60799550
mov dword [esi + 0x28], 0x60799538
mov dword [esi + 0x2c], 0x60799508
mov dword [esi + 0x30], 0x607994f4
mov dword [esi + 0x34], 0x607994e4
mov dword [esi + 0x7c], 0x607994d8
and dword [ebp - 4], 0
mov dword [esi + 0x9c], 1
call fcn.0042c474
push 0x6079c57c
call dword [0x60799108]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0042c1ce
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40ec80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x5d3470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x5d346c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5d3470], edx
cmp eax, 0x26f
jl 0x40ec88
mov dword [0x565fa0], 0x270
ret

Function at 0x40ecc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x5d3474]
mov ebx, dword [eax*4 + 0x5d3470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5d3aa4]
mov dword [eax*4 + 0x5d3470], edx
cmp eax, 0xe2
jl 0x40ecc8
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5d3474]
mov ebx, dword [eax*4 + 0x5d3470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5d30e4]
mov dword [eax*4 + 0x5d3470], edx
cmp eax, 0x26e
jl 0x40ed18
mov edx, dword [0x5d3470]
mov ecx, dword [0x5d3e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5d3aa0]
mov dword [0x5d3e2c], eax
mov dword [0x565fa0], 0
pop ebx
ret

Function at 0x40eda0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x565fa0]
add dword [0x565fa0], 1
mov eax, dword [0x5d2020]
cmp eax, dword [0x5656f0]
jne 0x40edc3
cmp ebx, 0x271
jb 0x40ede4
mov eax, dword [0x5d2020]
call fcn.0040ec80
not dword [0x5d2020]
mov eax, dword [0x5d2020]
mov dword [0x5656f0], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40ee00
call fcn.0040ecc0
xor ebx, ebx
mov dword [0x565fa0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5d3470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x410950
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x565440]
cmp ax, 0xcb
je 0x410a5c
cmp ax, 0xcc
je 0x410a5c
lea esi, [esi]
mov edx, dword [0x5d4070]
test edx, edx
je 0x410985
mov eax, dword [0x5d3f20]
call edx
mov ebx, eax
jmp 0x41098a
mov ebx, 0x5d3f24
cmp word [0x5d3f10], 0
jle 0x4109b0
mov eax, 0x5d3ef0
call fcn.00410bc0
mov eax, ebx
call fcn.00410510
mov eax, ebx
call fcn.00410580
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x4109d2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x4109cd
mov edx, edi
mov eax, ebx
call fcn.0040f980
jmp 0x4109d0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x4109b8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5d3f10], 0
jle 0x410a5c
mov edx, 0x5d3e30
mov eax, ebx
call fcn.0040fac0
mov edi, eax
test edi, edi
je 0x410a2c
mov eax, dword [0x5d3ec4]
mov dword [edi + 0xc], eax
cmp dword [0x5d3ec4], 0
je 0x410a20
mov eax, dword [0x5d3ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5d3ec4], eax
nop
sub word [0x5d3f10], 1
cmp word [0x5d3f10], 0
sete bl
mov eax, 0x5d3ef0
call fcn.00410be0
test bl, bl
je 0x410a5c
mov eax, 0x5d3ef0
call fcn.00410bb0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x412c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00412bf0
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x412d3a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b550
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x412c9f
mov edx, 0x5d32f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x412cf1
call sub.kernel32.dll_GetLastError
call fcn.00404050
lea eax, [ebp - 0x10]
call fcn.0040a130
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a5d0
mov edx, dword [ebp - 0x14]
mov ecx, 0x581324
lea eax, [ebp - 0x10]
call fcn.0040a460
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040ae20
jmp 0x412d88
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x412d0a
cmp eax, ecx
je 0x412d14
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b550
cmp byte [0x5656c0], 0
jne 0x412d88
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040baf0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040aeb0
lea esi, [esi]
jmp 0x412d88
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b550
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x412d5e
mov eax, 0x5d32f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x5656c0], 0
jne 0x412d88
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040baf0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040aeb0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00412bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4131a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x5d3260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413380
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x5d3260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004035c0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x5654c0], eax
mov ebx, eax
jmp 0x413343
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x413228
cmp byte [ebx], 0
je 0x41334c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x4132a3
mov al, byte [ebx]
cmp al, 1
jb 0x413298
sub al, 0x20
jbe 0x413268
sub al, 2
je 0x41327c
jmp 0x413298
mov al, byte [ebp - 0x114]
test al, al
je 0x4132a8
add dword [ebp - 0x110], 1
jmp 0x4132a0
cmp byte [ebx + 1], 0x22
je 0x413293
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x4132a0
add ebx, 1
jmp 0x4132a0
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413258
test dword [ebp - 0x10c], 0xffffffff
je 0x41333c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413380
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x5d3260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x413333
mov al, byte [ebx]
cmp al, 1
jb 0x413328
sub al, 0x20
jbe 0x4132f8
sub al, 2
je 0x41330c
jmp 0x413328
mov al, byte [ebp - 0x114]
test al, al
je 0x413338
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x413330
cmp byte [ebx + 1], 0x22
je 0x413323
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413330
add ebx, 1
jmp 0x413330
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4132e8
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x41322b
mov ebx, dword [ebp - 0x10c]
mov dword [0x5d3250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x5d3260
call fcn.00410790
mov eax, dword [0x5d3260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426890
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x108]
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0
xor eax, eax
push fcn.00426880
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
xor cx, cx
mov edx, 0xff
call fcn.00409350
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 4]
call fcn.00445310
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00426880
mov esp, ebp
pop ebp
ret
Function at 0x426940
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov edx, 0x586008
lea eax, [ebp - 0xc]
call fcn.0040e570
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00426920
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, str.Parametr
call fcn.00408960
push 0
lea eax, [ebp - 0x10]
call fcn.00426890
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, str.DirectYdirecty.exe
call fcn.00408a60
mov edx, 1
mov eax, 0x5d0a34
call fcn.005614c0
mov dword [ebp - 4], eax
xor eax, eax
push fcn.00426910
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x80000001
call fcn.00561480
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.005616f0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.005618d0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409520
test eax, eax
je 0x426a04
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00561a90
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00426910
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00426920
mov esp, ebp
pop ebp
ret
Function at 0x427850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x4278fa
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x427916
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x427916
sub dx, 0x20
je 0x4278f0
sub dx, 0x80
je 0x4278f0
sub dx, 0x1f62
jb 0x427916
sub dx, 1
jbe 0x4278f0
sub dx, 6
je 0x4278f0
sub dx, 0x26
jne 0x427916
nop
jmp 0x4278f0
cmp eax, dword [ebp - 0x20]
jg 0x427898
lea esi, [esi]
jmp 0x427916
cmp dword [ebp - 0x1c], 2
jne 0x42790a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x427916
mov al, byte [ebp - 0xc]
call fcn.0040b1b0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x427994
sub ax, 0x21
je 0x4279a8
sub ax, 0x17
je 0x4279b4
sub ax, 0x222
je 0x4279c0
sub ax, 0x392
je 0x4279c8
sub ax, 1
je 0x4279d0
sub ax, 0x1996
je 0x4279d8
sub ax, 1
je 0x4279e0
sub ax, 6
je 0x4279e8
sub ax, 0xb
je 0x4279f8
sub ax, 0x1b
je 0x4279f0
sub ax, 0x367
je 0x427a00
jmp 0x427a08
mov ax, word [ebp - 0x24]
call fcn.0040b250
mov byte [ebp - 0x10], al
jmp 0x427a10
mov byte [ebp - 0x10], 0x20
jmp 0x427a10
mov byte [ebp - 0x10], 0x2e
jmp 0x427a10
mov byte [ebp - 0x10], 0x27
jmp 0x427a10
mov byte [ebp - 0x10], 0x2c
jmp 0x427a10
mov byte [ebp - 0x10], 0x27
jmp 0x427a10
mov byte [ebp - 0x10], 0x20
jmp 0x427a10
mov byte [ebp - 0x10], 0x20
jmp 0x427a10
mov byte [ebp - 0x10], 0x20
jmp 0x427a10
mov byte [ebp - 0x10], 0x20
jmp 0x427a10
mov byte [ebp - 0x10], 0x2d
jmp 0x427a10
mov byte [ebp - 0x10], 0x27
jmp 0x427a10
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x434cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00434cb0
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x434dd0
mov al, byte [ebp - 0x110]
test al, al
je 0x434d99
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d70
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004091e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409fb0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x587df0
call fcn.0044e3d0
mov edx, 0x434d2a
mov ecx, ebp
call fcn.00413ed0
jmp 0x434dd0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x587df0
call fcn.0044e3d0
mov edx, 0x434d99
mov ecx, ebp
call fcn.00413ed0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x434e94
mov al, byte [ebp - 0x110]
test al, al
je 0x434e5d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d70
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004091e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409fb0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x587df0
call fcn.0044e3d0
mov edx, 0x434dee
mov ecx, ebp
call fcn.00413ed0
jmp 0x434e94
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x587df0
call fcn.0044e3d0
mov edx, 0x434e5d
mov ecx, ebp
call fcn.00413ed0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00434650
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00434cb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x588a7c
call fcn.0040cd80
test al, al
je 0x438036
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00438050
xor eax, eax
push fcn.00437f40
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408960
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.00437160
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.00436cb0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00437f40
jmp 0x438041
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043a4e0
mov esp, ebp
pop ebp
ret