joyce8/EMBER2024-capa huggingface dataset:
Function at 0x17d107b0
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea eax, [ebp - 4]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x17d10803
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d107fc
test byte [eax + 0x1c], 2
je 0x17d107fc
push esi
push ebx
push 0x17c9920c
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
mov eax, esi
jmp 0x17d10887
and dword [ebp + 0xc], 0
push edi
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.17ce7b44
mov edi, eax
test edi, edi
jge 0x17d1082b
cmp dword [ebp + 0xc], 0
je 0x17d10827
push dword [ebp + 0xc]
call fcn.17ce425d
pop ecx
mov eax, edi
jmp 0x17d10886
push dword [ebp + 0xc]
push esi
push dword [ebp - 4]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x17d1087c
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d10869
test byte [eax + 0x1c], 1
je 0x17d10869
push esi
push ebx
push 0x17c9920c
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
cmp dword [ebp + 0xc], 0
je 0x17d10878
push dword [ebp + 0xc]
call fcn.17ce425d
pop ecx
mov eax, esi
jmp 0x17d10886
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x34a02a04
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x37c37e97
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x415d1c
lea eax, [ebp - 8]
push str.1.txt
push eax
call fcn.00404d7b
add esp, 0xc
test eax, eax
je 0x40103b
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401171
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 2
push 0
push dword [ebp - 8]
call fcn.00404c8a
push dword [ebp - 8]
call fcn.0040481c
push 0
push 0
push dword [ebp - 8]
mov ebx, eax
call fcn.00404c8a
push ebx
call fcn.004050f1
add esp, 0x20
mov esi, eax
push dword [ebp - 8]
test esi, esi
jne 0x40108c
call fcn.00404971
add esp, 4
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401171
mov esp, ebp
pop ebp
ret
push ebx
push 1
push esi
call fcn.00404fb6
add esp, 0x10
cmp eax, ebx
je 0x4010c0
push esi
call fcn.00404dc2
push dword [ebp - 8]
call fcn.00404971
add esp, 8
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401171
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 8]
call fcn.00404971
add esp, 4
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x401154
push str.VirtualAlloc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40114d
push 0x40
push 0x1000
push ebx
push 0
call eax
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40114d
push ebx
push esi
push eax
call fcn.00402c50
mov ebx, dword [ebp - 0xc]
add esp, 0xc
call ebx
push str.VirtualFree
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40112a
push 0x8000
push 0
push ebx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.00404dc2
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401171
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.00404dc2
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
or eax, 0xffffffff
pop edi
pop esi
pop ebx
call fcn.00401171
mov esp, ebp
pop ebp
ret

