joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8600
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2004
call fcn.0051dcc0
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
mov ebx, dword [esp + 0x2010]
push esi
push edi
push 0x54599c
push eax
mov esi, ecx
call fcn.004ed1c0
mov edi, eax
test edi, edi
sete cl
mov byte [esi + 0x303c], cl
test edi, edi
jne 0x4c864b
xor al, al
jmp 0x4c8696
push edi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00529db5
add esp, 0x10
test eax, eax
je 0x4c868b
push ebx
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00526d9e
push edi
push 0x2000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.00529db5
add esp, 0x20
test eax, eax
jne 0x4c8664
push edi
call fcn.00526918
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x2004
ret 8

Function at 0x4c86b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2008
call fcn.0051dcc0
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x2004], eax
mov eax, dword [esp + 0x200c]
push ebp
push esi
push 0x553384
push eax
mov esi, ecx
call fcn.004ed1c0
mov ebp, eax
test ebp, ebp
sete cl
mov byte [esi + 0x303c], cl
test ebp, ebp
jne 0x4c86f6
xor al, al
jmp 0x4c879c
push ebx
push edi
push ebp
xor eax, eax
push 0x2000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.00529db5
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jbe 0x4c878f
lea ebx, [ebx]
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4c875d
lea esp, [esp]
cmp byte [esp + esi + 0x14], 0x61
jne 0x4c8758
cmp byte [esp + esi + 0x15], 0x73
jne 0x4c8758
push 0x14
lea eax, [esp + 0x1a]
add eax, esi
push str.Invoker_
push eax
call fcn.00526550
add esp, 0xc
test eax, eax
je 0x4c87b5
inc esi
cmp esi, edi
jl 0x4c8730
mov eax, dword [esp + 0x10]
add eax, 0xffffffe0
add eax, ebx
push 0
push eax
push ebp
mov dword [esp + 0x1c], eax
call fcn.0052a1cb
push ebp
push 0x2000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.00529db5
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x20
ja 0x4c8720
push ebp
call fcn.00526918
add esp, 4
xor al, al
pop edi
pop ebx
mov ecx, dword [esp + 0x200c]
pop esi
pop ebp
xor ecx, esp
call fcn.0051dca8
add esp, 0x2008
ret 4
mov eax, dword [esp + 0x10]
push 0
add eax, esi
push eax
push ebp
call fcn.0052a1cb
push ebp
push 0x15
push 1
push str.requireAdministrator_
call fcn.00526d9e
cmp eax, 0x15
push ebp
sete bl
call fcn.00526918
add esp, 0x20
mov al, bl
jmp 0x4c879a
Function at 0x4c8d90
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.0051dcc0
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push edi
push 0x54599c
push eax
call fcn.00484ad0
mov edi, eax
mov dword [esp + 8], edi
test edi, edi
jne 0x4c8ddf
xor al, al
pop edi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.0051dca8
add esp, 0x200c
ret 4
push ebp
xor ebp, ebp
push ebx
mov dword [esp + 0xc], ebp
push esi
jmp 0x4c8df0
push edi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.00529db5
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jle 0x4c8e66
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4c8e40
cmp byte [esp + esi + 0x18], 0x72
jne 0x4c8e3b
cmp byte [esp + esi + 0x19], 0x65
jne 0x4c8e3b
push 0x14
lea eax, [esp + esi + 0x1e]
push str.quireAdministrator_
push eax
call fcn.00526550
add esp, 0xc
test eax, eax
je 0x4c8e8c
inc esi
cmp esi, edi
jl 0x4c8e15
mov edi, dword [esp + 0x14]
add ebp, 0xffffffe0
push 0
add ebp, ebx
push ebp
push edi
call fcn.0052a1cb
mov esi, dword [esp + 0x1c]
add esp, 0xc
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x100
jb 0x4c8df0
push edi
call fcn.00526918
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2018]
pop esi
pop ebx
pop ebp
pop edi
xor ecx, esp
call fcn.0051dca8
add esp, 0x200c
ret 4
push dword [esp + 0x14]
call fcn.00526918
add esp, 4
mov al, 1
jmp 0x4c8e71
Function at 0x4c92c0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2010
call fcn.0051dcc0
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x200c], eax
mov eax, dword [esp + 0x2014]
push ebx
push esi
push 0x54599c
mov esi, ecx
mov ecx, dword [esp + 0x2024]
push eax
mov dword [esp + 0x18], ecx
call fcn.004ed1c0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
sete cl
mov byte [esi + 0x303c], cl
test ebx, ebx
je 0x4c9459
push ebp
push edi
push ebx
push 0x2000
lea eax, [esp + 0x24]
xor esi, esi
push 1
push eax
mov dword [esp + 0x20], esi
call fcn.00529db5
add esp, 0x10
mov ebp, eax
cmp ebp, 0x28
jbe 0x4c944c
lea ebx, [ebp - 0x28]
xor edi, edi
mov eax, 0xfeff
test ebx, ebx
je 0x4c93e7
lea esi, [esp + 0x20]
cmp byte [esp + edi + 0x1c], 0x2a
jne 0x4c9381
cmp byte [esp + edi + 0x1d], 0x2a
jne 0x4c9381
push 0xc
lea eax, [esp + 0x22]
add eax, edi
push 0x55246c
push eax
call fcn.00526550
add esp, 0xc
test eax, eax
je 0x4c9417
mov eax, 0xfeff
cmp word [esi - 4], 0x2a
jne 0x4c93a8
cmp word [esi - 2], 0x2a
jne 0x4c93a8
push 0xc
push str.messages
push esi
call fcn.00526778
add esp, 0xc
test eax, eax
je 0x4c9417
mov eax, 0xfeff
cmp word [esi - 4], ax
jne 0x4c93d7
cmp word [esi - 2], 0x2a
jne 0x4c93d7
cmp word [esi], 0x2a
jne 0x4c93d7
push 0xc
lea eax, [esi + 2]
push str.messages
push eax
call fcn.00526778
add esp, 0xc
test eax, eax
je 0x4c9417
mov eax, 0xfeff
inc edi
add esi, 2
cmp edi, ebx
jb 0x4c9350
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add ebp, 0xffffffd8
add esi, ebp
push 0
push esi
push ebx
mov dword [esp + 0x1c], esi
call fcn.0052a1cb
push ebx
push 0x2000
lea eax, [esp + 0x30]
push 1
push eax
call fcn.00529db5
add esp, 0x1c
jmp 0x4c932f
mov eax, dword [esp + 0x10]
add eax, edi
mov edi, dword [esp + 0x14]
push 0
push eax
push edi
call fcn.0052a1cb
push edi
push dword [esp + 0x203c]
push 1
push dword [esp + 0x30]
call fcn.00529db5
push edi
mov esi, eax
call fcn.00526918
add esp, 0x20
mov eax, esi
jmp 0x4c9457
push ebx
call fcn.00526918
add esp, 4
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0x2014]
pop esi
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x2010
ret 0xc

