joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468ae0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f430
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c4330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jne 0x468b20
or esi, 0xffffffff
mov dword [ebp - 4], esi
jmp 0x468c39
mov eax, 3
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
call fcn.00479d20
lea edi, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0045bfa0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468b60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x4a9c38
lea ebx, [ebp + 8]
call fcn.0045a3e0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov edi, eax
push edx
lea eax, [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x468c19
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x468bb5
dec eax
jne 0x468bc7
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
shrd edx, eax, 0x14
shr eax, 0x14
jmp 0x468bc2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
shrd edx, eax, 0x1e
shr eax, 0x1e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov eax, edi
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x468be1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x468c00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, edi
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468c33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x468c52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0xc
Function at 0x468c70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c4330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x118]
mov ebx, 0x114
push eax
mov esi, ecx
mov dword [ebp - 0x118], ebx
call edi
cmp dword [ebp - 0x114], 6
jne 0x468cc0
cmp dword [ebp - 0x110], 1
jne 0x468cc0
push 0x4aadd0
mov ebx, 1
jmp 0x468cea
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], ebx
call edi
cmp dword [ebp - 0x114], 5
jne 0x468cf3
mov ebx, 1
cmp dword [ebp - 0x110], ebx
jne 0x468cf3
push 0x4aadd4
lea eax, [esi + 0x10]
push eax
call fcn.0045a790
call fcn.0045c2f0
add esi, 0x14
mov ebx, 1
test al, al
je 0x468d0b
push 0x4aadd4
jmp 0x468d10
push 0x4aadd0
push esi
call fcn.0045a790
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00485631
mov esp, ebp
pop ebp
ret
Function at 0x472120
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a113b
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x4c4330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov ebx, ecx
test esi, esi
jne 0x472161
xor eax, eax
jmp 0x47221e
push 0x4a9ce4
push esi
push 0x4a9cb8
lea eax, [ebp - 0x428]
push 0x104
push eax
mov edi, 1
call fcn.00487bb1
add esp, 0x14
lea ecx, [ebp - 0x678]
push ecx
lea edx, [ebp - 0x428]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x680], eax
cmp eax, 0xffffffff
je 0x47215a
cmp word [ebp - 0x64c], 0x2e
je 0x4721f7
test byte [ebp - 0x678], 0x10
je 0x47223c
lea eax, [ebp - 0x64c]
push eax
push esi
push str._s_s_
lea ecx, [ebp - 0x220]
push 0x104
push ecx
call fcn.00487bb1
add esp, 0x14
push 1
lea eax, [ebp - 0x220]
xor edx, edx
push eax
mov ecx, ebx
mov word [ebp - 0x1a], dx
call fcn.00472120
mov edi, eax
mov edx, dword [ebp - 0x680]
lea ecx, [ebp - 0x678]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4721ab
mov eax, dword [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00485631
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
je 0x4721f7
lea ecx, [ebp - 0x67c]
push ecx
lea ecx, [ebp - 0x64c]
call fcn.0045a880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x67c]
push str.ASBarBroker.exe
push edx
call fcn.004884e3
add esp, 8
test eax, eax
jne 0x47227c
push eax
push esi
call fcn.0045bc10
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x67c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4721f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4721f7
Function at 0x476c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0596
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4c4330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
sub eax, 0x10
mov dword [ebp - 0x224], edi
call fcn.0045c0b0
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x476cbe
call fcn.00476dc0
test eax, eax
jne 0x476cd6
add edi, 0x6c
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1f41
call fcn.00479ea0
push 1
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0045a880
push 0x15
push str.BaofengStormPlayer_
lea ebx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.0045a3e0
mov esi, dword [ebp - 0x220]
test esi, esi
je 0x476d24
call fcn.00476dc0
test eax, eax
jne 0x476d42
mov edi, dword [ebp - 0x224]
add edi, 0x6c
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1f42
call fcn.00479ea0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x476d68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x476d91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485631
mov esp, ebp
pop ebp
ret

Function at 0x476dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4993f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4c4330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x476e3d
mov dword [ebp - 0x54], vtable.CAccessRight.0
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x4e]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x50], ax
call fcn.00488d60
add esp, 0xc
push 0x20
push 0x4a9c64
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0045a990
add esp, 0xc
mov eax, 1
jmp 0x476e3f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485631
mov esp, ebp
pop ebp
ret
Function at 0x47a8d0
Capabilities:
Get common file path

