joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x448641
cmp dword [ebp + 0xc], 0
je 0x448641
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jl 0x448646
jmp 0x4486e4
push 0x294
call fcn.00419c86
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push 0x294
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.0041a420
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x190
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x10], 0
je 0x4486b8
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x4486b8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
add eax, 0x1cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x448430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4486e4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x53f00674
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x72b24be6
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
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
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1309430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xe19015
lea edi, [esi - 0xa18015]
push edi
or ebp, 0xffffffff
jmp 0x1309452
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1309459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1309448
mov eax, 1
add ebx, ebx
jne 0x130946b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x130947c
jne 0x130949b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130949b
dec eax
add ebx, ebx
jne 0x1309488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1309460
add ebx, ebx
jne 0x1309497
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x13094ed
xor ecx, ecx
sub eax, 3
jb 0x13094b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1309522
sar eax, 1
mov ebp, eax
jmp 0x13094be
add ebx, ebx
jne 0x13094be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130948c
inc ecx
add ebx, ebx
jne 0x13094cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130948c
add ebx, ebx
jne 0x13094d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x13094ce
jne 0x13094ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x13094ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x130950c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x13094fe
jmp 0x130944e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x130950c
add edi, ecx
jmp 0x130944e
pop esi
mov edi, esi
mov ecx, 0x27017
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x130952a
cmp byte [edi], 0x44
jne 0x130952a
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 0x130952f
lea edi, [esi + 0xee4000]
mov eax, dword [edi]
or eax, eax
je 0x130959e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf09000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf09028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x130955c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf09030]
or eax, eax
je 0x1309598
mov dword [ebx], eax
add ebx, 4
jmp 0x1309579
call dword [esi + 0xf0902c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x13095d8
cmp al, 0xef
ja 0x13095c2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x13095a4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x13095b1
mov eax, dword [edi]
add edi, 4
jmp 0x13095b1
mov ebp, dword [esi + 0xf09034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x130960c
sub esp, 0xffffff80
jmp 0x459150
Function at 0x4b649c
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
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x4b64d9
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
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
dec eax
jne 0x4b64b6
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x4b64f5
dec esi
je 0x4b64ee
dec esi
jne 0x4b64fa
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
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 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x67a61753
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0xa1822aa
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x58e70f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421636
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x426a58]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], 0x4239c0
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x42c1d8]
push 0
push 2
push esi
push 0x42c1d8
mov dword [ebp - 4], 0
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax], cx
lea esi, [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov eax, dword [0x42c1d8]
push ecx
push 2
push esi
push 0x42c1d8
mov byte [ebp - 4], 2
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0x80000000
mov dword [edi + 0x38], ecx
mov dword [edi + 0x2c], 0xc
mov dword [edi + 0x30], 7
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x3c], ecx
lea ecx, [edi + 0x40]
mov dword [edi + 0x28], 0x4239a0
lea eax, [ecx + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], 0x102
mov dword [ecx], 0x42c1dc
mov dword [ecx + 8], 0x102
mov word [eax], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov dword [0x402452], eax
mov edx, eax
xor edi, edi
push 2
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
xor esi, esi
push dword [0x403583]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401036
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret
Function at 0x31d45d0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x31d45da
pushal
call 0x31d45e0
pop ebp
sub ebp, 0x10
sub ebp, 0x2dd45d0
jmp 0x31d45f6
mov eax, 0x2dd45d0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c8
mov edx, 0x269940b3
xor byte [eax], dl
inc eax
dec ecx
jne 0x31d460d
jmp 0x31d4620
cmp byte [esi + 0x38], bh
cmp cl, byte [edi + 0x32b3b3b3]
jb 0x31d4676
mov bl, 0xb3
mov bl, 0xb0
jle 0x31d463c
mov ah, 0xb3
mov bl, 0xb3
or dword [ebx + 0x44b3b3b3], ebx
push ecx
mov al, 0x7b
cmp byte [edx], dh
mov edi, 0xb0b3b3b3
jbe 0x31d4685
mov al, 0x76
xlatb
xlatb
xchg edi, eax
dec edi
cmp dh, byte [edi - 0x50241c69]
dec edi
xchg ebx, eax
mov bl, 0xdb
pop es
cli
cmpxchg dword [edx + 0x50db979f], esi
sbb byte [eax], cl
pop ebx
mov dh, 0xb3
mov bl, 0xb3
pop edx
xchg dword [ebx - 0x28c14c4d], esi
xchg edi, eax
dec edi
cmp bl, byte [edi + 0x385f3897]
mov ebx, 0x38b3b3b3
mov bl, 0xb3
mov bl, 0x38
mov edi, 0x38b3b3b3
mov dword ds:[0x72b3b3b3], eax
pop edx
jb 0x31d46e1
mov cl, 0x82
mov cl, 0x30
jno 0x31d4644
cli
mov esp, 0x4c4c4736
dec esp
cmp byte [edi - 0x6828c169], bl
mov bh, 0x71
mov edi, 0x973f38b3
mov bh, 0xb3
mov bl, 0xb3
fld xword [edi - 0x244c6cb1]
pop es
cli
cmpxchg dword [edx - 0x28c16861], esi
xchg edi, eax
dec edi
cmp bh, byte [edi - 0x4c49a469]
mov bl, 0xb3
pop edx
invalid
sub al, bh
cmp byte [edx - 0x80], 0x61
xor byte [ebx - 0x4a], bl
sti
mov esp, 0xb3b3fd37
mov bl, 0xbc
cmp edi, ebx
mov bl, 0xb3
mov bl, 0xd5
cmp byte [edi + 0x5b48338a], ch
mov esp, 0xb3b3a937
mov bl, 0xb3
mov bl, 0x33
dec eax
pop edx
mov esp, 0xb3b3a237
mov bl, 0xd5
xor cl, byte [eax + 0x4c]
xchg esi, eax
mov esp, 0xb3b3a637
mov bl, 0xf2
pop edx
jg 0x31d4768
dec esp
dec esp
lcall 0xb672, 0x30b28aff
xor byte [ebx - 0x49], bl
pop edx
push cs
dec esp
dec esp
dec esp
lcall 0xb572, 0x30b18ae7
xor byte [ecx - 0x49], bl
xor byte [ebx - 0x4a], bl
pop edx
sbb byte [esp + ecx*2 + 0x4c], cl
out dx, al
jno 0x31d4701
mov edi, 0x5f38e6b3
in eax, 0xe4
out 0x38, al
invalid
mov bl, 0xe6
cmp byte [edi - 0x1b], bl
in al, 0xe6
cmp dh, al
mov edi, 0x4fbbce38
add dword [ebx], esi
cmp dword [ebp - 0x4c4d8ace], esi
mov bl, 0xb3
cmp esi, dword [edx + esi - 0x4c4c4d8c]
mov bl, 8
mov cl, 0xb3
mov bl, 0xb3
mov cl, 0x61
popal
mov esp, 0xb3b3b636
mov bl, 0x39
movsd dword es:[edi], dword [esi]
cmc
mov eax, dword [0x6b30bc61]
dec esp
dec esp
dec esp
mov cl, 0x61
mov esp, 0xb3b3b636
mov bl, 0x39
movsd dword es:[edi], dword [esi]
cmc
mov eax, dword [0xd930bc61]
mov bl, 0xb3
mov bl, 0x80
jae 0x31d4741
popal
mov esp, 0xb3b3b636
mov bl, 0x39
movsd dword es:[edi], dword [esi]
cmc
mov eax, dword [0x9930bc61]
mov dl, 0xb3
mov bl, 0xb1
popal
mov esp, 0xb3b3b636
mov bl, 0x39
movsd dword es:[edi], dword [esi]
cmc
mov eax, dword [0xb173a061]
popal
mov esp, 0xb3b3b636
mov bl, 0x39
movsd dword es:[edi], dword [esi]
cmc
mov eax, dword [0xb173a061]
popal
mov esp, 0xb3b3b636
mov bl, 0x39
movsd dword es:[edi], dword [esi]
cmc
mov eax, dword [0xb173a061]
popal
mov esp, 0xb3b3b636
mov bl, 0x39
movsd dword es:[edi], dword [esi]
cmc
mov eax, dword [0xbc73a061]
aaa
mov ch, 0xb3
mov bl, 0xb3
cmp byte [eax + ebx*4 + 0x6b], ch
cmp dword [eax + 0x8f4b43b], esi
mov cl, 0xb3
mov bl, 0xb3
pop edx
ret
Function at 0x52f6f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd2000]
push edi
jmp 0x52f70a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52f711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f700
mov eax, 1
add ebx, ebx
jne 0x52f723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52f734
jne 0x52f753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f753
dec eax
add ebx, ebx
jne 0x52f740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52f718
add ebx, ebx
jne 0x52f74f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52f7a5
xor ecx, ecx
sub eax, 3
jb 0x52f76b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52f7da
sar eax, 1
mov ebp, eax
jmp 0x52f776
add ebx, ebx
jne 0x52f776
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f744
inc ecx
add ebx, ebx
jne 0x52f784
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f744
add ebx, ebx
jne 0x52f791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52f786
jne 0x52f7a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52f786
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52f7c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52f7b6
jmp 0x52f706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52f7c4
add edi, ecx
jmp 0x52f706
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52f7e2
cmp byte [edi], 0x11
jne 0x52f7e2
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 0x52f7e7
lea edi, [esi + 0x128000]
mov eax, dword [edi]
or eax, eax
je 0x52f85f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x179534]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1796b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52f814
mov ecx, edi
jns 0x52f843
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 + 0x1796b4]
or eax, eax
je 0x52f859
mov dword [ebx], eax
add ebx, 4
jmp 0x52f831
call dword [esi + 0x1796c4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52f890
cmp al, 0xef
ja 0x52f883
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52f865
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52f872
mov ebp, dword [esi + 0x1796b8]
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 0x52f8c4
sub esp, 0xffffff80
jmp 0x420577