joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe0c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [0x414034]
mov edx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [eax + 4]
inc ebx
test esi, esi
mov dword [ebp - 0x4cc], ecx
jne 0x40fe43
mov esi, 0x8000ffff
jmp 0x40ff62
push edi
xor eax, eax
mov ecx, 0xea
lea edi, [ebp - 0x4c8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x4c4], esi
mov esi, 0x100
push esi
push eax
push eax
push edx
push 0x200
mov dword [ebp - 0x4c0], eax
push esi
lea eax, [ebp - 0x3a8]
push eax
mov dword [ebp - 0x4c8], 0x3a8
mov dword [ebp - 0x4bc], 0x10
call fcn.0040c7c4
push esi
push 0
push 0
push dword [ebp - 0x4cc]
lea eax, [ebp - 0x1a4]
push 0x80
push 0x40
push eax
call fcn.0040c7c4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
push 4
pop esi
je 0x40ff0a
cmp dword [ebp - 0x11c], 5
ja 0x40ff04
jne 0x40ff0a
cmp dword [ebp - 0x118], 2
ja 0x40ff04
jne 0x40fef5
cmp word [ebp - 0xc], bx
jae 0x40ff04
cmp dword [ebp - 0x118], ebx
jne 0x40ff0a
cmp word [ebp - 0xc], 2
jb 0x40ff0a
mov dword [ebp - 0x124], esi
lea eax, [ebp - 0x1a4]
push eax
push 0x405468
push esi
lea eax, [ebp - 0x4cc]
push 6
push eax
mov dword [ebp - 0x4cc], ebx
call fcn.0040d007
lea eax, [ebp - 0x3a8]
push eax
push 0x40544c
push esi
lea eax, [ebp - 0x4cc]
push 6
push eax
mov dword [ebp - 0x4cc], ebx
call fcn.0040d007
add esp, 0x28
push ebx
lea edi, [ebp - 0x4c8]
call fcn.0040fb6f
mov esi, eax
test esi, esi
pop edi
jge 0x40ff81
push esi
push 0x4053f8
push 2
lea eax, [ebp - 0x4cc]
push 6
push eax
mov dword [ebp - 0x4cc], ebx
call fcn.0040d007
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.0040b9bd
leave
ret 0xc