Function at 0x4cb7d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x570d78], 0
push esi
mov esi, dword [esp + 0x140]
push edi
mov edi, dword [esp + 0x148]
jne 0x4cb82e
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [esp + 0x6c]
mov word [0x5c3ecc], ax
xor eax, eax
mov word [0x5c3ece], ax
mov dword [0x570d78], 0x5c3ecc
push 0x32
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x148]
push dword [esp + 0x148]
call fcn.004b0130
push edi
push esi
xor eax, eax
push 0x570d68
mov word [esi], ax
lea eax, [esp + 0x14]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor eax, eax
mov word [esi + edi*2 - 2], ax
pop edi
pop esi
xor ecx, esp
call fcn.0051dca8
add esp, 0x130
ret 0x10
Function at 0x4cb890
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x15c
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x158], eax
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x170]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x16c]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x174]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0x5e7
mov dword [esp + 0x1c], 0x5e8
mov dword [esp + 0x20], 0x5e9
mov dword [esp + 0x24], 0x5ea
mov dword [esp + 0x14], eax
test edi, edi
jne 0x4cb8fc
cmp esi, 0x400
jb 0x4cb925
mov eax, 1
cmp eax, 5
jae 0x4cb925
mov ebx, esi
inc ebp
shrd esi, edi, 0xa
and ebx, 0x3ff
inc eax
shr edi, 0xa
test edi, edi
ja 0x4cb901
jb 0x4cb925
cmp esi, 0x400
jae 0x4cb901
cmp dword [0x570d78], 0
jne 0x4cb965
push 0x64
lea eax, [esp + 0xa4]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [esp + 0xa0]
mov word [0x5c3ecc], ax
xor eax, eax
mov word [0x5c3ece], ax
mov dword [0x570d78], 0x5c3ecc
push 0x32
lea eax, [esp + 0x40]
push eax
push edi
push esi
call fcn.004b0130
push dword [esp + 0x17c]
mov eax, dword [esp + 0x14]
xor ecx, ecx
push eax
push 0x570d68
mov word [eax], cx
lea eax, [esp + 0x48]
push eax
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov eax, dword [esp + 0x17c]
xor edx, edx
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2 - 2], dx
test edi, edi
ja 0x4cba5a
jb 0x4cb9bf
cmp esi, 0x64
jae 0x4cba5a
test ebx, ebx
je 0x4cba5a
imul eax, ebx, 0x3e8
shr eax, 0xa
test edi, edi
ja 0x4cb9df
jb 0x4cb9db
cmp esi, 0xa
jae 0x4cb9df
mov bl, 1
jmp 0x4cb9e1
xor bl, bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 0xffffffa6
add ecx, 0x64
div ecx
mov edi, eax
test edi, edi
je 0x4cba60
test bl, bl
je 0x4cba06
mov esi, 0x545908
cmp edi, 0xa
jb 0x4cba0b
mov esi, 0x54266c
push 0x64
lea eax, [esp + 0xa4]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [esp + 0xa0]
push edi
push esi
push eax
push str._c_s_u
lea eax, [esp + 0x38]
push 0xa
push eax
call fcn.00402c90
mov ebx, dword [esp + 0x194]
lea eax, [esp + 0x40]
mov esi, dword [esp + 0x28]
add esp, 0x18
push ebx
push eax
push esi
call fcn.004b0300
jmp 0x4cba6b
mov ebx, eax
mov esi, ecx
jmp 0x4cba6b
mov ebx, dword [esp + 0x17c]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x180], 0
jne 0x4cba79
test ebp, ebp
je 0x4cba96
push ebx
push 0x545b20
push esi
call fcn.004b0300
push ebx
push dword [esp + ebp*4 + 0x18]
call fcn.004a9c90
push eax
push esi
call fcn.004b0300
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x15c
ret 0x14
Function at 0x4cbe30
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2c
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
mov ebp, dword [esp + 0x34]
push esi
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x4cc007
lea ecx, [esi*2 + 2]
push edi
push ecx
call fcn.00525bb0
mov edi, eax
add esp, 4
test edi, edi
je 0x4cc006
lea ecx, [esi + 1]
xor eax, eax
push ecx
push edi
push ebp
mov word [edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, edi
lea ecx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4cbe90
push ebx
lea eax, [esp + 0x28]
sub esi, ecx
push eax
push ebp
sar esi, 1
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov ebx, eax
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x30]
jl 0x4cbfe9
push edi
call fcn.00495850
mov edx, eax
cmp edx, edi
je 0x4cbf35
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbf00
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push edi
call fcn.0051f6b0
mov esi, edi
add esp, 0xc
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4cbf26
sub esi, ecx
sar esi, 1
lea eax, [esp + 0x18]
mov ebp, esi
push eax
push esi
push edi
push ebx
shr ebp, 1
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea eax, [ebp + 2]
mov dword [esp + 0x10], eax
cmp eax, esi
jae 0x4cbfdd
lea ebx, [edi + eax*2]
mov esi, 0x2026
mov edi, edi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cbf65
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
cmp ecx, dword [esp + 0x30]
jl 0x4cbfd9
cmp ebp, 1
jb 0x4cbfd9
cmp eax, 1
jb 0x4cbfd9
lea eax, [eax*2 + 2]
mov word [ebx - 6], si
push eax
lea eax, [ebx - 4]
push ebx
push eax
call fcn.0051f6b0
mov esi, edi
add esp, 0xc
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4cbfa6
dec dword [esp + 0x10]
lea eax, [esp + 0x18]
sub esi, ecx
dec ebp
push eax
sar esi, 1
sub ebx, 2
push esi
push edi
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp dword [esp + 0x10], esi
mov esi, 0x2026
jb 0x4cbf60
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
push edi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esp + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.00525b95
add esp, 4
pop ebx
pop edi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
xor ecx, esp
call fcn.0051dca8
add esp, 0x2c
ret 4
Function at 0x4cc160
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4cc1c4
push ebx
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051de7f
mov esi, eax
add esp, 4
test esi, esi
je 0x4cc1c2
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push dword [esp + 0x20]
push esi
call fcn.004cc2d0
push esi
call fcn.0051de88
add esp, 4
pop esi
pop ebx
pop edi
ret 0x14

