joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5120
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
test ebp, ebp
push edi
mov dword [esi + 8], ecx
jne 0x4a513c
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x4a51b8
test edx, edx
jne 0x4a5175
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005308fb
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.0055cb00
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4a5194
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
sub eax, 1
rol cx, 8
test eax, eax
mov word [edx + eax*2], cx
jne 0x4a5180
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.004a3070
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.00555cf6
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x4a51dd
push edi
call fcn.005308f6
add esp, 4
test bl, bl
je 0x4a5215
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, dword [esi + 0x24]
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.004a3070
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.004a4990
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0x4a62e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x581633
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4a6323
call fcn.004a59c0
push edi
call fcn.005308f6
add esp, 4
mov edi, dword [esi + 0x34]
test edi, edi
je 0x4a633a
mov eax, edi
call fcn.004a3d10
push edi
call fcn.005308f6
add esp, 4
mov byte [esp + 0x14], 0
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a635e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6384
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4b66e0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0x592720
push 0
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4b671a
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0xc]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
add esp, 8
ret
Function at 0x4b6ee0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x57b270
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b6f23
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b6f55
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push esi
lea ecx, [esp + 0x20]
push 0x5b6864
push ecx
mov byte [esp + 0x44], 1
call fcn.00405480
push esi
lea edx, [esp + 0x3c]
push str._s__0
push edx
call fcn.00405480
mov edx, dword [esp + 0x58]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0x18
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push ecx
call esi
mov eax, dword [esp + 0x28]
test eax, eax
mov ebx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4b7095
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Shell
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b708e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xa
push str.open
push 1
push 0
push 0x592720
push eax
call edi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.open
push ecx
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b7087
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.command
push eax
call esi
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4b7080
mov eax, dword [ebx - 0xc]
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push 0x592720
push ecx
call edi
mov eax, dword [esp + 0x20]
push eax
call ebp
mov ecx, dword [esp + 0x24]
push ecx
call ebp
mov edx, dword [esp + 0x18]
push edx
call ebp
mov eax, dword [esp + 0x28]
push eax
call ebp
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
push edx
call ebp
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b70c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b70e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4b8be0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x57ce10
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov esi, ecx
mov edi, edx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4b8ccc
push edi
lea ecx, [esp + 0x24]
call fcn.00402390
push 0x5958a8
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x38], 0
call fcn.00401ba0
push esi
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x44], 1
call fcn.00401ae0
mov eax, dword [eax]
add esp, 0x18
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b8c7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b8ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b8ccc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push SysReAllocStringLen
call edi
test eax, eax
jne 0x4b8d6e
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xa
push str.open
push 1
push eax
push 0x592720
push edx
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push str.opencommand
push ecx
call edi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4b8d4f
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8d23
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push ebp
push 1
push 0
push 0x592720
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x4b9320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x618
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x614], eax
mov eax, dword [esp + 0x620]
push ebp
mov ebp, dword [esp + 0x620]
push edi
lea ecx, [esp + 0x14]
push ecx
push 0x20019
xor edi, edi
push edi
push 0x5a7c58
push SysReAllocStringLen
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b9382
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x614]
xor ecx, esp
call fcn.00552101
add esp, 0x618
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
xor esi, esi
mov dword [esp + 0x38], 0xfa
mov dword [esp + 0x34], 0x3fc
mov dword [esp + 0x30], edi
call ebx
cmp eax, 0x103
je 0x4b94a9
cmp eax, edi
jne 0x4b9462
cmp dword [esp + 0x10], 1
jne 0x4b9462
mov eax, dword [esp + 0x14]
lea edx, [eax - 2]
cmp edx, 0x3f9
ja 0x4b9462
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfa
jae 0x4b9462
shr eax, 1
sub eax, 1
cmp dword [esp + 0x634], edi
mov word [esp + eax*2 + 0x224], di
mov word [esp + ecx*2 + 0x24], di
je 0x4b9439
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 8]
lea eax, [esp + 0x224]
push eax
push edx
call fcn.005390d4
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
push ecx
jmp 0x4b945b
cmp eax, edi
jle 0x4b9462
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x224]
push edx
push eax
call fcn.005390d4
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.005390d4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push ecx
add esi, 1
push esi
push edx
mov dword [esp + 0x38], 0xfa
mov dword [esp + 0x34], 0x3fc
mov dword [esp + 0x30], edi
call ebx
cmp eax, 0x103
jne 0x4b93d0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x624]
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00552101
add esp, 0x618
ret
Function at 0x4b9b20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 4]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4b9bb1
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4b9bb1
lea ecx, [esp]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004021d0
push 0x5958a8
mov ecx, esi
call fcn.0041ccd0
mov eax, 1
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00552101
add esp, 0x214
ret
mov ecx, dword [esp + 0x210]
xor ecx, esp
xor eax, eax
call fcn.00552101
add esp, 0x214
ret
Function at 0x4bf940
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5863d2
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebp
push esi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
test ebp, ebp
jl 0x4bfb7a
cmp ebp, dword [edi + 0x1e0]
jge 0x4bfb7a
mov eax, dword [0x5f2620]
push 0
add eax, 0x1594
push eax
call fcn.004c36d0
push str.PlugApp_
lea ecx, [esp + 0x24]
push 0x5f2868
push ecx
call fcn.00401ba0
add esp, 0xc
mov dword [esp + 0x274], 0
cmp ebp, dword [edi + 0x1e0]
jge 0x4bfba2
mov ecx, dword [edi + 0x1dc]
lea esi, [ebp*4]
mov edx, dword [ecx + esi]
add ecx, esi
add edx, 0xc
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00401ae0
add esp, 0xc
push 0x59b2e4
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x280], 1
call fcn.00401ba0
add esp, 0xc
mov byte [esp + 0x274], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bfa3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x274], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bfa63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.PlugApp_
lea ecx, [esp + 0x20]
push 0x5f2868
push ecx
call fcn.00401ba0
add esp, 0xc
mov byte [esp + 0x274], 5
cmp ebp, dword [edi + 0x1e0]
jge 0x4bfba2
mov ecx, dword [edi + 0x1dc]
mov edx, dword [ecx + esi]
add ecx, esi
add edx, 0xc
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401ae0
add esp, 0xc
mov byte [esp + 0x274], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bfad3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov esi, ecx
call fcn.004600b0
test eax, eax
jne 0x4bfaee
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4bfb1c
lea esi, [esp + 0x24]
call fcn.004ed560
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
mov byte [esp + 0x278], 8
call fcn.004ed600
mov byte [esp + 0x274], 7
call fcn.004ed5b0
add ebp, 5
push ebp
mov eax, edi
call fcn.004bf060
mov byte [esp + 0x274], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bfb4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x274], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bfb7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00552101
add esp, 0x26c
ret 4
call fcn.00530cad
int3
Function at 0x4bfcc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x577458
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CBitmap.0
lea esi, [ebp + 8]
mov edi, 2
mov dword [esp + 0x34], ebx
call fcn.00459ef0
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp ecx, ebx
jle 0x4bfd34
cmp eax, ebx
jl 0x4bfe94
cmp eax, dword [esi + 8]
jge 0x4bfe94
mov ecx, dword [esi + 4]
lea ecx, [ecx + eax*4]
add eax, 1
mov dword [ecx], ebx
cmp eax, dword [ebp + 0x10]
jl 0x4bfd13
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x5b7bd8
mov ecx, 0x5f2dc8
call fcn.004e6bd0
test eax, eax
je 0x4bfe65
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, 0x2aaaaaab
imul ecx
push 0
push 0
mov ebx, edx
push 0x19
shr ebx, 0x1f
add ebx, edx
push edi
push ebx
mov ecx, ebp
call fcn.0053d09b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
push 0xff00ff
push ecx
push eax
call fcn.0053e3f5
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00443530
cmp dword [esi + 8], 0
jle 0x4bfe94
mov eax, dword [esi + 4]
lea ecx, [ebp + 0x1c]
mov dword [eax], ecx
cmp dword [esi + 8], 0
jle 0x4bfe94
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov dword [eax + 0x24], 0
mov dword [eax], ebp
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edi
cmp dword [esi + 8], 0
jle 0x4bfe94
mov eax, dword [esi + 4]
mov eax, dword [eax]
lea ecx, [eax + 4]
mov eax, dword [ecx + 8]
push 0
push eax
call fcn.0053989a
cmp dword [esi + 8], 0
jle 0x4bfe94
mov eax, dword [esi + 4]
mov eax, dword [eax]
lea ecx, [eax + 4]
mov eax, dword [ecx + 8]
push 2
push eax
call fcn.0053989a
mov ecx, 1
cmp dword [esi + 8], ecx
jle 0x4bfe94
mov eax, dword [esi + 4]
add eax, 4
lea edx, [ebp + 0xbc]
mov dword [eax], edx
cmp dword [esi + 8], ecx
jle 0x4bfe94
mov eax, dword [esi + 4]
add eax, 4
mov eax, dword [eax]
mov dword [eax + 0x24], ecx
mov dword [eax], ebp
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edi
cmp dword [esi + 8], ecx
jle 0x4bfe94
mov esi, dword [esi + 4]
add esi, 4
mov esi, dword [esi]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 4]
push 4
push eax
call fcn.0053989a
lea eax, [ebx + ebx]
mov dword [ebp + 0x15c], eax
mov dword [ebp + 0x160], ebx
mov dword [ebp + 0x164], edi
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CGdiObject.0
call fcn.00537399
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
call fcn.00530cad
int3
Function at 0x4c0400
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5770a0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov edi, ecx
mov edx, dword [eax]
mov ecx, dword [edi + 0x70]
lea ecx, [ecx + edx + 2]
mov dword [esp + 0x30], ecx
add ecx, 0xd
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, 0xd
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0x34], eax
add eax, 0xd
mov dword [esp + 0x3c], eax
push 0xffffff
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0053759e
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CPen.0
push 0xf5be9e
push 1
mov dword [esp + 0x54], eax
mov ebx, dword [sym.imp.GDI32.dll_CreatePen]
push eax
call ebx
push eax
lea ecx, [esp + 0x24]
call fcn.00537346
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0053741e
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push ebp
mov ecx, esi
call fcn.0053741e
lea ecx, [esp + 0x20]
call fcn.00537399
cmp dword [edi + 0x98], 0
je 0x4c05bf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CPen.0
mov byte [esp + 0x4c], 1
mov edi, dword [edi + 0x54]
push edi
push 1
push 0
call ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00537346
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
sub eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0053741e
lea edx, [edi - 1]
push edx
mov dword [esp + 0x18], eax
lea ebx, [ebp + 3]
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00536d88
lea ecx, [edi + 1]
lea eax, [ebp + 5]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.00536a70
lea edx, [edi - 4]
push edx
add ebp, 0xa
push ebp
mov ecx, esi
call fcn.00536a70
push edi
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00536d88
mov edx, dword [esp + 0x54]
lea ecx, [edi + 2]
push ecx
push edx
mov ecx, esi
call fcn.00536a70
add edi, 0xfffffffd
push edi
push ebp
mov ecx, esi
call fcn.00536a70
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0053741e
lea ecx, [esp + 0x18]
call fcn.00537399
mov byte [esp + 0x4c], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CGdiObject.0
call fcn.00537399
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CGdiObject.0
call fcn.00537399
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x4c42f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x114], eax
push edi
push 0x3b8
xor edi, edi
lea eax, [esi + 0x54]
push edi
push eax
call fcn.00557890
push 0x110
lea ecx, [esp + 0x18]
push edi
push ecx
mov dword [esi + 0x40c], edi
mov dword [esi + 0x410], 1
mov dword [esi + 0x414], 1
mov dword [esi + 0x454], edi
mov dword [esi + 0x458], 1
mov dword [esi + 0x418], edi
mov dword [esi + 0x438], edi
mov dword [esi + 0x450], edi
mov dword [esi + 0x420], edi
mov dword [esi + 0x45c], edi
mov dword [esp + 0x1c], 0x114
call fcn.00557890
add esp, 0x18
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x4c43b3
cmp dword [esp + 8], 5
jb 0x4c43b3
mov eax, 1
mov dword [esi + 0x41c], eax
pop edi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00552101
add esp, 0x118
ret
mov ecx, dword [esp + 0x118]
mov dword [esi + 0x41c], edi
pop edi
xor ecx, esp
call fcn.00552101
add esp, 0x118
ret

Function at 0x4c5010
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4c5041
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x4c4f10
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
add esp, 0x24
ret
lea eax, [esp + 4]
push eax
push 5
mov dword [esp + 0xc], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4c50ae
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x4c5063
jmp dword [eax*4 + 0x4c50d4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], ecx
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], edx
mov dword [esi], ecx
mov dword [esi + 8], eax
pop edi
add esp, 0x24
ret
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 0x96
sub eax, 0x1e
mov dword [esi + 4], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret