joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444c18
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x444c20
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x444e21
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push esi
call sub.kernel32.dll_GlobalFindAtomA
mov word [0x44cf5c], ax
cmp word [0x44cf5c], 0
jne 0x444de8
call fcn.00402af0
mov eax, dword [0x44ad08]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
call fcn.00403024
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov eax, dword [0x44ad08]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.0043db28
push dword [ebp - 0x18]
push 0x444e3c
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040487c
mov eax, dword [ebp - 4]
call fcn.00408698
test al, al
jne 0x444cbe
lea eax, [ebp - 4]
mov edx, dword [0x44b054]
mov edx, dword [edx]
call fcn.00404594
lea edx, [ebp - 0xc]
mov eax, dword [0x44b120]
mov eax, dword [eax]
call fcn.004085b0
mov eax, dword [ebp - 0xc]
call fcn.004047bc
cmp eax, 0x13
jle 0x444ce7
lea edx, [ebp - 0xc]
mov eax, 0x444e48
call fcn.0043ea10
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404808
push 0
mov eax, dword [ebp - 8]
call fcn.004049bc
mov edi, eax
push edi
mov eax, dword [0x44b120]
mov eax, dword [eax]
call fcn.004049bc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x444db0
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0043fdfc
push esi
call sub.kernel32.dll_GlobalAddAtomA
mov word [0x44cf5c], ax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0040857c
mov eax, dword [ebp - 0x1c]
call fcn.004049bc
push eax
mov eax, edi
xor edx, edx
pop ecx
call fcn.0043ee98
test al, al
je 0x444d78
mov ebx, 1
lea edx, [ebp - 0x20]
mov eax, 0x444e5c
call fcn.0043ea10
mov eax, dword [ebp - 0x20]
call fcn.0043ea98
call fcn.00404368
jmp 0x444df9
lea edx, [ebp - 0x24]
mov eax, 0x444e78
call fcn.0043ea10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
call fcn.0043e7fc
mov edx, dword [ebp - 0x28]
pop eax
call fcn.004047c4
mov eax, dword [ebp - 0x24]
call fcn.0043ea98
mov ax, word [0x44cf5c]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x444df9
lea edx, [ebp - 0x2c]
mov eax, 0x444e90
call fcn.0043ea10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.0043e7fc
mov edx, dword [ebp - 0x30]
pop eax
call fcn.004047c4
mov eax, dword [ebp - 0x2c]
call fcn.0043ea98
mov ax, word [0x44cf5c]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x444df9
mov ax, word [0x44cf5c]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
mov ebx, 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444e28
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.00404520
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404520
ret
Function at 0x406310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x81027b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045dc
call fcn.00406f71
push 4
mov dword [esp + 0x18], 0
call fcn.00407c6f
mov edi, eax
add esp, 4
test edi, edi
je 0x406384
push ebx
call fcn.00406e49
mov dword [edi], eax
call fcn.00406c08
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f32
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406378
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f5a
pop ebx
jmp 0x406386
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4086e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8133d8]
jne 0x4086eb
repz ret
jmp fcn.0040c8cc
Function at 0x411b0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8133d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b43f
and dword [ebp - 0x14], 0
cmp dword [0x81580c], 0
mov dword [ebp - 0x18], eax
jne 0x411bbe
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c66
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x411c66
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x81580c], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x815810], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x815814], eax
call edi
push eax
call esi
mov dword [0x81581c], eax
test eax, eax
je 0x411bbe
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x815818], eax
mov eax, dword [0x815818]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c17
cmp dword [0x81581c], ecx
je 0x411c17
push eax
call esi
push dword [0x81581c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c17
test ebx, ebx
je 0x411c17
call edi
test eax, eax
je 0x411c0e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c0e
test byte [ebp - 8], 1
jne 0x411c17
or dword [ebp + 0x10], 0x200000
jmp 0x411c4a
mov eax, dword [0x815810]
cmp eax, dword [ebp - 0x18]
je 0x411c4a
push eax
call esi
test eax, eax
je 0x411c4a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c4a
mov eax, dword [0x815814]
cmp eax, dword [ebp - 0x18]
je 0x411c4a
push eax
call esi
test eax, eax
je 0x411c4a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81580c]
call esi
test eax, eax
je 0x411c66
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004086e1
leave
ret
Function at 0x80ec90
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9a558], 0x37
jne 0x80ed30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404138
push 0x404198
push 0x4041b8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9a55c]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81a5bc]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80ef50
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9a558]
mov ecx, dword [0x81a5bc]
sub esp, 0x47c
push ebx
push ebp
shr eax, 3
xor ebx, ebx
push esi
push edi
cmp eax, ebx
jbe 0x80f14d
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80ef86
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9a558], 0x1c
jne 0x80ef9d
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80efda
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb994dc], ebx
mov eax, dword [esp + 0x18]
add dword [0xb994dc], eax
mov edx, dword [0xb994dc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9a558], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80f074
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0xb9a558], 0x979
mov dword [0xb994e0], 0xff6b3619
mov dword [0xb994e4], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80f0c8
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0xb9a558]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x80f0ea
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80efd8
cmp eax, 0x8d4
jne 0x80f106
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9a558], 0x17
jne 0x80f13c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80ef80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x4132b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4132c7
pop dword [ebp - 0x50]
mov eax, 0xa5ddd50d
sub eax, 0xa59ca246
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x55a34
push 0
mov eax, 0x2a44c6fe
sub eax, 0x2a001442
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x5e8a
mov edx, eax
mov edi, 0xa18b6199
sub edi, 0xa142e399
add edi, dword [ebp - 0x50]
mov esi, 0x75e1fb68
mov dword [ebp - 0x20], 0xbde26a36
mov ebx, dword [edi]
mov dword [ebp - 0x14], 0x74d0399d
xor ebx, esi
xor dword [ebp - 0x30], 0x1a919b5f
mov dword [edx], ebx
xor dword [ebp - 0x38], 0xde1e921f
add edx, 0x3d22ab8a
sub edx, 0x3d22ab86
add edi, 4
loop 0x41331a
add eax, 0x4733e03f
add eax, 0xb8cd8cbc
xor ebx, ebx
add ebx, eax
add eax, 0x3c4b9328
sub eax, 0x3c4b9323
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x402e20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push 0x10
push 0
lea eax, [ebp - 0x2e8]
push eax
call fcn.00402820
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x338]
push ecx
call fcn.00402820
add esp, 0xc
lea edx, [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x338]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
call dword [0x29d10b8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x29d1080]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2f0], edx
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2ec], ecx
push 0x29d165c
push 0x29d1674
call dword [0x29d10b4]
push eax
call dword [0x29d1130]
mov dword [0x29d75c0], eax
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [0x29d75c0]
test eax, eax
je 0x402ed6
call fcn.00403870
call fcn.004057b0
push 0x40
push 0x3000
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
call dword [0x29d1064]
push 0
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
call dword [0x29d1060]
mov dword [ebp - 8], 0
jmp 0x402f37
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2ec]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x402f94
mov ecx, dword [ebp - 0x2f0]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
add eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 0xf8]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc]
push ecx
mov eax, dword [ebp - 0x2e8]
push eax
call dword [0x29d1060]
jmp 0x402f2e
mov dword [ebp - 0x2d8], 0x10007
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
call dword [0x29d10b0]
push 0
push 4
mov eax, dword [ebp - 0x2ec]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
call dword [0x29d1060]
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp - 0x2ec]
add ecx, dword [edx + 0x28]
mov dword [ebp - 0x228], ecx
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [0x29d10ac]
mov edx, dword [ebp - 0x2e4]
push edx
call dword [0x29d1148]
cmp eax, 0xffffffff
jne 0x40301f
call fcn.00403870
call fcn.004057b0
mov esp, ebp
pop ebp
ret
Function at 0x17115b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc86000]
push edi
jmp 0x17115ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x17115d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17115c0
mov eax, 1
add ebx, ebx
jne 0x17115e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x17115f4
jne 0x1711613
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711613
dec eax
add ebx, ebx
jne 0x1711600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x17115d8
add ebx, ebx
jne 0x171160f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1711665
xor ecx, ecx
sub eax, 3
jb 0x171162b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x171169a
sar eax, 1
mov ebp, eax
jmp 0x1711636
add ebx, ebx
jne 0x1711636
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711604
inc ecx
add ebx, ebx
jne 0x1711644
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711604
add ebx, ebx
jne 0x1711651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1711646
jne 0x1711662
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1711646
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1711684
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1711676
jmp 0x17115c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1711684
add edi, ecx
jmp 0x17115c6
pop esi
mov edi, esi
mov ecx, 0xa23a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x17116a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x17116a7
lea edi, [esi + 0x130d000]
mov eax, dword [edi]
or eax, eax
je 0x1711718
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x133d90c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x133dacc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x17116cd
mov ecx, edi
jns 0x17116fc
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 + 0x133dad4]
or eax, eax
je 0x1711712
mov dword [ebx], eax
add ebx, 4
jmp 0x17116ea
call dword [esi + 0x133dad0]
mov ebp, dword [esi + 0x133dad8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x171174c
sub esp, 0xffffff80
jmp 0x1024648
Function at 0x46ec40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40000]
mov dword [edi + 0x60fe8], 0xd370fa40
push edi
jmp 0x46ec6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46ec71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46ec60
mov eax, 1
add ebx, ebx
jne 0x46ec83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46ec94
jne 0x46ecb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46ecb3
dec eax
add ebx, ebx
jne 0x46eca0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46ec78
add ebx, ebx
jne 0x46ecaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46ed05
xor ecx, ecx
sub eax, 3
jb 0x46eccb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46ed3a
sar eax, 1
mov ebp, eax
jmp 0x46ecd6
add ebx, ebx
jne 0x46ecd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46eca4
inc ecx
add ebx, ebx
jne 0x46ece4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46eca4
add ebx, ebx
jne 0x46ecf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46ece6
jne 0x46ed02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46ece6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46ed24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46ed16
jmp 0x46ec66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46ed24
add edi, ecx
jmp 0x46ec66
pop esi
mov edi, esi
mov ecx, 0x1f9b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46ed42
cmp byte [edi], 0x11
jne 0x46ed42
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 0x46ed47
lea edi, [esi + 0x69000]
mov eax, dword [edi]
or eax, eax
je 0x46edbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6e570]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6e674]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46ed74
mov ecx, edi
jns 0x46eda3
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 + 0x6e678]
or eax, eax
je 0x46edb9
mov dword [ebx], eax
add ebx, 4
jmp 0x46ed91
call dword [esi + 0x6e688]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x46edf0
cmp al, 0xef
ja 0x46ede3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x46edc5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x46edd2
mov ebp, dword [esi + 0x6e67c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x46ee24
sub esp, 0xffffff80
jmp 0x411766
Function at 0x98b370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x98b38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x9b4074
push ecx
mov edi, eax
call fcn.0099f198
mov esi, eax
add esp, 8
test esi, esi
jne 0x98b3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0099f02e
push esi
call fcn.0099efb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret