joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2c80
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov eax, 0x4324
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x4320], eax
push esi
push edi
mov edi, dword [esp + 0x4330]
push edi
call fcn.00478260
mov esi, eax
test esi, esi
jne 0x4a2cb4
xor al, al
jmp 0x4a2e8a
push 0xc8
push 0x50b8c4
lea eax, [esp + 0x10]
push eax
push 0x50b8c4
push esi
push SysReAllocString
call fcn.0049fd80
cmp word [esp + 8], 0
je 0x4a2cad
push 0xc8
push str._shellprintcommand
lea eax, [esp + 0x10]
push eax
call fcn.0048e6d0
push 0x800
push 0x50b8c4
lea eax, [esp + 0x330]
push eax
push 0x50b8c4
lea eax, [esp + 0x18]
push eax
push SysReAllocString
call fcn.0049fd80
cmp word [esp + 0x328], 0
jne 0x4a2dc8
push esi
push str.SoftwareClasses_s
lea eax, [esp + 0x1a0]
push 0xc8
push eax
call fcn.004028e0
add esp, 0x10
lea eax, [esp + 8]
push 0xc8
push 0x50b8c4
push eax
push 0x50b8c4
lea eax, [esp + 0x1a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049fd80
cmp word [esp + 8], 0
je 0x4a2cad
lea eax, [esp + 8]
push eax
push str.SoftwareClasses_s_shellprintcommand
lea eax, [esp + 0x1a0]
push 0xc8
push eax
call fcn.004028e0
add esp, 0x10
lea eax, [esp + 0x328]
push 0x800
push 0x50b8c4
push eax
push 0x50b8c4
lea eax, [esp + 0x1a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049fd80
cmp word [esp + 0x328], 0
je 0x4a2cad
push 0x1000
lea eax, [esp + 0x232c]
push eax
lea eax, [esp + 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x2328]
push 0x510734
push eax
call fcn.004ee823
add esp, 8
test eax, eax
je 0x4a2cad
push ebx
lea ecx, [esp + 0x232c]
xor bl, bl
cmp eax, ecx
jbe 0x4a2e17
cmp word [eax - 2], 0x22
jne 0x4a2e17
mov bl, 1
xor ecx, ecx
push 0x1000
mov word [eax], cx
lea eax, [esp + 0x2330]
push edi
push eax
call fcn.0048e6d0
test bl, bl
pop ebx
je 0x4a2e4b
push 0x1000
push 0x51025c
lea eax, [esp + 0x2330]
push eax
call fcn.0048e6d0
push 0x800
lea eax, [esp + 0x132c]
push eax
lea eax, [esp + 0x2330]
push eax
call fcn.0048dfd0
push 8
push 0
push eax
lea eax, [esp + 0x1334]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x4328]
pop edi
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x4324
ret 4

Function at 0x4a2eb0
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push 8
push 0
push 0
push esi
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
jne 0x4a2ef2
push esi
call fcn.004a2c80
test al, al
jne 0x4a2ef2
push esi
push 0x557
call fcn.00488530
push eax
call fcn.004cf640
add esp, 8
pop esi
mov al, bl
pop ebx
ret 4
Function at 0x4a3560
Capabilities:
Write file on windows

Disassembly:
mov eax, 0xa804
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0xa800], eax
push esi
mov esi, dword [esp + 0xa80c]
lea eax, [esp + 0xa818]
push eax
push 0
push dword [esp + 0xa81c]
lea eax, [esp + 0x1810]
push 0x1800
push eax
call fcn.004028d0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004f23e1
xor eax, eax
add esp, 0x1c
mov word [esp + 0x4802], ax
mov eax, dword [esp + 0xa810]
sub eax, 0
je 0x4a362c
sub eax, 1
je 0x4a3603
sub eax, 1
jne 0x4a366d
push 0x1800
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x180c]
push eax
call fcn.00491720
lea ecx, [esp + 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a35f6
lea eax, [esp + 4]
jmp 0x4a365e
lea ecx, [esp + 0x1804]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a3610
sub ecx, edx
lea eax, [esp + 0x1804]
push esi
sar ecx, 1
push ecx
push 2
jmp 0x4a3664
push 0x6000
lea eax, [esp + 0x4808]
push eax
lea eax, [esp + 0x180c]
push eax
call fcn.004917a0
lea ecx, [esp + 0x4804]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a3650
lea eax, [esp + 0x4804]
push esi
sub ecx, edx
push ecx
push 1
push eax
call fcn.004f2dfc
add esp, 0x10
mov ecx, dword [esp + 0xa804]
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0xa804
ret
Function at 0x4a4540
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x50db48
push dword [esp + 0x14]
mov esi, ecx
call fcn.004c4600
mov edi, eax
test edi, edi
sete dl
mov byte [esi + 0x3028], dl
test dl, dl
jne 0x4a464d
push edi
call fcn.004f7664
add esp, 4
cmp eax, 0x42
jne 0x4a4644
push edi
call fcn.004f7664
add esp, 4
cmp eax, 0x4d
jne 0x4a4644
push ebx
push 0
push 2
push edi
call fcn.004f679d
push edi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.004f63b2
mov eax, dword [esp + 0x30]
sub eax, 0xe
push eax
mov dword [esp + 0x34], eax
call fcn.004f2e54
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x4a45d0
push edi
call fcn.004f2a17
add esp, 4
xor al, al
pop ebx
pop edi
pop esi
ret 0xc
push 0
push 0xe
push edi
call fcn.004f679d
push edi
push dword [esp + 0x24]
push 1
push ebx
call fcn.004f63b2
add esp, 0x1c
cmp eax, dword [esp + 0x14]
je 0x4a4607
push ebx
call fcn.004f252e
push edi
call fcn.004f2a17
add esp, 8
xor al, al
pop ebx
pop edi
pop esi
ret 0xc
push edi
call fcn.004f2a17
movzx eax, word [esp + 0x1c]
add esp, 4
push dword [esp + 0x14]
push ebx
push 0x400
push eax
push 2
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push ebx
mov esi, eax
call fcn.004f252e
add esp, 4
xor eax, eax
test esi, esi
setne al
pop ebx
pop edi
pop esi
ret 0xc
push edi
call fcn.004f2a17
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc
Function at 0x4a4a80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004ebbf0
mov eax, dword [0x528af4]
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 0x50db48
push eax
mov esi, ecx
call fcn.004c4600
mov edi, eax
test edi, edi
sete cl
mov byte [esi + 0x3028], cl
test cl, cl
je 0x4a4acb
xor al, al
jmp 0x4a4b16
push edi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004f63b2
add esp, 0x10
test eax, eax
je 0x4a4b0b
push ebx
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004f2dfc
push edi
push 0x2000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004f63b2
add esp, 0x20
test eax, eax
jne 0x4a4ae4
push edi
call fcn.004f2a17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2004
ret 8

Function at 0x4a4b30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2008
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x2004], eax
mov eax, dword [esp + 0x200c]
push ebp
push esi
push 0x510b84
push eax
mov esi, ecx
call fcn.004c4600
mov ebp, eax
test ebp, ebp
sete cl
mov byte [esi + 0x3028], cl
test cl, cl
je 0x4a4b76
xor al, al
jmp 0x4a4c1c
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.004f63b2
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jbe 0x4a4c0f
lea ebx, [ebx]
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4a4bdd
lea esp, [esp]
cmp byte [esp + esi + 0x14], 0x61
jne 0x4a4bd8
cmp byte [esp + esi + 0x15], 0x73
jne 0x4a4bd8
push 0x14
lea eax, [esp + 0x1a]
add eax, esi
push str.Invoker_
push eax
call fcn.004f3580
add esp, 0xc
test eax, eax
je 0x4a4c35
inc esi
cmp esi, edi
jl 0x4a4bb0
mov eax, dword [esp + 0x10]
add eax, 0xffffffe0
add eax, ebx
push 0
push eax
push ebp
mov dword [esp + 0x1c], eax
call fcn.004f679d
push ebp
push 0x2000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004f63b2
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x20
ja 0x4a4ba0
push ebp
call fcn.004f2a17
add esp, 4
xor al, al
pop edi
pop ebx
mov ecx, dword [esp + 0x200c]
pop esi
pop ebp
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2008
ret 4
mov eax, dword [esp + 0x10]
push 0
add eax, esi
push eax
push ebp
call fcn.004f679d
push ebp
push 0x15
push 1
push str.requireAdministrator_
call fcn.004f2dfc
cmp eax, 0x15
push ebp
sete bl
call fcn.004f2a17
add esp, 0x20
mov al, bl
jmp 0x4a4c1a
Function at 0x4a5230
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push edi
push 0x50db48
push eax
call fcn.0046a5a0
mov edi, eax
mov dword [esp + 8], edi
test edi, edi
jne 0x4a527f
xor al, al
pop edi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x200c
ret 4
push ebp
xor ebp, ebp
push ebx
mov dword [esp + 0xc], ebp
push esi
jmp 0x4a5290
push edi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004f63b2
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jle 0x4a5306
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4a52e0
cmp byte [esp + esi + 0x18], 0x72
jne 0x4a52db
cmp byte [esp + esi + 0x19], 0x65
jne 0x4a52db
push 0x14
lea eax, [esp + esi + 0x1e]
push str.quireAdministrator_
push eax
call fcn.004f3580
add esp, 0xc
test eax, eax
je 0x4a532c
inc esi
cmp esi, edi
jl 0x4a52b5
mov edi, dword [esp + 0x14]
add ebp, 0xffffffe0
push 0
add ebp, ebx
push ebp
push edi
call fcn.004f679d
mov esi, dword [esp + 0x1c]
add esp, 0xc
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x100
jb 0x4a5290
push edi
call fcn.004f2a17
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2018]
pop esi
pop ebx
pop ebp
pop edi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x200c
ret 4
push dword [esp + 0x14]
call fcn.004f2a17
add esp, 4
mov al, 1
jmp 0x4a5311

Function at 0x4a5340
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
push edi
push 0x50db48
push eax
mov esi, ecx
call fcn.004c4600
mov edi, eax
test edi, edi
sete cl
mov byte [esi + 0x3028], cl
test cl, cl
je 0x4a537f
mov al, 1
jmp 0x4a53c8
push edi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004f63b2
push edi
mov esi, eax
call fcn.004f2a17
add esi, 0xfffffffc
add esp, 0x14
xor eax, eax
test esi, esi
jle 0x4a53c6
cmp byte [esp + eax + 8], 0x55
jne 0x4a53c1
cmp byte [esp + eax + 9], 0x50
jne 0x4a53c1
cmp byte [esp + eax + 0xa], 0x58
jne 0x4a53c1
cmp byte [esp + eax + 0xb], 0x30
je 0x4a537b
inc eax
cmp eax, esi
jl 0x4a53a5
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x404
ret 4
Function at 0x4a57e0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2010
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x200c], eax
mov eax, dword [esp + 0x2014]
push ebx
push esi
push 0x50db48
mov esi, ecx
mov ecx, dword [esp + 0x2024]
push eax
mov dword [esp + 0x18], ecx
call fcn.004c4600
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
sete cl
mov byte [esi + 0x3028], cl
test cl, cl
je 0x4a5835
xor eax, eax
jmp 0x4a597c
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.004f63b2
add esp, 0x10
mov ebp, eax
cmp ebp, 0x28
jbe 0x4a596f
lea ebx, [ebp - 0x28]
xor edi, edi
mov eax, 0xfeff
test ebx, ebx
je 0x4a590a
lea esi, [esp + 0x20]
cmp byte [esp + edi + 0x1c], 0x2a
jne 0x4a58a4
cmp byte [esp + edi + 0x1d], 0x2a
jne 0x4a58a4
push 0xc
lea eax, [esp + 0x22]
add eax, edi
push 0x50fd48
push eax
call fcn.004f3580
add esp, 0xc
test eax, eax
je 0x4a593a
mov eax, 0xfeff
cmp word [esi - 4], 0x2a
jne 0x4a58cb
cmp word [esi - 2], 0x2a
jne 0x4a58cb
push 0xc
push str.messages
push esi
call fcn.004f2e5f
add esp, 0xc
test eax, eax
je 0x4a593a
mov eax, 0xfeff
cmp word [esi - 4], ax
jne 0x4a58fa
cmp word [esi - 2], 0x2a
jne 0x4a58fa
cmp word [esi], 0x2a
jne 0x4a58fa
push 0xc
lea eax, [esi + 2]
push str.messages
push eax
call fcn.004f2e5f
add esp, 0xc
test eax, eax
je 0x4a593a
mov eax, 0xfeff
inc edi
add esi, 2
cmp edi, ebx
jb 0x4a5873
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.004f679d
push ebx
push 0x2000
lea eax, [esp + 0x30]
push 1
push eax
call fcn.004f63b2
add esp, 0x1c
jmp 0x4a5852
mov eax, dword [esp + 0x10]
add eax, edi
mov edi, dword [esp + 0x14]
push 0
push eax
push edi
call fcn.004f679d
push edi
push dword [esp + 0x203c]
push 1
push dword [esp + 0x30]
call fcn.004f63b2
push edi
mov esi, eax
call fcn.004f2a17
add esp, 0x20
mov eax, esi
jmp 0x4a597a
push ebx
call fcn.004f2a17
add esp, 4
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0x2014]
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2010
ret 0xc

