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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push esi
push 0x4f9ce8
push eax
mov esi, ecx
call fcn.004adb90
mov ebx, eax
test ebx, ebx
sete al
mov byte [esi + 0x3028], al
test al, al
jne 0x499faf
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004e0c61
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x499fa6
cmp word [esp + 0x12], 1
jne 0x499fa6
push ebp
push edi
push 0
push 0
push ebx
call fcn.004e0d08
movzx edx, word [esp + 0x28]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004df966
mov esi, eax
movzx eax, word [esp + 0x2c]
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx + ecx + 0x14]
push edx
call fcn.004df966
mov edi, eax
movzx eax, word [esp + 0x30]
dec eax
push ebx
shl eax, 4
push 1
add eax, 0x16
push eax
push esi
mov dword [esp + 0x38], edi
call fcn.004e0c61
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
xor eax, eax
add esp, 0x24
mov dword [edi + 0x10], edx
mov dword [esp + 0x38], 0
cmp ax, word [esp + 0x1c]
jae 0x499f4b
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x10], eax
jmp 0x499eb4
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [eax - 8], edx
mov ecx, dword [ebp]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x38]
inc ecx
mov word [eax], cx
mov edi, dword [ebp]
push edi
call fcn.004df966
mov esi, eax
add esp, 4
test esi, esi
je 0x499f91
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004e0d08
push ebx
push 1
push edi
push esi
call fcn.004e0c61
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add esp, 0x1c
push edi
push esi
inc eax
push 0x400
movzx eax, ax
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push esi
mov edi, eax
call fcn.004df10f
add esp, 4
test edi, edi
je 0x499f91
mov eax, dword [esp + 0x38]
movzx edx, word [esp + 0x1c]
add dword [esp + 0x10], 0xe
inc eax
add ebp, 0x10
cmp eax, edx
mov dword [esp + 0x38], eax
jl 0x499eb0
mov edi, dword [esp + 0x14]
push ebx
call fcn.004e0841
movzx eax, word [esp + 0x20]
dec eax
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
movzx eax, word [esp + 0x3c]
lea edx, [ecx + ecx + 0x14]
mov ecx, dword [esp + 0x34]
push edx
push edi
push 0x400
push eax
push 0xe
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
pop edi
neg eax
pop ebp
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004e0841
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004e0841
add esp, 4
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x499fc0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x4f9ce8
push eax
mov edi, ecx
call fcn.004adb90
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
jne 0x49a0bd
push esi
call fcn.004e08bd
add esp, 4
cmp eax, 0x42
jne 0x49a0b4
push esi
call fcn.004e08bd
add esp, 4
cmp eax, 0x4d
jne 0x49a0b4
push 0
push 2
push esi
call fcn.004e0d08
push esi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.004e0c61
mov eax, dword [esp + 0x2c]
sub eax, 0xe
push eax
mov dword [esp + 0x30], eax
call fcn.004df966
mov edi, eax
add esp, 0x20
test edi, edi
je 0x49a0b4
push 0
push 0xe
push esi
call fcn.004e0d08
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push edi
call fcn.004e0c61
add esp, 0x1c
cmp eax, dword [esp + 0x10]
je 0x49a076
push edi
call fcn.004df10f
push esi
call fcn.004e0841
add esp, 8
pop edi
xor al, al
pop esi
ret 0xc
push esi
call fcn.004e0841
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0x18]
mov edx, dword [esp + 0x10]
add esp, 4
push eax
push edi
push 0x400
push ecx
push 2
push edx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push edi
mov esi, eax
call fcn.004df10f
add esp, 4
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
ret 0xc
push esi
call fcn.004e0841
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x49a130
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
push edi
push 0x4f9ce8
push eax
mov edi, ecx
call fcn.004adb90
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
je 0x49a16f
mov al, 1
jmp 0x49a1b9
push esi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004e0c61
push esi
mov edi, eax
call fcn.004e0841
lea ecx, [edi - 4]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x49a1b7
mov dl, 0x55
cmp byte [esp + eax + 8], dl
jne 0x49a1b2
cmp byte [esp + eax + 9], 0x50
jne 0x49a1b2
cmp byte [esp + eax + 0xa], 0x58
jne 0x49a1b2
cmp byte [esp + eax + 0xb], 0x30
je 0x49a16b
inc eax
cmp eax, ecx
jl 0x49a197
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x404
ret 4

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

