joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012ccde
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1012c8c5

Function at 0x1012d20c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100e77a0
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10128ac9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1012d24e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1012d3aa
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100e6c00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10196a88]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.1012ddc4
mov ecx, dword [esi*4 + 0x10196a88]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1012d3a3
cmp eax, dword [edi + ecx + 0x24]
jne 0x1012d3a3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1012d3a3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1012ddc4
add esp, 0x14
test edx, edx
jl 0x1012d3a3
jg 0x1012d319
test eax, eax
jb 0x1012d3a3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1012d3a3
jl 0x1012d333
cmp dword [ebp - 0x1008], eax
ja 0x1012d3a3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1012d351
test ebx, ebx
je 0x1012d38a
cmp ecx, edi
jae 0x1012d38a
mov al, byte [ecx]
cmp al, 0xd
jne 0x1012d36b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1012d377
cmp byte [ecx + 1], 0xa
jne 0x1012d377
inc ecx
jmp 0x1012d377
movzx eax, al
movsx eax, byte [eax + 0x10190530]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1012d351
cmp edx, ebx
jne 0x1012d351
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1012d3a8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100e6bb9
leave
ret
Function at 0x101303ed
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10196a88]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1013042d
cmp byte [ebx], 0xa
jne 0x1013042d
or byte [eax + edi + 0x28], 4
jmp 0x10130432
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10130530
mov al, byte [edx]
cmp al, 0x1a
je 0x10130512
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10130461
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10130486
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10130490
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10130443
jmp 0x10130530
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1013050d
cmp dword [ebp - 0xc], 0
je 0x1013050d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10196a88]
test byte [eax + edi + 0x28], 0x48
je 0x101304e7
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101304d2
mov byte [esi], dl
jmp 0x101304e3
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10196a88]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10130530
cmp byte [ebp - 1], 0xa
jne 0x101304f6
cmp esi, ebx
jne 0x101304f6
mov byte [esi], 0xa
jmp 0x1013052f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1012dde2
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10130530
mov byte [esi], 0xd
jmp 0x1013052f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10196a88]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1013052c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10130530
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10130539
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10196a88]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1013057c
cmp word [esi], dx
jne 0x1013057c
or byte [edi + eax + 0x28], 4
jmp 0x10130581
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x101306d4
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x101306b4
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x101305c3
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x101305f9
cmp eax, edx
jae 0x10130605
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1013059b
jmp 0x101306d4
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101306b0
cmp dword [ebp - 0x14], 0
je 0x101306b0
mov eax, dword [ebx*4 + 0x10196a88]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x10130688
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x10130651
mov word [esi], cx
jmp 0x10130684
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10196a88]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10196a88]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10196a88]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x101306d4
pop ebx
cmp word [ebp - 4], bx
jne 0x10130699
cmp esi, dword [ebp + 0xc]
jne 0x10130699
mov word [esi], bx
jmp 0x101306d1
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1012dde2
add esp, 0x10
cmp word [ebp - 4], bx
je 0x101306d4
push 0xd
jmp 0x101306cd
mov ecx, dword [ebx*4 + 0x10196a88]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101306cb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101306d4
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10133976
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x101339c1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.10133d27
test al, al
jne 0x101339bb
sub edx, 2
cmp edx, edi
jne 0x101339a1
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x101339e3
lea eax, [edi + 2]
cmp edx, eax
je 0x101339e3
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.1013363d
add esp, 0x10
jmp 0x10133add
push esi
lea ecx, [ebp - 0x255]
call fcn.10133d27
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10133a26
push dword [ebp - 0x25c]
jmp 0x101339d3
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x10133a63
cmp word [ebp - 0x226], 0
je 0x10133a84
cmp word [ebp - 0x226], ax
jne 0x10133a63
cmp word [ebp - 0x224], 0
je 0x10133a84
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.1013363d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10133ad0
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x10133a3d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x10133ab8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x10133add
push 0x1013323f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.1013e0f0
add esp, 0x10
jmp 0x10133aad
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e6bb9
leave
ret
Function at 0x10134e1a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10134eb7
push ebx
push esi
call fcn.10134dd6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10131754
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10134e64
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10134eb6
push edi
push eax
call fcn.101279f2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10134e84
call fcn.101275f3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10134eb5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10131754
add esp, 0x20
test eax, eax
jne 0x10134ea3
push edi
call fcn.101275f3
jmp 0x10134eab
push ebx
call fcn.101275f3
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10134eba
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10134ecb
pop esi
ret
push ebx
push edi
push esi
call fcn.10134dd6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.101279f2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10134ef3
push ebx
push esi
push edi
call fcn.100e8870
add esp, 0xc
push 0
call fcn.101275f3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x101357d4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10135166
Function at 0x101400f4
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1013ff14
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1014026c
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1014026c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1014021b
jg 0x1014014d
test eax, eax
je 0x10140211
push 1
push 0x1000
call fcn.10127590
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10140173
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10140208
push 0x8000
push ebx
call fcn.1013fd49
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1014019f
jg 0x1014019a
cmp ecx, 0x1000
jb 0x1014019f
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1012c6c5
add esp, 0x10
cmp eax, 0xffffffff
je 0x101401e4
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1014019a
jl 0x101401cb
test ecx, ecx
jne 0x1014018c
push dword [ebp - 0xc]
push ebx
call fcn.1013fd49
push esi
call fcn.101275f3
add esp, 0xc
xor edi, edi
jmp 0x1014027d
cmp byte [edi + 0x24], 0
je 0x101401fb
cmp dword [edi + 0x20], 5
jne 0x101401fb
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10140206
mov edi, dword [edi + 0x18]
jmp 0x10140208
xor edi, edi
push esi
call fcn.101275f3
pop ecx
jmp 0x1014027d
test ecx, ecx
jg 0x101401dd
jl 0x1014021b
test eax, eax
jae 0x101401dd
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1012dde2
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1014023e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x101401dd
jmp 0x10140275
push ebx
call fcn.1013b7b1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101401dd
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1014027d
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1014027a
mov edi, dword [edi + 0x18]
jmp 0x1014027d
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1012dde2
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10141b4d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10141a21

