joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1037236
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
mov ebx, 0xffff
mov edi, 0x80070000
test eax, eax
je 0x103726e
cmp eax, 0xffffffff
jne 0x1037286
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x103727c
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jl 0x103739c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x103729e
cmp eax, 0xffffffff
jne 0x10372b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10372ac
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jl 0x103736c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x10372d0
mov esi, 0x80004005
jmp 0x103736c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
test eax, eax
ja 0x10372f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10372f1
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jl 0x103736c
push dword [ebp + 8]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x103730e
cmp eax, 0xffffffff
jne 0x1037322
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x103731c
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jl 0x103736c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0x1037337
cmp eax, 0xffffffff
jne 0x103734b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1037345
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jl 0x103736c
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 8]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp + 0x14]
push 1
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x103737c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp - 8], edi
je 0x103738a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, edi
jge 0x103739c
cmp dword [ebp - 4], edi
je 0x103739c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x103764d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x1009618
push 0x80000002
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov ebx, 0xffff
mov edi, 0x80070000
test esi, esi
je 0x103769c
jle 0x1037694
and esi, ebx
or esi, edi
test esi, esi
jl 0x103771e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x10095f4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10376cb
jle 0x10376c0
and eax, ebx
or eax, edi
test eax, eax
jge 0x10376cb
mov dword [ebp - 4], 2
push 4
lea eax, [ebp - 4]
push eax
push 0x4d
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10376f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10376ee
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jl 0x103771e
push 4
lea eax, [ebp - 4]
push eax
push 0x58
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x103771e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x103771c
and eax, ebx
or eax, edi
mov esi, eax
cmp dword [ebp - 8], 0
je 0x103772d
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x10385cc
Capabilities:
Check http status code
Read http header
Receive http response

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x14], ebx
je 0x1038604
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10385f9
sub eax, edx
jmp 0x1038606
xor eax, eax
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0103812d
mov esi, eax
cmp esi, ebx
jl 0x1038725
push ebx
push dword [ebp - 4]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x103865a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1038650
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x1038725
push ebx
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x1c]
mov dword [ebp + 0x14], 4
push ebx
push 0x20000013
push dword [ebp - 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x103869a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1038690
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x1038725
mov ebx, 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
test eax, eax
jne 0x10386bd
mov esi, 0x8007000e
jmp 0x1038723
mov edi, dword [ebp + 0x18]
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x10386ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10386e9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x1038723
cmp dword [ebp + 0x14], 0
jbe 0x1038711
mov eax, dword [edi]
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x14]
push dword [ebp - 8]
push edi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jl 0x1038723
cmp dword [ebp + 0x14], 0
ja 0x10386c0
mov eax, dword [edi]
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [eax + 0x14]
mov esi, eax
xor ebx, ebx
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0xc], ebx
je 0x1038735
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 0x10], ebx
je 0x103873f
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 4], ebx
je 0x1038749
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], ebx
je 0x103875f
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, ebx
jl 0x1038773
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0xc8
je 0x1038773
xor eax, eax
inc eax
jmp 0x1038775
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x1038e81
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__read]
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x1038ead
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x1039362
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcschr]
push 0x5c
lea eax, [ebx + 8]
push eax
jmp 0x10393c5
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1039396
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x103939a
xor eax, eax
jmp 0x10393ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10393ae
and eax, 0xffff
or eax, 0x80070000
push 0x5c
pop ecx
mov word [esi], cx
test eax, eax
jge 0x10393bf
cmp eax, 0x800700b7
jne 0x10393d1
push 0x5c
add esi, 2
push esi
call edi
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x103937b
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x103ea79
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x103eaba
push ebx
movzx edx, byte [ecx]
dec eax
inc ecx
movzx ebx, byte [ecx]
shl ebx, 8
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
test eax, eax
jg 0x103ea93
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x103ead8
dec esi
je 0x103eacf
dec esi
jne 0x103eadd
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x103ffcd
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
and dword [ebx + 0x28], 0
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 4], eax
xor eax, eax
cmp byte [ebp + 0x24], 0
mov word [ebx + 0xc], ax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x24], ecx
mov esi, 0x8000
jne 0x104001d
push esi
push eax
add eax, esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor eax, eax
and dword [ebx + 0x30], eax
mov word [ebx + 0x2c], ax
call fcn.0103fa04
and dword [ebx + 0x20], 0
mov eax, esi
push 2
mov word [ebx + 0x3c], ax
mov eax, dword [ebx + 0x14]
pop ecx
mov dword [ebx + 0x34], esi
add eax, esi
push edi
movzx edi, byte [eax]
mov edx, dword [ebx + 0x20]
shl edx, 5
xor edx, edi
and edx, 0x7fff
inc eax
dec ecx
mov dword [ebx + 0x20], edx
jne 0x1040041
cmp byte [ebp + 0x24], cl
je 0x1040067
mov edi, ebx
call fcn.0103f845
jmp 0x1040079
xor eax, eax
mov ecx, esi
mov edx, dword [ebx + 0x18]
xor edi, edi
mov word [eax + edx], di
inc eax
inc eax
dec ecx
jne 0x104006b
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.0103ec05
push 0x4b
pop edx
call fcn.0103ec05
call fcn.0103fd4a
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
pop edi
je 0x10400b8
mov eax, dword [ebx + 0x14]
push esi
lea ecx, [eax + 0x8000]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x28]
neg eax
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24
Function at 0x10425f9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x104e070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc88], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0xc8c], eax
mov eax, dword [esi + 0x870]
add eax, 0x20
mov ecx, eax
shl ecx, 3
mov dword [ebp - 0xc9c], ecx
cmp ecx, 0x320
jb 0x1042646
xor eax, eax
jmp 0x1042828
push ebx
push edi
mov edi, eax
shl edi, 4
push edi
lea eax, [ebp - 0xc84]
push 0
push eax
call sub.msvcrt.dll_memset
push edi
lea eax, [ebp - 0x644]
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0x18]
add esp, 0x18
test ecx, ecx
jbe 0x10427a5
mov eax, dword [ebp + 0x14]
mov ebx, dword [esi + 0x34]
mov edi, dword [esi + 0x30]
shl eax, 2
mov dword [ebp - 0xc90], eax
mov eax, dword [ebp + 0x10]
shl eax, 2
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc98], ecx
jmp 0x10426a5
mov eax, dword [ebp - 0xc94]
mov ecx, dword [ebp - 0xc88]
and ecx, 7
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc88]
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x10426cf
mov eax, dword [ebp - 0xc88]
movzx eax, byte [edi + eax]
jmp 0x1042713
mov ecx, dword [ebp - 0xc88]
cmp byte [edi + ecx], 7
mov ecx, dword [esi + 0x2c]
push dword [ecx + eax]
push esi
jae 0x10426fd
call fcn.01040883
mov ecx, dword [ebp - 0xc88]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x104270c
call fcn.01040883
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc94], 4
inc dword [ebp - 0xc88]
lea eax, [ebp + eax*2 - 0xc84]
inc word [eax]
mov eax, dword [ebp - 0xc8c]
xor edx, edx
mov ecx, eax
and ecx, 7
inc edx
shl edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x1042745
movzx eax, byte [edi + eax]
jmp 0x1042789
cmp byte [edi + eax], 7
mov ecx, dword [ebp - 0xc90]
mov eax, dword [esi + 0x2c]
push dword [eax + ecx]
push esi
jae 0x1042773
call fcn.01040883
mov ecx, dword [ebp - 0xc8c]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x1042782
call fcn.01040883
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc90], 4
inc dword [ebp - 0xc8c]
lea eax, [ebp + eax*2 - 0x644]
inc word [eax]
dec dword [ebp - 0xc98]
jne 0x104269f
xor esi, esi
xor ebx, ebx
cmp dword [ebp - 0xc9c], esi
jbe 0x1042824
mov edi, 0x100
movzx eax, word [ebp + esi*2 - 0xc84]
mov ecx, edi
cmp ax, cx
movzx eax, ax
jae 0x10427d1
movzx eax, byte [eax + 0x100a0b0]
jmp 0x10427de
shr eax, 8
movzx eax, byte [eax + 0x100a0b0]
add eax, 8
movzx ecx, word [ebp + esi*2 - 0x644]
mov edx, edi
cmp cx, dx
movzx ecx, cx
jae 0x10427f9
movzx ecx, byte [ecx + 0x100a0b0]
jmp 0x1042806
shr ecx, 8
movzx ecx, byte [ecx + 0x100a0b0]
add ecx, 8
mov eax, dword [eax*4 + 0x100a068]
sub eax, dword [ecx*4 + 0x100a068]
cdq
xor eax, edx
sub eax, edx
add ebx, eax
inc esi
cmp esi, dword [ebp - 0xc9c]
jb 0x10427b6
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01036539
leave
ret 0x14
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x527120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6000]
push edi
or ebp, 0xffffffff
jmp 0x527142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x527149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x527138
mov eax, 1
add ebx, ebx
jne 0x52715b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x527150
jne 0x52716c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x527150
xor ecx, ecx
sub eax, 3
jb 0x527180
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5271f2
mov ebp, eax
add ebx, ebx
jne 0x52718b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x527198
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5271bc
inc ecx
add ebx, ebx
jne 0x5271a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52719d
jne 0x5271b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52719d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5271dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5271cd
jmp 0x52713e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5271dc
add edi, ecx
jmp 0x52713e
pop esi
mov edi, esi
mov ecx, 7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5271fa
cmp byte [edi], 0x34
jne 0x5271fa
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 0x5271ff
lea edi, [esi + 0x125000]
mov eax, dword [edi]
or eax, eax
je 0x527277
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b94c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b988]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52722c
mov ecx, edi
jns 0x52725b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b98c]
or eax, eax
je 0x527271
mov dword [ebx], eax
add ebx, 4
jmp 0x527249
call dword [esi + 0x12b99c]
mov ebp, dword [esi + 0x12b990]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x5272ab
sub esp, 0xffffff80
jmp 0x40109c
Function at 0xc92058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc921a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc9207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc9206a
add dl, dl
jne 0xc92089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc920dc
xor eax, eax
add dl, dl
jne 0xc92096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc9217d
add dl, dl
jne 0xc920a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc920b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc920bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc920c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc920d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc92075
mov eax, 1
add dl, dl
jne 0xc920ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc920f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc920e1
sub eax, ebx
mov ebx, 1
jne 0xc92128
mov ecx, 1
add dl, dl
jne 0xc9210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc92119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc92105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc92075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc9213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc9214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc92136
cmp eax, 0x7d00
jae 0xc9216d
cmp eax, 0x500
jb 0xc92168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc92075
cmp eax, 0x7f
ja 0xc92170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc92075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc9219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc92075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x416b91
Capabilities:
Encode data using xor