Disassembly:
mov eax, 0x2004
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
push esi
push edi
mov edi, dword [esp + 0x2018]
push 0x4f9ce8
push eax
mov ebx, ecx
call fcn.004adb90
mov esi, eax
test esi, esi
sete al
mov byte [ebx + 0x3028], al
test al, al
je 0x49a22b
xor al, al
jmp 0x49a276
push esi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004e0c61
add esp, 0x10
test eax, eax
je 0x49a26b
push edi
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004e3fae
push esi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004e0c61
add esp, 0x20
test eax, eax
jne 0x49a244
push esi
call fcn.004e0841
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x2004
ret 8
Function at 0x49a290
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x201c]
push 0x4f9ce8
push eax
mov dword [esp + 0x14], ecx
call fcn.004adb90
mov ebp, eax
test ebp, ebp
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x49a2e1
xor eax, eax
jmp 0x49a42a
push ebx
push edi
push ebp
push 0x2000
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.004e0c61
mov ebx, eax
add esp, 0x10
cmp ebx, 0x28
jbe 0x49a3ea
jmp 0x49a310
lea eax, [ebx - 0x28]
xor edi, edi
test eax, eax
jbe 0x49a3b5
lea esi, [esp + 0x1c]
cmp byte [esp + edi + 0x18], 0x2a
jne 0x49a34b
cmp byte [esp + edi + 0x19], 0x2a
jne 0x49a34b
push 0xc
lea eax, [esp + edi + 0x1e]
push str.messages
push eax
call fcn.004e2169
add esp, 0xc
test eax, eax
je 0x49a3f7
mov eax, 0x2a
cmp word [esi - 4], ax
jne 0x49a379
cmp word [esi - 2], ax
jne 0x49a379
push 0xc
push 0x4fb180
push esi
call fcn.004e3603
add esp, 0xc
test eax, eax
je 0x49a3f7
mov eax, 0x2a
mov ecx, 0xfeff
cmp word [esi - 4], cx
jne 0x49a3a6
cmp word [esi - 2], ax
jne 0x49a3a6
cmp word [esi], ax
jne 0x49a3a6
push 0xc
lea edx, [esi + 2]
push 0x4fb180
push edx
call fcn.004e3603
add esp, 0xc
test eax, eax
je 0x49a3f7
inc edi
lea eax, [ebx - 0x28]
add esi, 2
cmp edi, eax
jb 0x49a321
mov eax, dword [esp + 0x10]
lea ebx, [eax + ebx - 0x28]
push 0
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.004e0d08
push ebp
push 0x2000
lea ecx, [esp + 0x2c]
push 1
push ecx
call fcn.004e0c61
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x28
ja 0x49a310
push ebp
call fcn.004e0841
add esp, 4
xor eax, eax
jmp 0x49a428
mov edx, dword [esp + 0x10]
push 0
add edi, edx
push edi
push ebp
call fcn.004e0d08
mov eax, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 1
push ecx
call fcn.004e0c61
push ebp
mov esi, eax
call fcn.004e0841
add esp, 0x20
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2010]
pop esi
pop ebp
xor ecx, esp
call fcn.004df2c4
add esp, 0x200c
ret 0xc
Function at 0x49a450
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x4fe404
push eax
mov esi, ecx
call fcn.004adb90
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x49a496
xor al, al
jmp 0x49a551
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004e0c61
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x49a517
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x49a4ee
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x49a4e6
cmp byte [esp + esi + 0x11], 0x73
jne 0x49a4e6
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004e2169
add esp, 0xc
test eax, eax
je 0x49a524
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x49a4c0
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004e0d08
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004e0c61
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x49a4b6
push edi
call fcn.004e0841
add esp, 4
xor al, al
jmp 0x49a54f
push 0
add esi, ebx
push esi
push edi
call fcn.004e0d08
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004e3fae
cmp eax, 0x15
push edi
sete bl
call fcn.004e0841
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x2004
ret 4