Function at 0x4a7a90
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x5270a0], 0
push esi
mov esi, dword [esp + 0x140]
push edi
mov edi, dword [esp + 0x148]
jne 0x4a7aee
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 [0x57a24c], ax
xor eax, eax
mov word [0x57a24e], ax
mov dword [0x5270a0], 0x57a24c
push 0x32
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x148]
push dword [esp + 0x148]
call fcn.0048e4f0
push edi
push esi
xor eax, eax
push 0x527090
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.004ebbd8
add esp, 0x130
ret 0x10
Function at 0x4a7c80
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 0x4a7ce4
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.004ebd1f
mov esi, eax
add esp, 4
test esi, esi
je 0x4a7ce2
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.004a7cf0
push esi
call fcn.004ebd28
add esp, 4
pop esi
pop ebx
pop edi
ret 0x14

Function at 0x4a9850
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
cmp esi, 0xa9
jne 0x4a98a6
push 1
push str.Settings
call fcn.0040b430
test eax, eax
je 0x4a989c
lea esi, [edi + 0x1088]
push esi
push 0x4a9470
push dword [0x538900]
push str.ORGTHEMES
push dword [0x56df20]
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, 0xaa
jne 0x4a98d6
push 1
push 0x50b8c4
push 0
push 0x4f9
call fcn.00488530
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 [0x538900]
push ebx
test eax, eax
jne 0x4a98e4
xor ebx, ebx
jmp 0x4a990d
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x4a98f3
xor ebx, ebx
jmp 0x4a990d
mov ebx, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call ebx
test eax, eax
jne 0x4a9906
xor ebx, ebx
jmp 0x4a990d
push 5
push eax
call ebx
mov ebx, eax
cmp esi, 0xab
jne 0x4a9926
mov dword [edi + 0x80], 0xffffffff
push 0x50b8c4
jmp 0x4a9988
lea eax, [esi - 0x41a]
cmp eax, 0x7f
ja 0x4a99ce
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004ee100
add esp, 0xc
mov dword [esp + 0xc], 0x30
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x20
push eax
push 0
push esi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x4a99ce
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x4a99ce
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.00478eb0
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.004a08d0
mov eax, dword [edi + 0x1084]
cmp eax, 0xffffffff
je 0x4a99ac
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 + 0x1084], esi
call fcn.004a8230
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 0x4ab430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push esi
push edi
mov edi, dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
xor esi, esi
mov dword [esp + 0x14], ecx
nop
push 0xf
call ebp
push 1
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0
push dword [esi + 0x5270c4]
mov dword [esp + 0x30], 0
push dword [0x56df20]
call edi
push 0xf
mov dword [esi + 0x5270e8], eax
call ebp
mov ebx, dword [esi + 0x5270c8]
mov dword [esp + 0x1c], eax
push 2
movzx eax, bx
push eax
push dword [0x56df20]
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [0x56df20]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ab4bd
cmp word [eax + 0xe], 8
je 0x4ab4c5
mov dword [esp + 0x18], 0x800080
push 1
lea eax, [esp + 0x1c]
push eax
push 0
push ebx
push dword [0x56df20]
call edi
mov dword [esi + 0x5270ec], eax
add esi, 0x38
cmp esi, 0x460
jb 0x4ab450
push 0xf
mov dword [esp + 0x2c], 0xc0c0c0
call ebp
push 1
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x67
push dword [0x56df20]
call edi
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
cmp byte [0x56df4c], 0
je 0x4ab525
push eax
call fcn.004c3f40
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4abaa0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x74
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x70], eax
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x4abac6
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.0049fd30
test eax, eax
je 0x4abc79
push ebx
push ebp
push 0
push dword [0x56df24]
push 0xd
push dword [0x538900]
push 0
push 0
push 0
push 0
push 0x56000944
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push eax
mov dword [edi + 4], eax
call ebx
call fcn.004c4720
mov cl, al
mov ebp, 0x10
mov byte [esp + 0xf], cl
mov eax, ebp
mov dword [esp + 0x10], eax
test cl, cl
je 0x4abb4f
push ebp
call fcn.004c47c0
push 0x10
mov ebp, eax
call fcn.004c47c0
mov dword [esp + 0x10], eax
push esi
movzx esi, ax
movzx ecx, bp
shl esi, 0x10
or esi, ecx
push esi
push 0
push 0x41f
push dword [edi + 4]
call ebx
push esi
push 0
push 0x420
push dword [edi + 4]
call ebx
push 0
push 0xf
push str.FolderUp.bmp
mov ecx, 0x55f640
call fcn.004a9110
mov esi, eax
test esi, esi
jne 0x4abb91
mov esi, dword [edi + 0x18]
cmp byte [esp + 0x13], 0
je 0x4abbb0
push dword [esp + 0x14]
push ebp
push esi
call fcn.004c4930
mov esi, eax
mov ecx, 0x55f640
push esi
call fcn.004a81c0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push 0x413
push dword [edi + 4]
mov dword [esp + 0x2c], esi
call ebx
push 0x527520
push 1
push 0x444
push dword [edi + 4]
call ebx
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push 2
call fcn.004aa500
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 0x38
mov dword [esp + 0x24], 0x173
test eax, eax
jne 0x4abc09
mov eax, 1
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
or eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
push 0x12
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], 2
mov dword [esp + 0x48], 0
call esi
push 0xf
mov dword [esp + 0x30], eax
call esi
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x30], eax
pop esi
jne 0x4abc4d
mov dword [esp + 0x48], 0x28
lea eax, [esp + 0x6c]
push eax
push dword [0x55d09c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 0x40a
push dword [edi + 8]
call ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x74
ret
Function at 0x4b52c0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
push 0x57b268
call fcn.0045e620
mov edi, dword [esp + 0xc]
mov ecx, 0x12345678
mov esi, 0x23456789
mov dword [0x58c7e4], ecx
mov edx, 0x34567890
mov dword [0x58c7e8], esi
mov dword [0x58c7ec], edx
mov al, byte [edi]
test al, al
je 0x4b5344
movsx eax, al
lea edi, [edi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57b268]
movzx eax, cl
add eax, esi
mov dword [0x58c7e4], ecx
imul esi, eax, 0x8088405
inc esi
mov eax, esi
mov dword [0x58c7e8], esi
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x57b268]
mov dword [0x58c7ec], edx
mov al, byte [edi]
test al, al
jne 0x4b52f7
pop edi
pop esi
ret 4

