joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c6d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0xc8
push 0xffffffffffffffff
push 0x1001bfcb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100301b0]
xor eax, ebp
mov dword [ebp + 0xc4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [0x100333c8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp]
push 0x40
push eax
call fcn.1000ec85
add esp, 0x14
lea edx, [ebp]
push edx
push 1
xor ecx, ecx
push esi
mov word [ebp + 0x80], cx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
je 0x1000c8bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000c76e
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e
lea ecx, [ebp + 0x86]
xor eax, eax
push esi
mov dword [ebp - 4], esi
push ecx
mov word [ebp + 0x84], ax
call fcn.1000e5a0
add esp, 0xc
push 0x1f
lea edx, [ebp + 0x84]
push edx
call fcn.1000c3c0
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x1000c7d5
lea edx, [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp + eax*2 + 0x84], cx
lea eax, [ebp + 0x84]
push 0x1002d020
push eax
call fcn.1000e8f7
add esp, 0xc
cmp eax, 1
jne 0x1000c7d5
mov eax, dword [ebp - 0x14]
mov dword [0x100333c8], eax
jmp 0x1000c8a5
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x1000c7ef
push 0x5c0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x1000c803
push ebx
push esi
call fcn.1000cb20
jmp 0x1000c805
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x100333c8], eax
test eax, eax
jne 0x1000c827
push 0x1002de18
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 1
call fcn.1000e06b
push eax
lea edx, [ebp + 0x84]
push 0x1002d020
push edx
mov edi, 1
call fcn.1000ed58
add esp, 0xc
lea esi, [ebp + 0x84]
call fcn.1000c500
test eax, eax
jne 0x1000c89e
push 0x1002de18
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 3
call fcn.1000e06b
call fcn.1000c5a0
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x100333c8]
test esi, esi
je 0x1000c88f
call fcn.1000cc00
mov dword [0x100333c8], 0
jmp 0x1000c896
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x1000c89c
ret
mov eax, dword [0x100333c8]
xor esi, esi
inc dword [eax + 0x5bc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp edi, esi
jne 0x1000c8bd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x100333c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
xor ecx, ebp
call fcn.1000d16f
add ebp, 0xc8
mov esp, ebp
pop ebp
ret
Function at 0x1000c8f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bf40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100301b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x100333c8]
xor edi, edi
cmp ecx, edi
jne 0x1000c93b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x1000c948
mov dword [ebp - 0x14], edi
jmp 0x1000c960
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x1000c9f6
mov ecx, dword [0x100333c8]
mov eax, dword [ecx]
cmp eax, edi
je 0x1000c927
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000c927
mov ebx, 0x100333c8
mov dword [ebp - 4], edi
call fcn.1000ca10
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x1000c99e
push 0x1002de18
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.1000e06b
mov ecx, dword [0x100333c8]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x1000c9b8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x1000c9e2
push 0x1002de18
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.1000e06b
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1000c9d9
call fcn.1000cd20
mov eax, 0x1000c9df
ret
mov eax, dword [0x100333c8]
mov eax, dword [eax]
test eax, eax
je 0x1000c9f4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ca10
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x1000ca3d
xor ecx, ecx
jmp 0x1000ca49
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x1000cafd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x1000ca70
mov dword [esp + 0xc], esi
jmp 0x1000cad0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x1000cac9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1000cabc
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x1000cad0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000cad0
push 0x1002d028
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1000cad0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x1000caf3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x1000ca62
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x1000cb11
mov ecx, dword [ebx]
add ecx, 8
call fcn.1000cc50
test eax, eax
je 0x1000cb11
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x1000cb20
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x1001bf9b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100301b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.1000e5a0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x1000cbb8
push 0x1002de18
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.1000e06b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x1000d16f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100301b0]
jne 0x1000d179
repz ret
jmp fcn.1000f4dd
Function at 0x1001865d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000f78a
and dword [ebp - 4], 0
cmp dword [0x10032280], 0
mov ebx, eax
jne 0x1001870e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100187bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100187bf
push eax
call fcn.1000f718
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10032280], eax
call esi
push eax
call fcn.1000f718
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10032284], eax
call esi
push eax
call fcn.1000f718
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10032288], eax
call esi
push eax
call fcn.1000f718
pop ecx
mov dword [0x10032290], eax
test eax, eax
je 0x1001870e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000f718
pop ecx
mov dword [0x1003228c], eax
mov eax, dword [0x1003228c]
cmp eax, ebx
je 0x10018766
cmp dword [0x10032290], ebx
je 0x10018766
push eax
call fcn.1000f793
push dword [0x10032290]
mov esi, eax
call fcn.1000f793
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10018766
test edi, edi
je 0x10018766
call esi
test eax, eax
je 0x1001875d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001875d
test byte [ebp - 0xc], 1
jne 0x10018766
or dword [ebp + 0x10], 0x200000
jmp 0x1001879f
mov eax, dword [0x10032284]
cmp eax, ebx
je 0x1001879f
push eax
call fcn.1000f793
pop ecx
test eax, eax
je 0x1001879f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001879f
mov eax, dword [0x10032288]
cmp eax, ebx
je 0x1001879f
push eax
call fcn.1000f793
pop ecx
test eax, eax
je 0x1001879f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10032280]
call fcn.1000f793
pop ecx
test eax, eax
je 0x100187bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100187c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x3fac5af9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..text
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x12b1edb
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40a040
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x21db16d4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub eax, 0x8fcbab71
je 0x40a208
jmp 0x40a06a
mov eax, dword [ebp - 0x20]
sub eax, 0x96d90cc2
je 0x40a19f
jmp 0x40a07d
mov eax, dword [ebp - 0x20]
sub eax, 0xac554d51
je 0x40a253
jmp 0x40a090
mov eax, dword [ebp - 0x20]
sub eax, 0xbfd946d5
je 0x40a271
jmp 0x40a0a3
mov eax, dword [ebp - 0x20]
sub eax, 0xe503aa92
je 0x40a26b
jmp 0x40a0b6
mov eax, dword [ebp - 0x20]
sub eax, 0xfd55a98d
je 0x40a159
jmp 0x40a0c9
mov eax, dword [ebp - 0x20]
sub eax, 0xadc5f15
je 0x40a25f
jmp 0x40a0dc
mov eax, dword [ebp - 0x20]
sub eax, 0x1696ba4e
je 0x40a21a
jmp 0x40a0ef
mov eax, dword [ebp - 0x20]
sub eax, 0x21db16d4
je 0x40a12d
jmp 0x40a102
mov eax, dword [ebp - 0x20]
sub eax, 0x3159bb1c
je 0x40a1ed
jmp 0x40a115
mov eax, dword [ebp - 0x20]
sub eax, 0x50954a63
je 0x40a238
jmp 0x40a128
jmp 0x40a278
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 0x18], 0xfd55a98d
jmp 0x40a278
mov eax, dword [0x433584]
mov ecx, dword [0x433580]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xbfd946d5
mov ecx, 0x96d90cc2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40a278
mov eax, dword [0x433584]
mov ecx, dword [0x433580]
mov edx, eax
add edx, 0xde9bf24a
sub edx, 1
sub edx, 0xde9bf24a
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xbfd946d5
mov ecx, 0x3159bb1c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40a278
mov dl, byte [ebp - 0xd]
mov eax, 0xe503aa92
mov ecx, 0x8fcbab71
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40a278
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x1696ba4e
jmp 0x40a278
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x50954a63
jmp 0x40a278
mov edx, dword [ebp - 8]
mov eax, 0xac554d51
mov ecx, 0xadc5f15
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40a278
mov dword [ebp - 0x18], 0xe503aa92
jmp 0x40a278
mov dword [ebp - 0x18], 0xe503aa92
jmp 0x40a278
add esp, 0x20
pop esi
pop ebp
ret
mov dword [ebp - 0x18], 0x96d90cc2
jmp 0x40a054
Function at 0x41c8d8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41c917
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c917
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c917
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41c917
cmp dword [ecx + 0x74], 0xe
jbe 0x41c917
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42407b
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 0x424118
push ebx
push esi
call fcn.00424044
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.00423fd8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4240c5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424117
push edi
push eax
call fcn.00422b10
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4240e5
call fcn.00422b5e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424116
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00423fd8
add esp, 0x20
test eax, eax
jne 0x424104
push edi
call fcn.00422b5e
jmp 0x42410c
push ebx
call fcn.00422b5e
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 0x425327
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d9a0
push 0x42d998
push str.FlsAlloc
push 0x1f
call fcn.004251e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42535b
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b144]
call esi
jmp 0x425361
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4253a5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d9b0
push 0x42d9a8
push str.FlsGetValue
push 0x21
call fcn.004251e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4253dc
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4253e4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d9b8
push 0x42d9b0
push str.FlsSetValue
push 0x22
call fcn.004251e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42541e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42b144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42a710
Capabilities:
Parse pe header

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