Function at 0x49b9d0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebx
push esi
push 0x4f9ce8
push eax
call fcn.00443120
mov esi, eax
xor ebx, ebx
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x49ba0f
xor al, al
jmp 0x49baa0
push ebp
push edi
mov dword [esp + 0x14], ebx
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004e0c61
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x49ba93
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x49ba6b
lea ebx, [ebx]
cmp byte [esp + esi + 0x18], 0x72
jne 0x49ba66
cmp byte [esp + esi + 0x19], 0x65
jne 0x49ba66
push 0x14
lea ecx, [esp + esi + 0x1e]
push str.quireAdministrator_
push ecx
call fcn.004e2169
add esp, 0xc
test eax, eax
je 0x49bab9
inc esi
cmp esi, ebp
jl 0x49ba40
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.004e0d08
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x49ba15
push esi
call fcn.004e0841
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004e0841
add esp, 4
mov al, 1
jmp 0x49ba9e
Function at 0x49d790
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x50f10c], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x49d7e9
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov cx, word [esp + 0x6c]
xor edx, edx
mov word [0x560cd8], cx
mov word [0x560cda], dx
mov dword [0x50f10c], 0x560cd8
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.00466a00
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x50f0fc
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor edx, edx
mov word [esi + edi*2 - 2], dx
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x130
ret 0x10