Disassembly:
push edi
push 1
push 0x1a
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47a911
add edi, 0xfffffffe
jmp 0x47a8f0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x47a8f0
push esi
mov ecx, 0x15
mov esi, 0x4afe20
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x47abe0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x20
lea edx, [eax + 2]
jmp 0x47abf0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47abf0
sub eax, edx
sar eax, 1
push esi
push edi
mov edi, eax
xor ecx, ecx
lea eax, [edi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00485549
mov esi, eax
add esp, 4
mov ecx, ebx
sub esi, ebx
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x47ac25
xor ecx, ecx
mov dword [eax + edi*2], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ecx
mov word [ebp - 4], cx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xa], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 6], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov edx, 0x614
push ecx
mov word [ebp - 0x10], dx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47c830
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499deb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4c4330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 4], edi
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x218]
mov eax, dword [eax]
or ebx, 0x2001f
mov dword [ebp - 0x228], edi
cmp esi, edi
je 0x47c8b2
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.0047c750
xor edi, edi
jmp 0x47c8c3
lea edx, [ebp - 0x228]
push edx
push ebx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x47c9bc
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x47c8e6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x228]
and ebx, 0x300
mov dword [ebp - 0x21c], edi
mov esi, eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ebx
cmp eax, edi
jne 0x47c9bc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x238]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push edi
push ecx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
jne 0x47c98c
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0047c830
mov ebx, eax
cmp ebx, edi
jne 0x47ca00
lea edx, [ebp - 0x238]
push edx
mov edx, dword [ebp - 0x220]
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push edi
push edx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
je 0x47c940
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x47c9a3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], edi
call fcn.0047caa0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x47c9da
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, esi
mov dword [ebp - 0x21c], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00485631
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x47ca1e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x47c9dc
Function at 0x47d780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f2f6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4c4330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 1
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x47d7fc
call fcn.004624a0
mov esi, eax
jmp 0x47d923
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x47d815
call fcn.004624a0
jmp 0x47d91a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x47d833
call fcn.004624a0
jmp 0x47d91a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x47d854
mov esi, 0x8007000e
jmp 0x47d91c
mov byte [ebp - 4], 2
xor ecx, ecx
shld ecx, eax, 1
mov dword [ebp - 0x434], ecx
add eax, eax
mov dword [ebp - 0x438], eax
test ecx, ecx
jne 0x47d875
cmp eax, 0xffffffff
jbe 0x47d87f
push 0x80070216
call fcn.00459650
cmp eax, 0x400
jbe 0x47d89b
lea ecx, [ebp - 0x418]
push ecx
call fcn.0047c0c0
mov dword [ebp - 4], 1
jmp 0x47d8cf
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x47d8cf
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x47d8e0
mov esi, 0x8007000e
jmp 0x47d91c
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x47d8f9
call fcn.004624a0
jmp 0x47d91a
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x418]
lea esi, [ebp - 0x42c]
call fcn.0047d5e0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x47d940
lea eax, [ebp - 0x418]
call fcn.0047b9a0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00485631
mov esp, ebp
pop ebp
ret 0xc
Function at 0x480610
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4c4330]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 4], 0
mov al, byte [ebp + 8]
push ebx
push edi
mov ebx, ecx
mov byte [ebp - 0x119], al
mov edi, edx
jne 0x480660
lea ecx, [ebp - 0x118]
push ecx
mov byte [esi + 4], 1
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x480660
mov byte [esi + 5], 1
test edi, edi
je 0x48066a
cmp word [edi], 0
jne 0x48066f
mov edi, 0x4b09d0
test ebx, ebx
jne 0x480678
mov ebx, 0xd
movzx edx, byte [ebp - 0x119]
push edi
push 0
push 2
push 0
push 0
push 0x86
push 0
push 0
neg edx
push 0
sbb edx, edx
and edx, 0x2bc
push edx
push 0
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00485631
mov esp, ebp
pop ebp
ret 4
Function at 0x483d30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499263
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4c4330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 1
mov dword [eax], vtable.CDrawImage.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x18], dl
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], ecx
mov dword [eax], vtable.CDrawImageBMP.0
mov dword [eax + 0x28], vtable.CHSL.0
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [ebp - 4], dl
mov dword [eax + 8], edx
mov dword [eax + 0x24], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x484200
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992b8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4c4330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 1
mov dword [eax], vtable.CDrawImage.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x18], dl
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], ecx
mov dword [eax], vtable.CDrawImageGIF.0
mov dword [eax + 8], 2
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [eax + 0x38], cl
mov dword [eax + 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x48539c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c9184], 0
push esi
push edi
jne 0x485312
call fcn.0048527e
test eax, eax
je 0x485357
mov eax, dword [0x4c9184]
cmp eax, 1
jne 0x485333
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x485357
jmp 0x485399
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x485399
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x48535b
xor eax, eax
jmp 0x485399
mov eax, dword [esi]
push dword [0x4c9184]
call edi
mov edi, eax
test edi, edi
je 0x48537d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x485399
lea edi, [esi + 0xff0]
push esi
push dword [0x4c9184]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x485383
mov eax, esi
pop edi
pop esi
ret
jmp 0x4852fe

