joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52fa1c
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 + 0x5a1df0]
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 0x52fa62
cmp word [ebx], dx
jne 0x52fa62
or byte [eax + edi + 0x28], 4
jmp 0x52fa67
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 0x52fbca
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 0x52fbaa
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x52faa8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x52fade
cmp eax, edx
jae 0x52faec
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 0x52fa83
jmp 0x52fbca
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 0x52fba5
cmp dword [ebp - 0x18], 0
je 0x52fba5
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x5a1df0]
test byte [eax + edi + 0x28], 0x48
je 0x52fb7b
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 0x52fb3f
mov word [esi], cx
jmp 0x52fb76
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x5a1df0]
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 + 0x5a1df0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x5a1df0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x52fbca
pop eax
cmp word [ebp - 4], ax
jne 0x52fb8b
cmp esi, ebx
jne 0x52fb8b
mov word [esi], ax
jmp 0x52fbc7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00529bb6
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x52fbca
push 0xd
pop eax
jmp 0x52fb86
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x5a1df0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x52fbc4
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x52fbca
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 0x531c38
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x575afc
push 0x575af4
push str.FlsAlloc
push 0x1f
call fcn.00531a63
mov esi, eax
add esp, 0x10
test esi, esi
je 0x531c6c
push dword [ebp + 8]
mov ecx, esi
call dword [0x5547c0]
call esi
jmp 0x531c72
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x531cb6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x575b0c
push 0x575b04
push str.FlsGetValue
push 0x21
call fcn.00531a63
mov esi, eax
add esp, 0x10
test esi, esi
je 0x531ced
push dword [ebp + 8]
mov ecx, esi
call dword [0x5547c0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x531cf5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x575b14
push 0x575b0c
push str.FlsSetValue
push 0x22
call fcn.00531a63
mov esi, eax
add esp, 0x10
test esi, esi
je 0x531d2f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5547c0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x536ab8
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.00536a34
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x536c27
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x536c27
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x536bdc
jg 0x536b14
test eax, eax
je 0x536bd2
push 1
push 0x1000
call fcn.00531727
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x536b37
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x536bc9
push 0x8000
push ebx
call fcn.0052dfc9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x536b60
jg 0x536b5b
cmp ecx, 0x1000
jb 0x536b60
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00530b39
add esp, 0x10
cmp eax, 0xffffffff
je 0x536ba5
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 0x536b5b
jl 0x536b8c
test ecx, ecx
jne 0x536b4d
push dword [ebp - 0xc]
push ebx
call fcn.0052dfc9
push esi
call fcn.00531784
add esp, 0xc
xor ebx, ebx
jmp 0x536c35
cmp byte [edi + 0x24], 0
je 0x536bbc
cmp dword [edi + 0x20], 5
jne 0x536bbc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x536bc7
mov ebx, dword [edi + 0x18]
jmp 0x536bc9
xor ebx, ebx
push esi
call fcn.00531784
pop ecx
jmp 0x536c35
test ecx, ecx
jg 0x536b9e
jl 0x536bdc
test eax, eax
jae 0x536b9e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00529bb6
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x536bfc
cmp byte [edi + 0x1c], 0
je 0x536b9e
jmp 0x536c2d
push ebx
call fcn.005369ca
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x536b9e
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 0x536c35
cmp byte [edi + 0x1c], 0
je 0x536c32
mov ebx, dword [edi + 0x18]
jmp 0x536c35
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00529bb6
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5377f3
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x599680]
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 0x53783e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0053798e
test al, al
jne 0x537838
sub edx, 2
cmp edx, edi
jne 0x53781e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x537860
lea eax, [edi + 2]
cmp edx, eax
je 0x537860
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0053773f
add esp, 0x10
jmp 0x53795a
push esi
lea ecx, [ebp - 0x255]
call fcn.0053798e
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 0x5378a3
push dword [ebp - 0x25c]
jmp 0x537850
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 0x5378e0
cmp word [ebp - 0x226], 0
je 0x537901
cmp word [ebp - 0x226], ax
jne 0x5378e0
cmp word [ebp - 0x224], 0
je 0x537901
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0053773f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x53794d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5378ba
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x537935
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x53795a
push 0x53756f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.005272d0
add esp, 0x10
jmp 0x53792a
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.00509f60
leave
ret