Function at 0x49dc50
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x49dcb7
push esi
push edi
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df0da
mov esi, eax
add esp, 4
test esi, esi
je 0x49dcb5
push edi
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
push esi
call fcn.0049dac0
push esi
call fcn.004e0284
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x49f4d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, ecx
cmp ebp, 0xa8
jne 0x49f529
push 1
push str.Settings
call fcn.0047e3f0
test eax, eax
je 0x49f51e
mov eax, dword [0x5354dc]
mov ecx, dword [0x5275b4]
lea esi, [edi + 0x1088]
push esi
push 0x49f100
push eax
push str.ORGTHEMES
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi], 0
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
cmp ebp, 0xa9
jne 0x49f55a
push 1
push 0x4f9a98
push 0
push 0x4f9
call fcn.004610c0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
mov eax, dword [0x5354dc]
test eax, eax
jne 0x49f567
xor esi, esi
jmp 0x49f590
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x49f576
xor esi, esi
jmp 0x49f590
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x49f589
xor esi, esi
jmp 0x49f590
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xaa
jne 0x49f5a9
mov dword [edi + 0x80], 0xffffffff
push 0x4f9a98
jmp 0x49f60b
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x49f651
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004e01d0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push ebp
push esi
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x49f651
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x49f651
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.00450f20
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.00496420
mov eax, dword [edi + 0x1084]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x49f632
push 0
push eax
push esi
call ebx
push 8
push ebp
push esi
call ebx
mov ecx, edi
mov dword [edi + 0x1084], ebp
call fcn.0049e770
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x30
ret 4
Function at 0x4a0050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
xor esi, esi
jmp 0x4a0075
xor edi, edi
push 0xf
call ebp
mov edx, dword [0x5275b4]
push 1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x50f12c]
push edi
push eax
push edx
mov dword [esp + 0x34], edi
call ebx
push 0xf
mov dword [esi + 0x50f150], eax
call ebp
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0x50f130]
push 2
mov dword [esp + 0x20], eax
mov eax, dword [0x5275b4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x5275b4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a00db
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x4a00e3
mov dword [esp + 0x18], 0x800080
mov eax, dword [0x5275b4]
push 1
lea edx, [esp + 0x1c]
push edx
push 0
push edi
push eax
call ebx
mov dword [esi + 0x50f154], eax
add esi, 0x38
cmp esi, 0x460
jb 0x4a0073
push 0xf
mov dword [esp + 0x2c], 0xc0c0c0
call ebp
mov edx, dword [0x5275b4]
push 1
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x67
push edx
mov dword [esp + 0x40], eax
call ebx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
cmp byte [0x5275f8], 0
je 0x4a0144
push eax
call fcn.004ad1c0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a15d0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4a15eb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.00496520
test eax, eax
je 0x4a17a3
mov eax, dword [0x5275b0]
mov ecx, dword [0x5354dc]
push ebx
push ebp
push edi
push 0
push eax
push 0xd
push ecx
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 ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push eax
mov dword [esi + 4], eax
call ebp
call fcn.004adb20
mov ebx, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x14], ebx
test al, al
je 0x4a1672
push ebx
call fcn.004ada80
push 0x10
mov ebx, eax
call fcn.004ada80
mov dword [esp + 0x14], eax
movzx edi, word [esp + 0x14]
mov eax, dword [esi + 4]
movzx edx, bx
shl edi, 0x10
or edi, edx
push edi
push 0
push 0x41f
push eax
call ebp
mov ecx, dword [esi + 4]
push edi
push 0
push 0x420
push ecx
call ebp
push 0
push 0xf
push str.FolderUp.bmp
mov ecx, 0x5446c8
call fcn.0049efe0
mov edi, eax
test edi, edi
jne 0x4a16b7
mov edi, dword [esi + 0x18]
cmp byte [esp + 0x13], 0
je 0x4a16d7
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.004ae730
mov edi, eax
push edi
mov ecx, 0x5446c8
call fcn.0049e9c0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push 1
push 0x413
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
call ebp
mov edx, dword [esi + 4]
push 0x50f588
push 1
push 0x444
push edx
call ebp
lea eax, [esp + 0x30]
push eax
push 2
mov ecx, esi
call fcn.004a08a0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], 0x173
test eax, eax
jne 0x4a1732
mov eax, 1
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
or eax, 4
push 0x12
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], 2
mov dword [esp + 0x58], 0
call edi
push 0xf
mov dword [esp + 0x40], eax
call edi
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x40], eax
jne 0x4a1775
mov dword [esp + 0x5c], 0x28
mov eax, dword [0x53fd00]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push 0x40a
push eax
mov dword [esp + 0x68], ecx
call ebp
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x70
ret
Function at 0x4a3370
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
ja 0x4a33f4
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
cmp dword [esp + 0x10], 4
je 0x4a33f3
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4a33e8
lea edx, [esp + 0x24]
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
call esi
sub eax, edi
cmp eax, 0x2710
jbe 0x4a3394
pop ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
lea edx, [esp + 0x14]
push edx
mov eax, 3
mov word [esp + 0x18], ax
mov eax, dword [ebx + 0xc]
push 2
mov dword [esp + 0x24], 0x96
mov ecx, dword [eax]
push 0x3f
push eax
mov eax, dword [ecx + 0xd8]
call eax
pop edi
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x4a4470
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push 0
mov esi, ecx
push ebx
mov byte [esi + 0x29], al
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004a43f0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
push ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0xc]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x4a44d6
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, dword [esp + 0x18]
push esi
mov ebp, eax
sub edi, eax
mov eax, dword [esi]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
sub ecx, eax
push ecx
push edi
push eax
push ebp
push 0x40000000
push 0
push str.RarHtmlClassName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], eax
pop ebp
jne 0x4a4560
test ebx, ebx
je 0x4a4584
cmp dword [esi + 0x1c], 0
jne 0x4a4584
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4a4584
push eax
mov ecx, esi
call fcn.004a3b70
mov esi, eax
test esi, esi
je 0x4a4584
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.004df10f
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret 0x14
test eax, eax
je 0x4a4577
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x24], 0x64
jbe 0x4a4584
mov ecx, esi
call fcn.004a3370
pop esi
pop ebx
add esp, 0x10
ret 0x14