Function at 0x101420b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101420dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101420dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40628f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062b3
xor eax, eax
test eax, eax
je 0x4062c5
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4062c5
xor ecx, ecx
jmp 0x4062c8
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063b4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x4063eb
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4063c5
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063c0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40641c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x4063fe
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0xd712b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0xd750a0
push edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
dec dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push dword [esi]
call fcn.00d711ad
test eax, eax
jne 0xd71323
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xd71340
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0xd71323
cmp dword [ebp - 0x10], 4
jne 0xd71323
cmp dword [ebp - 8], 1
jne 0xd71323
cmp dword [esi + 0xc], ebx
je 0xd7136e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0xd7133b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
leave
ret 4
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 4]
mov dword [ebp + 8], ebx
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0xd71323
mov eax, dword [esi + 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
mov dword [eax + 8], ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
jmp 0xd71323
Function at 0xd725d1
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
xor ebx, ebx
push edi
xor edi, edi
inc ebx
cmp eax, edi
jne 0xd72d32
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0xd7303e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
cmp eax, edi
je 0xd72616
push dword [eax + 0x64]
call dword [sym.imp.RPCRT4.dll_RpcMgmtSetServerStackSize]
cmp dword [esi + 0x34], edi
jne 0xd732d7
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
test byte [esi + 0x38], bl
jne 0xd732c4
push ebx
lea ecx, [esi + 0x20]
push ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call fcn.00d72d61
test eax, eax
jne 0xd725ec
jmp 0xd732bd
shl eax, 0xa
push eax
jmp 0xd72610
xor eax, eax
jmp 0xd7262b
push 4
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0xd725ec
jmp 0xd732bd
push ebx
push edi
push ebx
call dword [sym.imp.ntdll.dll_RtlSetProcessIsCritical]
add esp, 0xc
jmp 0xd7261f
Function at 0x4057e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004db830
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x405833
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40588e
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x4058ae
xor ecx, ecx
jmp 0x4058c6
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4058b7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00404110
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d1376
mov esp, ebp
pop ebp
ret
Function at 0x405f40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b831
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5557a0]
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 ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [ebp - 0x134], 0x11c
call edi
test eax, eax
jne 0x405fa3
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x406090
cmp dword [ebp - 0x12c], 2
jb 0x406090
push str.run_by_amdin
push 0x140
push str.CAppModel::runPlayer
call fcn.00435b60
add esp, 0xc
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
push 0x53719c
call fcn.00409130
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x405ffe
mov edx, dword [esi]
jmp 0x406000
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.0042cff0
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x40602d
push dword [ebp - 0x14c]
call fcn.004d1390
add esp, 4
cmp edi, 0xffffffff
jne 0x4060d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.run_by_amdin_error:__d
push 0x144
push str.CAppModel::runPlayer
call fcn.00435b60
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
call fcn.00409130
add esp, 0x14
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 1
call fcn.0043cf20
add esp, 0x10
cmp dword [ebp - 0x138], 8
jb 0x4060d5
push dword [ebp - 0x14c]
jmp 0x4060cd
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x164]
call fcn.00409130
add esp, 4
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 2
call fcn.0043cf20
add esp, 0x10
cmp dword [ebp - 0x150], 8
jb 0x4060d5
push dword [ebp - 0x164]
call fcn.004d1390
add esp, 4
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.004d1376
mov esp, ebp
pop ebp
ret 4