Function at 0x4ce390
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
cmp esi, 0x10d
jne 0x4ce3e6
push 1
push str.Settings
call fcn.0040e5c0
test eax, eax
je 0x4ce3dc
lea esi, [edi + 0x1098]
push esi
push 0x4cdf70
push dword [0x57a0c8]
push str.ORGTHEMES
push dword [0x5b6818]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi], 0
pop edi
mov al, 1
pop esi
add esp, 0x30
ret 4
cmp esi, 0x10e
jne 0x4ce416
push 1
push 0x54266c
push 0
push 0x4fe
call fcn.004a9c90
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
mov al, 1
pop esi
add esp, 0x30
ret 4
mov eax, dword [0x57a0c8]
push ebx
test eax, eax
jne 0x4ce424
xor ebx, ebx
jmp 0x4ce44f
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x4ce433
xor ebx, ebx
jmp 0x4ce44f
push 4
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
test eax, eax
jne 0x4ce444
xor ebx, ebx
jmp 0x4ce44f
push 6
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebx, eax
cmp esi, 0x10f
jne 0x4ce46b
mov dword [edi + 0x8c], 0xffffffff
push 0x54266c
jmp 0x4ce50c
lea eax, [esi - 0x41a]
cmp eax, 0x7f
ja 0x4ce552
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0
push eax
push 0
push esi
push ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x4ce552
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x7c]
jae 0x4ce552
mov dword [edi + 0x8c], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x78]
push eax
call fcn.00495850
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.004c3cd0
mov eax, dword [edi + 0x1094]
cmp eax, 0xffffffff
je 0x4ce530
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push esi
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, edi
mov dword [edi + 0x1094], esi
call fcn.004cc860
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0x30
ret 4
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x30
ret 4
Function at 0x4d0510
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x80
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x7c], eax
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x4d0539
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.004c2f20
test eax, eax
je 0x4d0725
push ebx
push ebp
push 0
push dword [0x5b681c]
push 0xd
push dword [0x57a0c8]
push 0
push 0
push 0
push 0
push 0x56000944
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0x14
push 0x41e
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x10
mov ebp, ebx
call fcn.004ed690
test al, al
je 0x4d05b3
push ebx
call fcn.004ed730
push ebp
mov ebx, eax
call fcn.004ed730
mov ebp, eax
push esi
movzx esi, bp
movzx ecx, bx
shl esi, 0x10
or esi, ecx
push esi
push 0
push 0x41f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x420
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xc]
pop esi
test eax, eax
je 0x4d05f0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 0x85
push 0x84
push 0x83
push str.FolderUp.png
push 1
call fcn.004cd810
mov dword [edi + 0xc], eax
cmp byte [0x5b68e4], 0
je 0x4d061f
push eax
call fcn.004eca90
call fcn.004ed9f0
test al, al
jne 0x4d064c
push dword [edi + 0xc]
mov ecx, 0x5aa610
call fcn.004cc7f0
push ebp
push ebx
push dword [edi + 0xc]
call fcn.004edf00
push 0xf
push 0xffffffffffffffff
push eax
mov dword [edi + 0xc], eax
call fcn.004edcb0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 1
push 0x413
push dword [edi + 4]
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x571280
push 1
push 0x444
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push 2
call fcn.004cf5e0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0x38
mov dword [esp + 0x18], 0x173
pop ebp
pop ebx
test eax, eax
jne 0x4d06b2
mov eax, 1
or eax, 4
mov dword [esp + 0x40], 2
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
push 0x12
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
jne 0x4d06f7
mov dword [esp + 0x38], 0x2a
lea eax, [esp + 0x70]
push eax
push dword [0x5a8074]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push 0x40a
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x80]
pop edi
xor ecx, esp
call fcn.0051dca8
add esp, 0x80
ret
Function at 0x4db5c0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x5d6480]
mov eax, dword [esp + 4]
mov edx, dword [0x5d6488]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x5c4ef0]
movzx eax, cl
add eax, dword [0x5d6484]
mov dword [0x5d6480], ecx
imul ecx, eax, 0x8088405
mov eax, dword [esp + 4]
inc ecx
mov dword [0x5d6484], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5c4ef0]
mov dword [0x5d6488], edx
ret 4