Function at 0x401977
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019b6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019b6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019b6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019b6
cmp dword [ecx + 0x74], 0xe
jbe 0x4019b6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4045b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00410d20
mov eax, dword [section..data]
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.0040682b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4045f4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x404750
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00410c70
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 + 0x418ee8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00406b36
mov ecx, dword [esi*4 + 0x418ee8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x404749
cmp eax, dword [ecx + edi + 0x24]
jne 0x404749
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404749
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00406b36
add esp, 0x14
test edx, edx
jl 0x404749
jg 0x4046bf
test eax, eax
jb 0x404749
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x404749
jl 0x4046d9
cmp dword [ebp - 0x1008], eax
ja 0x404749
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4046f7
test ebx, ebx
je 0x404730
cmp ecx, edi
jae 0x404730
mov al, byte [ecx]
cmp al, 0xd
jne 0x404711
lea eax, [edi - 1]
cmp ecx, eax
jae 0x40471d
cmp byte [ecx + 1], 0xa
jne 0x40471d
inc ecx
jmp 0x40471d
movzx eax, al
movsx eax, byte [eax + 0x418208]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4046f7
cmp edx, ebx
jne 0x4046f7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x40474e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401171
leave
ret
Function at 0x4071db
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x418ee8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40721b
cmp byte [ebx], 0xa
jne 0x40721b
or byte [edi + eax + 0x28], 4
jmp 0x407220
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x40731f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x407302
inc eax
cmp dl, 0xd
je 0x40724c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x407272
cmp eax, ecx
jae 0x407280
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x407234
jmp 0x40731f
push 0
lea eax, [ebp - 0x10]
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 0x4072fd
cmp dword [ebp - 0x10], 0
je 0x4072fd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x418ee8]
test byte [eax + edi + 0x28], 0x48
je 0x4072d7
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4072c2
mov byte [esi], dl
jmp 0x4072d3
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x418ee8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x40731f
cmp byte [ebp - 1], 0xa
jne 0x4072e6
cmp esi, ebx
jne 0x4072e6
mov byte [esi], 0xa
jmp 0x40731e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00406b54
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x40731f
mov byte [esi], 0xd
jmp 0x40731e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x418ee8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x40731c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x40731f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x407328
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x418ee8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40736e
cmp word [ebx], dx
jne 0x40736e
or byte [eax + edi + 0x28], 4
jmp 0x407373
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4074d6
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4074b6
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4073b4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4073ea
cmp eax, edx
jae 0x4073f8
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x40738f
jmp 0x4074d6
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4074b1
cmp dword [ebp - 0x18], 0
je 0x4074b1
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x418ee8]
test byte [eax + edi + 0x28], 0x48
je 0x407487
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x40744b
mov word [esi], cx
jmp 0x407482
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x418ee8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x418ee8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x418ee8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4074d6
pop eax
cmp word [ebp - 4], ax
jne 0x407497
cmp esi, ebx
jne 0x407497
mov word [esi], ax
jmp 0x4074d3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00406b54
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4074d6
push 0xd
pop eax
jmp 0x407492
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x418ee8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4074d0
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4074d6
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x409f29
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 0x409fc6
push ebx
push esi
call fcn.00409ef2
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.00409e86
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x409f73
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409fc5
push edi
push eax
call fcn.004089f7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x409f93
call fcn.00407d4d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409fc4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00409e86
add esp, 0x20
test eax, eax
jne 0x409fb2
push edi
call fcn.00407d4d
jmp 0x409fba
push ebx
call fcn.00407d4d
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 0x40b228
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413008
push 0x413000
push str.FlsAlloc
push 0x1f
call fcn.0040b0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b25c
push dword [ebp + 8]
mov ecx, esi
call dword [0x41111c]
call esi
jmp 0x40b262
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b2a6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413018
push 0x413010
push str.FlsGetValue
push 0x21
call fcn.0040b0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b2dd
push dword [ebp + 8]
mov ecx, esi
call dword [0x41111c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b2e5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413020
push 0x413018
push str.FlsSetValue
push 0x22
call fcn.0040b0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b31f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41111c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e735
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0040e6b1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x40e8a4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x40e8a4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x40e859
jg 0x40e791
test eax, eax
je 0x40e84f
push 1
push 0x1000
call fcn.00408a45
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40e7b4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x40e846
push 0x8000
push ebx
call fcn.00405cac
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x40e7dd
jg 0x40e7d8
cmp ecx, 0x1000
jb 0x40e7dd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0040ca45
add esp, 0x10
cmp eax, 0xffffffff
je 0x40e822
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 0x40e7d8
jl 0x40e809
test ecx, ecx
jne 0x40e7ca
push dword [ebp - 0xc]
push ebx
call fcn.00405cac
push esi
call fcn.00407d4d
add esp, 0xc
xor ebx, ebx
jmp 0x40e8b2
cmp byte [edi + 0x24], 0
je 0x40e839
cmp dword [edi + 0x20], 5
jne 0x40e839
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x40e844
mov ebx, dword [edi + 0x18]
jmp 0x40e846
xor ebx, ebx
push esi
call fcn.00407d4d
pop ecx
jmp 0x40e8b2
test ecx, ecx
jg 0x40e81b
jl 0x40e859
test eax, eax
jae 0x40e81b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00406b54
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40e879
cmp byte [edi + 0x1c], 0
je 0x40e81b
jmp 0x40e8aa
push ebx
call fcn.0040a809
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x40e81b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x40e8b2
cmp byte [edi + 0x1c], 0
je 0x40e8af
mov ebx, dword [edi + 0x18]
jmp 0x40e8b2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00406b54
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410b70
Capabilities:
Parse pe header

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

Disassembly:
push dword [edi]
mov dx, cx
pop esi
mov cx, di
sub esi, 0xaefb700
cmc
add esi, 0x23832a69
xor esi, 0x3faf1815
mov ecx, eax
mov dword [edi], esi
mov dl, ah
sub edi, 0x6b1bcc3e
mov ecx, esi
add edi, 0x6b1bcc3a
pushal
mov bx, 0x5899
call fcn.00fc5b05
xchg esp, eax
add byte [ebx - 0x1c], ah
neg byte [ebp - 0x5e48bf03]
mov al, byte [eax]
sub al, 0xe2
dec edx
sub dh, ah
mov ecx, 0x5f618554
pop edx
popal
sub eax, 1
jne 0xfc5aba
mov dl, 0xf0
sti
mov eax, 0x3bc18a34
mov edx, 0x2a0725be
mov eax, 0x1e8c5893
jmp 0xfc5d6d
invalid

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x18892727
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x692815f6
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401140
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.kernel32
call esi
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40116e
push 0x800
call eax
push 0x411d8c
call esi
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0
test eax, eax
je 0x4011e8
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0x411e2c
push 0x411e3c
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x411e4c
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 4]
push edx
push 0x411dfc
push 0x411e1c
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401207
lea eax, [esp + 4]
push eax
push 0x411dfc
push 0x411e1c
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x411e0c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push str._RESOLVER
call fcn.00401010
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
push str._ENTRYPOINT
call fcn.00401010
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401a94
Capabilities:
Parse pe header

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

Function at 0x40bf80
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4168de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x38]
push eax
push 8
call dword [sym.imp.kernel32.dll_GetTempPathA]
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov edx, dword [ebp - 0x34]
push edx
call fcn.00416959
add esp, 4
call fcn.00417e25
mov dword [ebp - 0x54], 0
jmp 0x416949
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x64
jae 0x416951
jmp 0x416940
sub eax, eax
mov esp, ebp
pop ebp
ret 0x10