Function at 0x47d1c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4a000]
push edi
jmp 0x47d1da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47d1e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d1d0
mov eax, 1
add ebx, ebx
jne 0x47d1f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47d204
jne 0x47d223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d223
dec eax
add ebx, ebx
jne 0x47d210
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47d1e8
add ebx, ebx
jne 0x47d21f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47d275
xor ecx, ecx
sub eax, 3
jb 0x47d23b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47d2aa
sar eax, 1
mov ebp, eax
jmp 0x47d246
add ebx, ebx
jne 0x47d246
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d214
inc ecx
add ebx, ebx
jne 0x47d254
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d214
add ebx, ebx
jne 0x47d261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47d256
jne 0x47d272
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d256
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47d294
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47d286
jmp 0x47d1d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47d294
add edi, ecx
jmp 0x47d1d6
pop esi
mov edi, esi
mov ecx, 0x32cb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47d2b2
cmp byte [edi], 0xe
jne 0x47d2b2
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 0x47d2b7
lea edi, [esi + 0x7a000]
mov eax, dword [edi]
or eax, eax
je 0x47d32f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81aec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x81bb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47d2e4
mov ecx, edi
jns 0x47d313
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 + 0x81bb8]
or eax, eax
je 0x47d329
mov dword [ebx], eax
add ebx, 4
jmp 0x47d301
call dword [esi + 0x81bc8]
mov ebp, dword [esi + 0x81bbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x47d363
sub esp, 0xffffff80
jmp 0x43f47b
Function at 0x54a730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xed000]
push edi
jmp 0x54a74a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54a751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a740
mov eax, 1
add ebx, ebx
jne 0x54a763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54a774
jne 0x54a793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a793
dec eax
add ebx, ebx
jne 0x54a780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54a758
add ebx, ebx
jne 0x54a78f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54a7e5
xor ecx, ecx
sub eax, 3
jb 0x54a7ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54a81a
sar eax, 1
mov ebp, eax
jmp 0x54a7b6
add ebx, ebx
jne 0x54a7b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a784
inc ecx
add ebx, ebx
jne 0x54a7c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a784
add ebx, ebx
jne 0x54a7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54a7c6
jne 0x54a7e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54a7c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54a804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54a7f6
jmp 0x54a746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54a804
add edi, ecx
jmp 0x54a746
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54a822
cmp byte [edi], 0x11
jne 0x54a822
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 0x54a827
lea edi, [esi + 0x143000]
mov eax, dword [edi]
or eax, eax
je 0x54a89f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1af678]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1af7f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54a854
mov ecx, edi
jns 0x54a883
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 + 0x1af7f8]
or eax, eax
je 0x54a899
mov dword [ebx], eax
add ebx, 4
jmp 0x54a871
call dword [esi + 0x1af808]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x54a8d0
cmp al, 0xef
ja 0x54a8c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54a8a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x54a8b2
mov ebp, dword [esi + 0x1af7fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x54a904
sub esp, 0xffffff80
jmp 0x420577