joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425087
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
mov esi, eax
cmp byte [esi + 0x30], 0
je 0x4250a6
push dword [ebp + 8]
call fcn.00425197
jmp 0x425192
mov eax, dword [esi + 0x34]
push 0x470d98
push eax
call fcn.00458a52
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4250e5
mov dword [esi + 0x18], 0x1f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x4250de
push esi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
xor al, al
jmp 0x425192
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x425145
cmp dword [ebp - 8], 0
je 0x425134
push dword [ebp - 0x10]
lea eax, [ebp - 0x414]
push 1
push dword [ebp - 8]
push eax
call fcn.00458346
mov eax, dword [ebp - 8]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4250ec
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x425172
mov dword [esi + 0x18], 0x21
jmp 0x42514c
mov dword [esi + 0x18], 0x20
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x425166
push esi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push dword [ebp - 0x10]
call fcn.00458ad6
xor al, al
jmp 0x425191
and dword [esi + 0x18], 0
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x425187
push esi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push dword [ebp - 0x10]
call fcn.00458ad6
mov al, 1
pop ecx
pop esi
leave
ret 4
Function at 0x425197
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
inc eax
xor ebx, ebx
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [ebp - 4], ebx
jne 0x4251c8
mov dword [ebp - 4], 0x400
cmp dword [ebp - 0xc], ebx
je 0x425299
cmp dword [ebp - 4], ebx
ja 0x4251db
mov dword [ebp - 8], ebx
jmp 0x4251e7
push dword [ebp - 4]
call fcn.00455667
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, ebx
je 0x425262
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x425290
mov dword [ebp - 0x10], eax
lea esi, [edi + 0x44]
cmp dword [ebp - 8], ebx
je 0x425252
cmp eax, ebx
jbe 0x425252
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea ebx, [ebp - 0x18]
call fcn.00425b58
push 0
call fcn.0045526c
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
xor ebx, ebx
add dword [edi + 8], eax
adc dword [edi + 0xc], ebx
cmp eax, ebx
jne 0x4251d1
jmp 0x425299
push dword [ebp - 8]
call fcn.0045526c
pop ecx
mov dword [edi + 0x18], 0x20
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi + 0x1c], eax
mov edi, dword [edi + 0xd4]
cmp edi, ebx
je 0x42528c
push edi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
xor al, al
jmp 0x4252c0
push dword [ebp - 8]
call fcn.0045526c
pop ecx
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x4252aa
mov dword [edi + 0x18], 0x21
jmp 0x425272
mov dword [edi + 0x18], ebx
mov edi, dword [edi + 0xd4]
cmp edi, ebx
je 0x4252be
push edi
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x427c56
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
add ecx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov esi, eax
mov ecx, edi
imul ecx, esi
or eax, 0xffffffff
shl ecx, 2
shl esi, 2
lea edi, [edx + edi*4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edx
mov esi, 0xff
movzx ebx, byte [edx + 2]
mov edi, eax
and edi, esi
xor edi, ebx
movzx ebx, byte [edx + 1]
shr eax, 8
xor eax, dword [edi*4 + 0x47abe8]
mov edi, eax
and edi, esi
xor edi, ebx
movzx ebx, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x47abe8]
add edx, ecx
mov edi, eax
and edi, esi
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x47abe8]
mov edi, dword [ebp + 8]
cmp edx, dword [ebp - 4]
jb 0x427cd5
add edi, dword [ebp - 8]
mov dword [ebp + 8], edi
mov edx, edi
cmp edi, dword [ebp - 0xc]
jb 0x427c88
not eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
test eax, eax
jns 0x427cec
fadd qword [0x475bc0]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42cb5d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.004019d1
fld1
lea eax, [ebp - 0xc]
fstp qword [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x42ccf9
push dword [ebp - 0xc]
call fcn.0040f873
mov edi, eax
lea eax, [ebp - 0x30]
mov dword [esp], str.interface_
call fcn.0040214f
push edi
lea esi, [ebp - 0x30]
call fcn.00401a27
push str.TypeLib
call fcn.00401a27
push edi
call fcn.004575ad
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x42ccf9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x248]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call edi
mov esi, eax
cmp esi, ebx
jne 0x42ccf0
shr dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ebp + ecx*2 - 0x248], ax
lea eax, [ebp - 0x248]
push eax
call fcn.0040f873
pop ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push dword [ebp - 0x14]
mov esi, eax
call fcn.004575ad
pop ecx
cmp esi, ebx
jl 0x42ccf0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x248]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call edi
test eax, eax
jne 0x42cc95
shr dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
mov word [ebp + ecx*2 - 0x248], ax
lea eax, [ebp - 0x248]
push eax
call fcn.00457c7d
fstp qword [ebp - 0x20]
pop ecx
fld1
lea eax, [ebp - 0x10]
push eax
push ebx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.004595e0
add esp, 0x10
call fcn.00469f36
fld qword [ebp - 0x20]
movzx eax, ax
push eax
call fcn.00469f36
movzx eax, ax
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
cmp esi, ebx
jl 0x42ccf0
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
call fcn.00401a04
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42cd08
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
xor edi, edi
lea ecx, [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.004019d1
lea ecx, [ebp - 0x1c]
call fcn.004019d1
lea ecx, [ebp - 0x3c]
call fcn.004019d1
push str.SOFTWAREClasses_
lea eax, [ebp - 0x2c]
call fcn.0040214f
push dword [ebp + 8]
lea esi, [ebp - 0x2c]
call fcn.00401a27
push str.CLSID
call fcn.00401a27
push 0x46df88
lea eax, [ebp - 0x1c]
call fcn.0040214f
cmp ebx, edi
je 0x42cd8c
cmp word [ebx], 0x5c
je 0x42cd8c
cmp word [ebx + 2], 0x5c
je 0x42cd8c
push 0x474080
lea eax, [ebp - 0x1c]
call fcn.0040214f
push ebx
lea esi, [ebp - 0x1c]
call fcn.00401a27
cmp dword [ebp + 0x10], edi
je 0x42cddc
push 0x20
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00456fd0
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x58], edi
call fcn.00401b3c
push str.IPC_
lea esi, [ebp - 0x3c]
call fcn.00401a27
mov eax, dword [ebp - 0x3c]
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
cmp esi, edi
jne 0x42ce7a
lea eax, [ebp - 0xc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
cmp esi, edi
jne 0x42ce7a
lea eax, [ebp - 8]
push eax
push 0x20019
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
cmp esi, edi
jne 0x42ce75
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x268]
push eax
push edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
jne 0x42ce70
shr dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ebp + ecx*2 - 0x268], ax
lea eax, [ebp - 0x268]
push eax
call fcn.0040f873
pop ecx
push dword [ebp + 0xc]
mov edi, eax
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.004575ad
pop ecx
push dword [ebp - 8]
call ebx
push dword [ebp - 0xc]
call ebx
lea ecx, [ebp - 0x3c]
call fcn.00401a04
lea ecx, [ebp - 0x1c]
call fcn.00401a04
lea ecx, [ebp - 0x2c]
call fcn.00401a04
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x436363
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004019d1
xor ebx, ebx
push 0x3c
lea eax, [esp + 0x30]
push ebx
push eax
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
call fcn.00456fd0
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x4363c4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
call fcn.00412bb1
cmp word [eax], bx
je 0x4363c4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
call fcn.00412bb1
push eax
call fcn.0040f873
pop ecx
mov edi, eax
cmp dword [ebp + 0x10], 3
jb 0x4363e0
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
call fcn.00412bb1
push eax
call fcn.0040f873
pop ecx
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x10], 4
jb 0x43641f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
call fcn.00412bb1
cmp word [eax], bx
je 0x43641f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
call fcn.0041d49c
test al, al
jne 0x43641f
mov eax, dword [esp + 0x18]
call fcn.00412bcc
lea ecx, [esp + 0x1c]
cmp ecx, eax
je 0x43641f
call fcn.00401b3c
cmp dword [ebp + 0x10], 5
jb 0x436437
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
call fcn.00412c92
movzx eax, ax
mov dword [esp + 0x14], eax
push 0x3c
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00456fd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], 0x3c
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x40], ebx
mov eax, dword [eax]
add esp, 0xc
call fcn.00412bb1
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esp + 0x18], eax
cmp edi, ebx
je 0x43649f
push edi
call fcn.0045526c
pop ecx
cmp esi, ebx
je 0x4364aa
push esi
call fcn.0045526c
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x4364df
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [eax + 4]
add esi, ecx
lea eax, [esi + 4]
call fcn.00418aa2
mov dword [eax + 0x14], 1
lea eax, [esi + 4]
call fcn.00418aa2
mov esi, dword [ebp + 0x14]
push ebx
mov byte [eax + 0x18], bl
call fcn.004131a1
jmp 0x43650d
cmp byte [ebp + 0xc], bl
je 0x4364f3
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x450], eax
jmp 0x43650d
mov esi, dword [ebp + 0x14]
push 1
call fcn.004131a1
cmp dword [esp + 0x64], ebx
je 0x43650d
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x1c]
call fcn.00401a04
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x438e06
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call edi
cmp eax, 0x103
je 0x438f12
mov eax, dword [ebp + 0xc]
or eax, 0x20019
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x228]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438f24
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.00438e06
pop ecx
pop ecx
push dword [ebp - 0xc]
mov byte [ebp - 1], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], bl
je 0x438f24
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call fcn.0043964e
test al, al
je 0x438ec6
call fcn.0043964e
test al, al
mov eax, dword [ebp - 0x10]
jne 0x438eb4
mov eax, 0x43967d
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x228]
push ecx
push dword [ebp + 8]
call eax
jmp 0x438ed6
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x438f16
cmp dword [ebp - 0x18], ebx
je 0x438ee8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call edi
cmp eax, 0x103
jne 0x438e4f
mov al, 1
jmp 0x438f26
cmp dword [ebp - 0x18], ebx
je 0x438f24
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4402a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
push ebx
mov edi, 0x492438
push edi
call fcn.00456fd0
push 0x10
push ebx
mov esi, 0x492424
push esi
call fcn.00456fd0
add esp, 0x18
push esi
push edi
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp + 8]
xor eax, eax
inc eax
push ebx
mov dword [0x492438], 0x44
mov dword [0x492464], eax
mov word [0x492468], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x44030a
push dword [0x492424]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
ret 4
Function at 0x445f4a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0xc], esi
cmp word [eax], si
je 0x446046
push esi
push esi
push 3
push esi
push esi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x445f81
xor eax, eax
jmp 0x446072
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push esi
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xc]
push eax
push 0x46b9f0
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x445f7a
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp dword [ecx], esi
jne 0x446025
cmp dword [eax], esi
jne 0x446025
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
push 0x2000
push dword [eax]
push dword [ecx]
push esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x446049
mov dword [ebp - 8], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x60]
cmp eax, esi
je 0x44605a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 8]
push eax
push esi
mov dword [edi + 0x60], eax
mov edi, dword [edi]
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45e2a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479d40]
jne 0x45e2aa
repz ret
jmp fcn.004663a6