Disassembly:
pop ecx
ret
push ebp
mov ebp, esp
jnp 0x416b82
and byte [ebx + 0x57560845], cl
push 8
fnstsw word [esi + 0x419860]
lea edi, [ebp - 0x20]
xor al, 0x89
inc ebp
clc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test dword [ebp - 0xc], 0xf075ff50
push dword [ebp - 0x1c]
invalid
Function at 0x431d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d000]
push edi
jmp 0x431d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x431d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x431d10
mov eax, 1
add ebx, ebx
jne 0x431d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x431d28
jne 0x431d44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431d28
xor ecx, ecx
sub eax, 3
jb 0x431d58
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x431dca
mov ebp, eax
add ebx, ebx
jne 0x431d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x431d70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x431d94
inc ecx
add ebx, ebx
jne 0x431d80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x431d75
jne 0x431d91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431d75
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x431db4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x431da5
jmp 0x431d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x431db4
add edi, ecx
jmp 0x431d16
pop esi
mov edi, esi
mov ecx, 0x81f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431dd2
cmp byte [edi], 0xa
jne 0x431dd2
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 0x431dd7
lea edi, [esi + 0x2e000]
mov eax, dword [edi]
or eax, eax
je 0x431e4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x311dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31248]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431e04
mov ecx, edi
jns 0x431e33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x31250]
or eax, eax
je 0x431e49
mov dword [ebx], eax
add ebx, 4
jmp 0x431e21
call dword [esi + 0x3124c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x431e80
cmp al, 0xef
ja 0x431e73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x431e55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x431e62
mov ebp, dword [esi + 0x31254]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x431eb4
sub esp, 0xffffff80
jmp 0x40c835