Function at 0x485631
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c4330]
jne 0x48563b
repz ret
jmp fcn.00488e26
Function at 0x493204
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c4330]
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.0048ba6f
and dword [ebp - 0x14], 0
cmp dword [0x4c9f90], 0
mov dword [ebp - 0x18], eax
jne 0x4932b7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49335f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x49335f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c9f90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c9f94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c9f98], eax
call edi
push eax
call esi
mov dword [0x4c9fa0], eax
test eax, eax
je 0x4932b7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c9f9c], eax
mov eax, dword [0x4c9f9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x493310
cmp dword [0x4c9fa0], ecx
je 0x493310
push eax
call esi
push dword [0x4c9fa0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x493310
test ebx, ebx
je 0x493310
call edi
test eax, eax
je 0x493307
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x493307
test byte [ebp - 8], 1
jne 0x493310
or dword [ebp + 0x10], 0x200000
jmp 0x493343
mov eax, dword [0x4c9f94]
cmp eax, dword [ebp - 0x18]
je 0x493343
push eax
call esi
test eax, eax
je 0x493343
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x493343
mov eax, dword [0x4c9f98]
cmp eax, dword [ebp - 0x18]
je 0x493343
push eax
call esi
test eax, eax
je 0x493343
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c9f90]
call esi
test eax, eax
je 0x49335f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x493361
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00485631
leave
ret
Function at 0xeb0ab0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb9000]
push edi
jmp 0xeb0aca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xeb0ad1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xeb0ac0
mov eax, 1
add ebx, ebx
jne 0xeb0ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xeb0af4
jne 0xeb0b13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xeb0b13
dec eax
add ebx, ebx
jne 0xeb0b00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xeb0ad8
add ebx, ebx
jne 0xeb0b0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xeb0b65
xor ecx, ecx
sub eax, 3
jb 0xeb0b2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xeb0b9a
sar eax, 1
mov ebp, eax
jmp 0xeb0b36
add ebx, ebx
jne 0xeb0b36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xeb0b04
inc ecx
add ebx, ebx
jne 0xeb0b44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xeb0b04
add ebx, ebx
jne 0xeb0b51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xeb0b46
jne 0xeb0b62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xeb0b46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xeb0b84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xeb0b76
jmp 0xeb0ac6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xeb0b84
add edi, ecx
jmp 0xeb0ac6
pop esi
mov edi, esi
mov ecx, 0x1542
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xeb0ba2
cmp byte [edi], 0xa
jne 0xeb0ba2
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 0xeb0ba7
lea edi, [esi + 0xa9a000]
mov eax, dword [edi]
or eax, eax
je 0xeb0c1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xab0000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xab0078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xeb0bd4
mov ecx, edi
jns 0xeb0c03
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 + 0xab0080]
or eax, eax
je 0xeb0c19
mov dword [ebx], eax
add ebx, 4
jmp 0xeb0bf1
call dword [esi + 0xab007c]
mov ebp, dword [esi + 0xab0084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0xeb0c53
sub esp, 0xffffff80
jmp section.UPX0