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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x415e10
jl 0x415e07
cmp dword [ebp + 0xc], 0
ja 0x415e10
xor eax, eax
xor edx, edx
jmp 0x415f41
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x415e32
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00415f50
jmp 0x415f41
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00412c50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x415e9b
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004101b0
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00414940
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00414160
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.00414890
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x415f32
mov ecx, dword [ebp - 8]
call fcn.00413690
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x415f0b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0041c7ed
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x415f09
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x415f41
jmp 0x415eb7
cmp dword [ebp - 4], 0
jbe 0x415f32
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0041c7ed
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417b60
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x417b9f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x417b9f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x417b9f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x417b9f
cmp dword [ecx + 0x74], 0xe
jbe 0x417b9f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x421f27
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4326d8
push 0x4326d0
push str.FlsAlloc
push 0x1e
call fcn.00421df1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421f5b
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f284]
call esi
jmp 0x421f61
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x421fa5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4326e8
push 0x4326e0
push str.FlsGetValue
push 0x20
call fcn.00421df1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421fdc
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f284]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x423686
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004234f7

Function at 0x423a80
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00417140
mov eax, dword [0x439078]
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.0042255a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x423ac2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x423c1e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042e030
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 + 0x43aa78]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00424a5d
mov ecx, dword [esi*4 + 0x43aa78]
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 0x423c17
cmp eax, dword [edi + ecx + 0x24]
jne 0x423c17
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 0x423c17
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00424a5d
add esp, 0x14
test edx, edx
jl 0x423c17
jg 0x423b8d
test eax, eax
jb 0x423c17
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x423c17
jl 0x423ba7
cmp dword [ebp - 0x1008], eax
ja 0x423c17
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x423bc5
test ebx, ebx
je 0x423bfe
cmp ecx, edi
jae 0x423bfe
mov al, byte [ecx]
cmp al, 0xd
jne 0x423bdf
lea eax, [edi - 1]
cmp ecx, eax
jae 0x423beb
cmp byte [ecx + 1], 0xa
jne 0x423beb
inc ecx
jmp 0x423beb
movzx eax, al
movsx eax, byte [eax + 0x4392f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x423bc5
cmp edx, ebx
jne 0x423bc5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x423c1c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041762a
leave
ret
Function at 0x423f15
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 + 0x43aa78]
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 0x423f55
cmp byte [ebx], 0xa
jne 0x423f55
or byte [eax + edi + 0x28], 4
jmp 0x423f5a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x424058
mov al, byte [edx]
cmp al, 0x1a
je 0x42403a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x423f89
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x423fae
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x423fb8
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 0x423f6b
jmp 0x424058
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 0x424035
cmp dword [ebp - 0xc], 0
je 0x424035
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x43aa78]
test byte [eax + edi + 0x28], 0x48
je 0x42400f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x423ffa
mov byte [esi], dl
jmp 0x42400b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x43aa78]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x424058
cmp byte [ebp - 1], 0xa
jne 0x42401e
cmp esi, ebx
jne 0x42401e
mov byte [esi], 0xa
jmp 0x424057
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00424a7b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x424058
mov byte [esi], 0xd
jmp 0x424057
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x43aa78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x424054
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x424058
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x424061
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 + 0x43aa78]
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 0x4240a4
cmp word [esi], dx
jne 0x4240a4
or byte [edi + eax + 0x28], 4
jmp 0x4240a9
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 0x4241e2
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 0x4241c2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4240eb
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x424121
cmp eax, edx
jae 0x42412d
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 0x4240c3
jmp 0x4241e2
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 0x4241be
cmp dword [ebp - 0x14], 0
je 0x4241be
mov eax, dword [ebx*4 + 0x43aa78]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x424196
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x4241dc
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x43aa78]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x43aa78]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x43aa78]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x4241df
pop ebx
cmp word [ebp - 4], bx
jne 0x4241a7
cmp esi, dword [ebp + 0xc]
jne 0x4241a7
mov word [esi], bx
jmp 0x4241df
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00424a7b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4241e2
push 0xd
jmp 0x4241db
mov ecx, dword [ebx*4 + 0x43aa78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4241d9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4241e2
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 0x427493
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x439078]
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 0x4274de
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00427632
test al, al
jne 0x4274d8
sub edx, 2
cmp edx, edi
jne 0x4274be
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x427500
lea eax, [edi + 2]
cmp edx, eax
je 0x427500
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004273df
add esp, 0x10
jmp 0x4275fa
push esi
lea ecx, [ebp - 0x255]
call fcn.00427632
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 0x427543
push dword [ebp - 0x25c]
jmp 0x4274f0
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 0x427580
cmp word [ebp - 0x226], 0
je 0x4275a1
cmp word [ebp - 0x226], ax
jne 0x427580
cmp word [ebp - 0x224], 0
je 0x4275a1
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004273df
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4275ed
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42755a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4275d5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4275fa
push 0x42720f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042c0c0
add esp, 0x10
jmp 0x4275ca
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.0041762a
leave
ret
Function at 0x42cb85
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.0042cb01
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42ccfd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42ccfd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42ccac
jg 0x42cbde
test eax, eax
je 0x42cca2
push 1
push 0x1000
call fcn.00421af3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x42cc04
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x42cc99
push 0x8000
push ebx
call fcn.0041efa4
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 0x42cc30
jg 0x42cc2b
cmp ecx, 0x1000
jb 0x42cc30
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004232f7
add esp, 0x10
cmp eax, 0xffffffff
je 0x42cc75
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 0x42cc2b
jl 0x42cc5c
test ecx, ecx
jne 0x42cc1d
push dword [ebp - 0xc]
push ebx
call fcn.0041efa4
push esi
call fcn.00421a6b
add esp, 0xc
xor edi, edi
jmp 0x42cd0e
cmp byte [edi + 0x24], 0
je 0x42cc8c
cmp dword [edi + 0x20], 5
jne 0x42cc8c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x42cc97
mov edi, dword [edi + 0x18]
jmp 0x42cc99
xor edi, edi
push esi
call fcn.00421a6b
pop ecx
jmp 0x42cd0e
test ecx, ecx
jg 0x42cc6e
jl 0x42ccac
test eax, eax
jae 0x42cc6e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00424a7b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42cccf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42cc6e
jmp 0x42cd06
push ebx
call fcn.00428367
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42cc6e
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 0x42cd0e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42cd0b
mov edi, dword [edi + 0x18]
jmp 0x42cd0e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00424a7b
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42dff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42e01d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42e01d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x420b5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b9a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438ca2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x438a14
pop ecx
mov edi, 0x51fd1ddf
add ebx, 0x6382b328
sub ebx, 0x7131224e
call fcn.00438cf3
add ebx, 0x36d1bb15
add edi, edi
xor dword [edx], ecx
add edi, edi
add edi, edi
or ebx, edi
inc edx
and ebx, ebx
cmp edx, esi
jne fcn.00438ca2
add edi, 0xf0526c13
and edi, ebx
sub edi, 0xb97d4344
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..wixburn
nop
mov ebx, 0x40c7d0
mov ecx, 0x4a225681
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
mov ebx, 0x42f314
mov ecx, 0x32740e86
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x408903
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
inc ebx
call fcn.00408930
xor dword [edi], eax
push 0x51b866ad
mov edx, dword [esp]
add esp, 4
add edx, 0x53589401
inc edi
add edx, 0xd71e8ba0
or ebx, ebx
cmp edi, esi
jne fcn.00408903
ret
Function at 0x401160
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x54
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x79
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xd1
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x9d
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x47
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xe0
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xcb
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x37
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xea
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x43
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x83
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x63
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xfe
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xed
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x7b
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xb3
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xef
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xe2
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xf2
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x77
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x74
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x78
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x64
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xf7
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x35
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x4c
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xb1
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xc7
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xec
inc esi
cmp esi, 0x2d200
jb 0x401170
pop edi
pop esi
ret
Function at 0x40f310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f33d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f33d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4677e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x416015
lea edi, [esi - 0x15015]
push edi
jmp 0x4677fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677f0
mov eax, 1
add ebx, ebx
jne 0x467813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467824
jne 0x467843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467843
dec eax
add ebx, ebx
jne 0x467830
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467808
add ebx, ebx
jne 0x46783f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467895
xor ecx, ecx
sub eax, 3
jb 0x46785b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4678ca
sar eax, 1
mov ebp, eax
jmp 0x467866
add ebx, ebx
jne 0x467866
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467834
inc ecx
add ebx, ebx
jne 0x467874
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467834
add ebx, ebx
jne 0x467881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x467876
jne 0x467892
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x467876
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4678b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4678a6
jmp 0x4677f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4678b4
add edi, ecx
jmp 0x4677f6
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4678d2
cmp byte [edi], 0
jne 0x4678d2
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 0x4678d7
mov ebp, dword [esi + 0x676d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x467932
sub esp, 0xffffff80
jmp 0x407c28