Function at 0x410fc3
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [eax + esi + 1]
cmp ecx, dword [ebp + 0xc]
jb 0x410ff5
mov ebx, 0x8007007a
jmp 0x411022
test eax, eax
jne 0x411002
call fcn.0040d85c
mov ebx, eax
jmp 0x411022
lea eax, [edi + eax*2]
lea ecx, [esi + esi + 2]
mov esi, dword [ebp + 0x10]
mov word [eax], 0x5c
lea edi, [eax + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x4117d2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push edi
xor edi, edi
cmp esi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
jne 0x4117ef
cmp dword [ebp + 0x14], ebx
jne 0x4117f6
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jge 0x411827
mov dword [ebp - 4], 0x80070057
cmp esi, ebx
je 0x411809
cmp dword [ebp + 0x14], ebx
jle 0x411809
mov word [esi], bx
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x411812
mov dword [eax], edi
mov eax, dword [ebp + 0x1c]
pop edi
cmp eax, ebx
pop ebx
je 0x411820
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
leave
ret 0x18
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
mov ecx, dword [ebp - 8]
je 0x41185c
jg 0x411850
mov dword [ebp - 4], eax
jmp 0x41186b
and eax, 0xffff
or eax, 0x80070000
jmp 0x41184b
cmp esi, ebx
jne 0x411870
cmp ecx, ebx
jbe 0x411870
mov dword [ebp - 4], 0x800700ea
cmp dword [ebp - 4], ebx
jl 0x411898
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], 2
sete al
cmp dword [ebp + 0x10], edx
mov dword [ebp - 0xc], eax
je 0x41189b
cmp edx, 1
jne 0x41188f
cmp dword [ebp + 0x10], 2
je 0x41189b
mov dword [ebp - 4], 0x8007065d
jmp 0x41189b
mov edx, dword [ebp + 8]
cmp dword [ebp - 4], 0x800700ea
jne 0x4118b8
xor eax, eax
shr ecx, 1
cmp edx, 7
sete al
inc eax
add ecx, eax
mov edi, ecx
jmp 0x4117fd
cmp dword [ebp - 4], ebx
jl 0x4117fd
shr ecx, 1
mov edi, ecx
je 0x4118ce
cmp word [esi + edi*2 - 2], bx
je 0x4118cf
inc edi
cmp edx, 7
jne 0x4118e1
cmp edi, 2
jl 0x4118e0
cmp word [esi + edi*2 - 4], bx
je 0x4118e1
inc edi
cmp edi, dword [ebp + 0x14]
jle 0x4118f2
mov dword [ebp - 4], 0x800700ea
jmp 0x4117fd
dec edi
cmp edx, 7
lea eax, [esi + edi*2]
mov word [eax], bx
jne 0x411809
mov word [eax - 2], bx
jmp 0x411809
Function at 0x411910
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 0x14], ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov edi, 0x80070057
je 0x41199b
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x411960
cmp eax, 0xea
je 0x411960
cmp eax, ebx
jle 0x411995
and eax, 0xffff
or eax, 0x80070000
jmp 0x411995
mov edi, dword [ebp - 4]
shr edi, 1
inc edi
inc edi
lea eax, [edi + edi]
push eax
call fcn.0040d38c
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x41197e
mov edi, 0x8007000e
jmp 0x41199b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004117d2
mov edi, eax
cmp edi, ebx
jge 0x4119a4
push esi
call fcn.0040d41d
pop ecx
xor esi, esi
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x4119ad
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4119b9
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x4119c5
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x6d4eb325
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x6d4eb334
pop dword [ebp - 0x2c]
mov eax, 0x6d4eb334
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xa549ad7f
add dword [ebp - 0x3c], 0xa90897cc
mov dword [ebp - 0x38], 0x8d7946c2
add dword [ebp - 0x38], 0xa4ba0583
mov dword [ebp - 0x34], 0x68f85841
sub dword [ebp - 0x34], 0x1cac1413
mov dword [ebp - 0x30], 0x22135de2
add dword [ebp - 0x30], 0xddeca21e
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x574b7573
sub dword [ebp - 0x3c], 0xe2d90c1d
mov dword [ebp - 0x38], 0x3b7ce29a
add dword [ebp - 0x38], 0x5ef7edb
mov dword [ebp - 0x34], 0xd2f91980
add dword [ebp - 0x34], 0x907652ec
mov dword [ebp - 0x30], 0xb4bdc113
add dword [ebp - 0x30], 0x4b423eed
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x185aae57
sub eax, 0xab0bce03
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3fd19
push 0
call eax
mov ecx, 0x4d66
xor edi, edi
add edi, eax
mov ebx, 0xadb4de39
sub ebx, 0x40654239
add ebx, dword [ebp - 0x2c]
mov edx, 0xcfaa692d
sub edx, 0x7e6b397b
add dword [ebp - 8], edi
mov esi, dword [ebx]
xor dword [ebp - 0x18], 0x9162ebe2
add esi, edx
xor dword [ebp - 0x20], esi
mov dword [edi], esi
add dword [ebp - 8], eax
add edi, 4
add ebx, 4
loop 0x6d4eb448
add eax, 0x251cacdc
sub eax, 0x251b8471
mov ebx, eax
add eax, 5
mov ecx, 0x127449c5
sub ecx, 0xa52749c5
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x6d4ed4ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d4f5200]
jne 0x6d4ed4f6
repz ret
jmp fcn.6d4ed963
Function at 0x41caa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41cac2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cac9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cab8
mov eax, 1
add ebx, ebx
jne 0x41cadb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cad0
jne 0x41caec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cad0
xor ecx, ecx
sub eax, 3
jb 0x41cb00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cb72
mov ebp, eax
add ebx, ebx
jne 0x41cb0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cb18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cb3c
inc ecx
add ebx, ebx
jne 0x41cb28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cb1d
jne 0x41cb39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cb1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cb5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cb4d
jmp 0x41cabe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cb5c
add edi, ecx
jmp 0x41cabe
pop esi
mov edi, esi
mov ecx, 0x466
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cb7a
cmp byte [edi], 6
jne 0x41cb7a
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 0x41cb7f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41cbee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c0cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41cbac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c0d0]
or eax, eax
je 0x41cbe8
mov dword [ebx], eax
add ebx, 4
jmp 0x41cbc9
call dword [esi + 0x1c0d4]
popal
jmp section.UPX0