Function at 0x46453c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479d40]
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.0045b92c
and dword [ebp - 0x14], 0
cmp dword [0x480034], 0
mov dword [ebp - 0x18], eax
jne 0x4645ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464697
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46d490
push ebx
call edi
test eax, eax
je 0x464697
mov esi, dword [section..data]
push eax
call esi
push 0x46d480
push ebx
mov dword [0x480034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48003c], eax
call edi
push eax
call esi
mov dword [0x480044], eax
test eax, eax
je 0x4645ef
push 0x46d438
push ebx
call edi
push eax
call esi
mov dword [0x480040], eax
mov eax, dword [0x480040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x479004]
cmp eax, ecx
je 0x464648
cmp dword [0x480044], ecx
je 0x464648
push eax
call esi
push dword [0x480044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464648
test ebx, ebx
je 0x464648
call edi
test eax, eax
je 0x46463f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46463f
test byte [ebp - 8], 1
jne 0x464648
or dword [ebp + 0x10], 0x200000
jmp 0x46467b
mov eax, dword [0x480038]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46467b
mov eax, dword [0x48003c]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480034]
call esi
test eax, eax
je 0x464697
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464699
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e2a0
leave
ret
Function at 0x47b860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4c000]
push edi
or ebp, 0xffffffff
jmp 0x47b882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47b889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b878
mov eax, 1
add ebx, ebx
jne 0x47b89b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47b8ac
jne 0x47b8cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b8cb
dec eax
add ebx, ebx
jne 0x47b8b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47b890
add ebx, ebx
jne 0x47b8c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47b91d
xor ecx, ecx
sub eax, 3
jb 0x47b8e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47b952
sar eax, 1
mov ebp, eax
jmp 0x47b8ee
add ebx, ebx
jne 0x47b8ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b8bc
inc ecx
add ebx, ebx
jne 0x47b8fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b8bc
add ebx, ebx
jne 0x47b909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47b8fe
jne 0x47b91a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47b8fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47b93c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47b92e
jmp 0x47b87e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47b93c
add edi, ecx
jmp 0x47b87e
pop esi
mov edi, esi
mov ecx, 0x27d5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47b95a
cmp byte [edi], 0x2d
jne 0x47b95a
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 0x47b95f
lea edi, [esi + 0x78000]
mov eax, dword [edi]
or eax, eax
je 0x47b9d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7e154]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7e26c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47b98c
mov ecx, edi
jns 0x47b9bb
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 + 0x7e270]
or eax, eax
je 0x47b9d1
mov dword [ebx], eax
add ebx, 4
jmp 0x47b9a9
call dword [esi + 0x7e278]
mov ebp, dword [esi + 0x7e274]
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 0x47ba0b
sub esp, 0xffffff80
jmp 0x448e60