Function at 0x4b5350
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0x10
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
push eax
call fcn.004b52c0
mov eax, dword [esi]
xor edi, edi
mov ecx, dword [0x58c7ec]
mov ebx, dword [0x58c7e4]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
mov esi, dword [0x58c7e8]
mov dword [esp + 0x14], eax
jmp 0x4b53a0
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
movzx edx, al
movzx eax, byte [esp + edi + 0xc]
xor edx, eax
movzx eax, dl
xor eax, ebx
mov byte [esp + edi + 0xc], dl
movzx eax, al
inc edi
shr ebx, 8
xor ebx, dword [eax*4 + 0x57b268]
movzx eax, bl
add eax, esi
imul esi, eax, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57b268]
cmp edi, 0xc
jl 0x4b53a0
mov eax, dword [0x57b6ac]
movzx edx, byte [0x58b717]
mov dword [0x58c7e8], esi
movzx esi, byte [esp + 0x17]
mov dword [0x58c7ec], ecx
mov dword [0x58c7e4], ebx
test byte [eax + 0x40], 2
jne 0x4b542c
movzx edx, byte [0x58b71f]
cmp esi, edx
je 0x4b5447
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x10
ret 8
mov esi, dword [0x58b6c0]
mov eax, esi
cdq
cmp edx, dword [0x57b68c]
jl 0x4b5464
mov edx, dword [0x57b688]
jg 0x4b5466
cmp eax, edx
ja 0x4b5466
mov edx, esi
mov esi, dword [0x58b6bc]
test edx, edx
je 0x4b54e1
and ecx, 0xfffd
lea esi, [esi + 1]
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [esi - 1], al
movzx eax, byte [esi - 1]
mov ecx, dword [0x58c7e4]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x57b268]
movzx eax, cl
add eax, dword [0x58c7e8]
imul eax, eax, 0x8088405
mov dword [0x58c7e4], ecx
mov ecx, dword [0x58c7ec]
inc eax
mov dword [0x58c7e8], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57b268]
mov dword [0x58c7ec], ecx
sub edx, 1
jne 0x4b5470
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x10
ret 8
Function at 0x4b5500
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x58c7e4]
mov eax, ecx
xor eax, dword [esp + 4]
mov edx, dword [0x58c7ec]
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x57b268]
movzx eax, cl
add eax, dword [0x58c7e8]
mov dword [0x58c7e4], ecx
imul ecx, eax, 0x8088405
mov eax, dword [esp + 4]
inc ecx
mov dword [0x58c7e8], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x57b268]
mov dword [0x58c7ec], edx
ret 4