Function at 0x7ae214
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ae21e
pushal
call 0x7ae224
pop ebp
sub ebp, 0x10
sub ebp, 0x3ae214
jmp 0x7ae23a
mov eax, 0x3ae214
add eax, ebp
add eax, 0x4c
mov ecx, 0x605
mov edx, 0x55e0791e
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ae251
jmp 0x7ae264
xchg ebp, eax
rcl dword [ebp + 0x1e1e2297], cl
push ds
lahf
invalid
Function at 0x40e840
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579965
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.cVdw3eSI4WFg0GxNgIcuLQczlOAEn3Iw0egJRU
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d7e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.MmtRiUmIoHECJCNOCU94QA4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d7e0
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042eba0
lea ecx, [ebp - 0x14]
call fcn.00445250
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e92b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e95c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x592514
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40e992
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e9c8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005549df
int3
Function at 0x41f0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b5f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.TXlTFcB4WkNQQ6LGCEVvESkQrMT0J1AAQiFCzY
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042d7e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.SlpJuVjku6KCI_nKQ
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042d7e0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042eba0
lea ecx, [ebp - 0x1c]
call fcn.00445250
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41f1de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f23f
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042eba0
lea ecx, [ebp - 0x20]
call fcn.00445250
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f230
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x41f27e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f274
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f2c9
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41f2b4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f2aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f2c9
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005549df
int3
Function at 0x425950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bc16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0042eab0
add eax, 0x10
mov dword [esi + 8], eax
lea edi, [esi + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x4259ad
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0042eab0
add eax, 0x10
mov dword [esi + 0x38], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 4
push edi
push 0xf003f
push 0
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
jne 0x425a60
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
test eax, eax
jne 0x425a33
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x425a1b
cmp eax, 4
je 0x425a1b
cmp eax, 0xb
jne 0x425a33
cmp dword [ebp + 0xc], 4
jne 0x425a33
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x425a4b
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.MUZiPRUMjtBSxClMhA8QETEDwNhEo0DTER6KRIgmXyMG
lea ecx, [ebp - 0x38]
call fcn.0042ef50
push ebx
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.0042eba0
lea ecx, [ebp + 0xc]
call fcn.00445250
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405750
push 0x5c1ac0
lea eax, [ebp - 0x20]
push eax
call fcn.00551a0a
int3

Function at 0x429c30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bf4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00539de5
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x429cbb
push eax
push esi
call fcn.00539c27
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00539519
int3
Function at 0x45af20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e095
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.SmFXUYRkOWMRU94ACUEpFjEUIIDoRsBBUlyEzI
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.0042d7e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push str.VURJgNCYw5KEAg4Nw
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
call fcn.0042d7e0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042eba0
lea ecx, [ebp - 0x1c]
call fcn.00445250
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45b00b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x45b06c
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.0042eba0
lea ecx, [ebp - 0x20]
call fcn.00445250
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45b05d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x45b0a2
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b098
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b0ed
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x45b0d8
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b0ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b0ed
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005549df
int3
Function at 0x45ba90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f535
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0xc]
test edi, edi
je 0x45bcae
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x45bcae
lea esi, [edi + 1]
test esi, esi
js 0x45bc60
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x45bb00
push esi
lea ecx, [ebp + 8]
call fcn.0042f6a0
mov eax, dword [ebp + 8]
mov ecx, 0x5c
mov word [eax + edi*2], cx
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 8]
jg 0x45bc60
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
lea ecx, [ebp + 8]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.0042dea0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45bb52
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x45bc6a
mov esi, dword [ebp + 8]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45bb6d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0042f720
push str.R25tVQwQchCCIzjCykqkNQsOyNygcfFBwhKDwQvSIgo
lea ecx, [ebp - 0x18]
call fcn.0042f850
push esi
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
mov ecx, esp
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x14]
call fcn.00445630
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00446950
push 0x5c1a6c
lea eax, [ebp - 0x38]
push eax
call fcn.00551a0a
push str.NjhJWbV9WKPwxa9US0yQRlk76DFtdbPQhEeSw
lea ecx, [ebp - 0x18]
call fcn.0042f850
push 2
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ecx, esp
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x14]
call fcn.00445630
add esp, 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00446950
push 0x5c1a6c
lea eax, [ebp - 0x44]
push eax
call fcn.00551a0a
int3