Function at 0x4db860
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x54]
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x18], esi
call fcn.004aeec0
xor edx, edx
mov ecx, dword [esp + edx + 0x18]
mov eax, ecx
shr eax, 0x18
mov byte [esp + edx + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + edx + 0x2d], al
mov eax, ecx
shr eax, 8
mov byte [esp + edx + 0x2e], al
mov byte [esp + edx + 0x2f], cl
add edx, 4
cmp edx, 0x14
jb 0x4db897
test ebp, ebp
je 0x4db8dc
cmp byte [esi], 0
je 0x4db8dc
mov ecx, 0x18
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
jmp 0x4db904
lea edi, [ebx + 0x60]
mov ecx, 0x40
mov eax, edi
xor byte [eax], 0x6a
lea eax, [eax + 1]
sub ecx, 1
jne 0x4db8e6
push ebx
call fcn.004aefe0
push 0x40
push edi
push ebx
call fcn.004af020
test ebp, ebp
je 0x4db91b
cmp byte [esi], 0
jne 0x4db91b
mov eax, dword [esp + 0x10]
mov ecx, 0x18
mov esi, ebx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x14
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.004af020
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.004aeec0
pop edi
pop esi
pop ebp
xor edx, edx
pop ebx
lea esp, [esp]
mov ecx, dword [esp + edx + 8]
mov eax, ecx
shr eax, 0x18
mov byte [esp + edx + 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + edx + 0x1d], al
mov eax, ecx
shr eax, 8
mov byte [esp + edx + 0x1e], al
mov byte [esp + edx + 0x1f], cl
add edx, 4
cmp edx, 0x14
jb 0x4db940
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4db985
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0xc]
call fcn.0051f6b0
add esp, 0xc
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0051dca8
add esp, 0x34
ret 0x14
Function at 0x4db9a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
lea ebx, [esi + 0x60]
cmp edi, 0x40
jbe 0x4db9d7
push esi
call fcn.004aefe0
push edi
push dword [esp + 0x18]
push esi
call fcn.004af020
push ebx
push esi
call fcn.004dbd40
mov dword [esi + 0xa0], 0x14
jmp 0x4db9ef
push edi
push dword [esp + 0x18]
push ebx
call fcn.0051f6b0
add esp, 0xc
mov dword [esi + 0xa0], edi
test edi, edi
je 0x4dba13
mov edx, 0xffffffa0
mov eax, ebx
sub edx, esi
jmp 0x4dba00
xor byte [eax], 0x36
lea eax, [eax + 1]
mov edi, dword [esi + 0xa0]
lea ecx, [edx + eax]
cmp ecx, edi
jb 0x4dba00
mov eax, 0x40
sub eax, edi
push eax
lea eax, [esi + 0x60]
add eax, edi
push 0x36
push eax
call fcn.005201d0
add esp, 0xc
push esi
call fcn.004aefe0
push 0x40
push ebx
push esi
call fcn.004af020
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4defc0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x10c
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push edi
mov edi, dword [esp + 0x118]
push 0
push 0
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
mov eax, dword [edi]
push 0x40
mov esi, dword [eax + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
cmp eax, 0x40
jne 0x4df0bf
cmp byte [esp + 8], 0x4d
jne 0x4df0bf
cmp byte [esp + 9], 0x5a
jne 0x4df0bf
mov eax, dword [edi]
push 0
push 0
push dword [esp + 0x4c]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
mov eax, dword [edi]
push pe_nt_image_headers32
mov esi, dword [eax + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
cmp eax, 0x108
jne 0x4df0bf
cmp byte [esp + 8], 0x50
jne 0x4df0bf
cmp byte [esp + 9], 0x45
jne 0x4df0bf
cmp byte [esp + 0xa], 0
jne 0x4df0bf
cmp byte [esp + 0xb], 0
jne 0x4df0bf
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x21]
cmp cl, 0xb
jne 0x4df0bf
cmp al, 1
jne 0x4df0a3
cmp dword [esp + 0x7c], 4
jbe 0x4df0a3
mov eax, dword [esp + 0xa0]
jmp 0x4df0c1
cmp cl, 0xb
jne 0x4df0bf
cmp al, 2
jne 0x4df0bf
cmp dword [esp + 0x8c], 4
jbe 0x4df0bf
mov eax, dword [esp + 0xb0]
jmp 0x4df0c1
xor eax, eax
mov ecx, dword [esp + 0x110]
pop edi
pop esi
xor ecx, esp
call fcn.0051dca8
add esp, 0x10c
ret 4