Function at 0x538270
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x538281
pop esi
ret
push ebx
push edi
push esi
call fcn.00538239
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00532371
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x5382a9
push ebx
push esi
push edi
call fcn.0050bfe0
add esp, 0xc
push 0
call fcn.00531784
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x538679
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005382be
Function at 0x53a7f7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0053388f
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x53a866
cmp esi, dword [ebp - 4]
je 0x53a861
cmp dword [ebp + 0xc], 0
je 0x53a861
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x53a83e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0053a349
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x53a868
xor eax, eax
inc eax
jmp 0x53a868
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x53a8cd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x599680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0053388f
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0053388f
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x53a944
cmp word [ecx], dx
je 0x53a944
mov eax, dword [0x57a59c]
push edi
dec eax
push eax
push 0x57a488
call fcn.0053a86c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x53a9b7
cmp word [eax], dx
je 0x53a9b7
mov eax, dword [edi]
test eax, eax
je 0x53a968
cmp word [eax], dx
je 0x53a968
lea eax, [ebp - 0x10]
push eax
call fcn.0053a24f
jmp 0x53a971
lea eax, [ebp - 0x10]
push eax
call fcn.0053a2ea
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x53a9e1
mov eax, dword [0x57a484]
push dword [ebp - 0x14]
dec eax
push eax
push 0x57a178
call fcn.0053a86c
add esp, 0xc
test al, al
je 0x53a9e1
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x53a9ac
cmp word [eax], di
je 0x53a9ac
lea eax, [ebp - 0x10]
push eax
call fcn.0053a24f
pop ecx
jmp 0x53a9e3
lea eax, [ebp - 0x10]
push eax
call fcn.0053a2ea
jmp 0x53a9a9
mov eax, dword [edi]
test eax, eax
je 0x53a9ce
cmp word [eax], dx
je 0x53a9ce
lea eax, [ebp - 0x10]
push eax
call fcn.0053a204
pop ecx
jmp 0x53a9e1
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x53aaac
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0053a6f1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x53aaac
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x53aaac
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x53aaac
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x53aa39
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00531ed1
test ebx, ebx
je 0x53aaa7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00531ed1
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x53aaac
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x53aaac
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0053f069
add esp, 0x10
xor eax, eax
inc eax
jmp 0x53aaae
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00509f60
leave
ret
Function at 0x53ed64
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x599680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x53eda7
call fcn.0051c938
mov dword [eax], 0xf
call fcn.0051c94b
mov dword [eax], 0xd
call fcn.0051c84d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00509f60
leave
ret
test eax, eax
jne 0x53edae
inc eax
jmp 0x53ed9b
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x53ed99
xor eax, eax
cmp ecx, 1
setne al
jmp 0x53ed9b

Function at 0x540270
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x5402ad
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop word [eax + eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x59a9c0]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x540290
pop edi
mov ecx, dword [eax + 0x34]
mov byte [ecx + eax + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x54035c
sub ecx, 1
je 0x540340
sub ecx, 1
je 0x540318
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
inc edx
mov dword [eax + 0x44], edx
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov esi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
Function at 0x54a170
Capabilities:
Parse pe header

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

Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x416428
sub esp, 0xffffff80
jmp 0x405dd2
Function at 0x40c385
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov edi, ebp
mov ebp, 0x89080857
xlatb
mov ecx, dword ds:[eax]
or byte [ecx + 0x91ae4d7], cl
or byte [edi + 0x5b], ah
pop edi
mov ecx, esp
or al, 0x89
shr dword [ecx], cl
ror byte [eax], cl
or byte [ecx + 0x8d6a6f3], cl
or byte [ecx + 0x952d6d3], cl
or byte [ebx - 0x6d], ah
popfd
mov eax, 0x93070702
or dl, byte [ecx + 0x702b88d]
pop es
xchg ebx, eax
xchg ebp, eax
mov eax, 0x43070702
xchg ebp, eax
cwde
cli
pop es
pop es
jl 0x40c3e4
xchg ebx, eax
popfd
mov eax, 0x8b070702
cmp byte [eax], 8
pop ss
invalid
or byte [eax], cl
pop eax
pop ebx
mov ecx, esp
or al, 0x89
invalid
Function at 0x4257a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5984d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x20]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0x5b6344
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0x5b6344
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
mov ecx, dword [edi + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004251f0
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00417900
push 0
lea ecx, [ebp - 0x24]
call int.004179d0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00427a40
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0x5b6344
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0x5b6344
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
mov esi, dword [edi + 0x2c]
add edi, 0x10
mov dword [ebp - 0x18], 0x5bcc5c
mov dword [ebp - 0x20], 0x5d5710
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [ebp - 0x14], 0x5bcfec
call dword [eax + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, edi
call fcn.00427a40
lea eax, [ebp - 0x38]
mov edx, edi
push eax
lea ecx, [ebp - 0x58]
call fcn.00427e40
push edi
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x48]
call fcn.00427e40
mov esi, dword [ebp - 0x10]
add esp, 8
cmp dword [ebp - 0x50], 0
jbe 0x4258f8
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00426020
cmp dword [ebp - 0x40], 0
mov ecx, esi
jbe 0x42590b
lea eax, [ebp - 0x48]
push eax
call fcn.00425ea0
jmp 0x425910
call fcn.00425cd0
push 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00417900
push 0
lea ecx, [ebp - 0x44]
call int.004179d0
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00417900
push 0
lea ecx, [ebp - 0x54]
call int.004179d0
push 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 7
call fcn.00417900
push 0
lea ecx, [ebp - 0x34]
call int.004179d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x429b90
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, ecx
call fcn.00591960
push 0
push 4
push edi
push 0x5919c0
push 0
push 0
call dword [0x5b4788]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x429bd5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [edi + 4], esi
pop edi
pop esi
pop ebx
ret 4
call fcn.0054c700
int3