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

Disassembly:
mov eax, 0xa804
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0xa800], eax
mov ecx, dword [esp + 0xa80c]
lea eax, [esp + 0xa810]
push eax
push ecx
lea edx, [esp + 8]
push 0x1800
push edx
call fcn.004e8359
xor eax, eax
mov word [esp + 0x300e], ax
mov eax, dword [esp + 0xa818]
add esp, 0x10
sub eax, 0
je 0x49b199
sub eax, 1
je 0x49b177
sub eax, 1
jne 0x49b1dd
push 0x1800
lea ecx, [esp + 0x3004]
push ecx
lea edx, [esp + 8]
push edx
call fcn.0046a500
lea eax, [esp + 0x3000]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49b160
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x300c]
push eax
jmp 0x49b1d5
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b180
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x49b1d4
push 0x6000
lea edx, [esp + 0x4804]
push edx
lea eax, [esp + 8]
push eax
call fcn.0046a610
lea eax, [esp + 0x4800]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49b1c0
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x480c]
push ecx
call fcn.004e8056
add esp, 0x10
mov ecx, dword [esp + 0xa800]
xor ecx, esp
call fcn.004e34f4
add esp, 0xa804
ret

Function at 0x49baa0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10ec
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x10e8], eax
cmp byte [0x538309], 0
je 0x49baf6
push 0x800
lea eax, [esp + 4]
push eax
call fcn.004b7b20
test al, al
je 0x49bb52
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x49bb52
lea edx, [esp]
jmp 0x49bb3e
lea eax, [esp]
push eax
mov ecx, 0x544c98
mov dword [esp + 0x1094], 0
mov dword [esp + 0x1098], 0
call fcn.0048ed30
test al, al
je 0x49bb52
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x49bb52
lea edx, [esp]
push edx
push 0x557
call fcn.00461b20
push eax
call fcn.004bf990
add esp, 8
mov ecx, dword [esp + 0x10e8]
xor ecx, esp
call fcn.004e34f4
add esp, 0x10ec
ret
Function at 0x49d530
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push esi
push 0x4fdd08
push eax
mov esi, ecx
call fcn.004b1490
mov ebx, eax
test ebx, ebx
sete al
mov byte [esi + 0x3028], al
test al, al
jne 0x49d71f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004e4fb1
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x49d716
cmp word [esp + 0x12], 1
jne 0x49d716
push ebp
push edi
push 0
push 0
push ebx
call fcn.004e5058
movzx edx, word [esp + 0x28]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004e3b96
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.004e3b96
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.004e4fb1
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 0x49d6bb
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x10], eax
jmp 0x49d624
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.004e3b96
mov esi, eax
add esp, 4
test esi, esi
je 0x49d701
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004e5058
push ebx
push 1
push edi
push esi
call fcn.004e4fb1
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.004e3342
add esp, 4
test edi, edi
je 0x49d701
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 0x49d620
mov edi, dword [esp + 0x14]
push ebx
call fcn.004e4b91
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.004e4b91
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004e4b91
add esp, 4
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x49d730
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x4fdd08
push eax
mov edi, ecx
call fcn.004b1490
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
jne 0x49d82d
push esi
call fcn.004e4c0d
add esp, 4
cmp eax, 0x42
jne 0x49d824
push esi
call fcn.004e4c0d
add esp, 4
cmp eax, 0x4d
jne 0x49d824
push 0
push 2
push esi
call fcn.004e5058
push esi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.004e4fb1
mov eax, dword [esp + 0x2c]
sub eax, 0xe
push eax
mov dword [esp + 0x30], eax
call fcn.004e3b96
mov edi, eax
add esp, 0x20
test edi, edi
je 0x49d824
push 0
push 0xe
push esi
call fcn.004e5058
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push edi
call fcn.004e4fb1
add esp, 0x1c
cmp eax, dword [esp + 0x10]
je 0x49d7e6
push edi
call fcn.004e3342
push esi
call fcn.004e4b91
add esp, 8
pop edi
xor al, al
pop esi
ret 0xc
push esi
call fcn.004e4b91
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.004e3342
add esp, 4
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
ret 0xc
push esi
call fcn.004e4b91
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x49d8a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
push edi
push 0x4fdd08
push eax
mov edi, ecx
call fcn.004b1490
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
je 0x49d8df
mov al, 1
jmp 0x49d929
push esi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004e4fb1
push esi
mov edi, eax
call fcn.004e4b91
lea ecx, [edi - 4]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x49d927
mov dl, 0x55
cmp byte [esp + eax + 8], dl
jne 0x49d922
cmp byte [esp + eax + 9], 0x50
jne 0x49d922
cmp byte [esp + eax + 0xa], 0x58
jne 0x49d922
cmp byte [esp + eax + 0xb], 0x30
je 0x49d8db
inc eax
cmp eax, ecx
jl 0x49d907
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004e34f4
add esp, 0x404
ret 4

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

Disassembly:
mov eax, 0x2004
call fcn.004e3510
mov eax, dword [0x514bc0]
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 0x4fdd08
push eax
mov ebx, ecx
call fcn.004b1490
mov esi, eax
test esi, esi
sete al
mov byte [ebx + 0x3028], al
test al, al
je 0x49d99b
xor al, al
jmp 0x49d9e6
push esi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004e4fb1
add esp, 0x10
test eax, eax
je 0x49d9db
push edi
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004e8056
push esi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004e4fb1
add esp, 0x20
test eax, eax
jne 0x49d9b4
push esi
call fcn.004e4b91
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x2004
ret 8
Function at 0x49da00
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004e3510
mov eax, dword [0x514bc0]
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 0x4fdd08
push eax
mov dword [esp + 0x14], ecx
call fcn.004b1490
mov ebp, eax
test ebp, ebp
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x49da51
xor eax, eax
jmp 0x49db9a
push ebx
push edi
push ebp
push 0x2000
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.004e4fb1
mov ebx, eax
add esp, 0x10
cmp ebx, 0x28
jbe 0x49db5a
jmp 0x49da80
lea eax, [ebx - 0x28]
xor edi, edi
test eax, eax
jbe 0x49db25
lea esi, [esp + 0x1c]
cmp byte [esp + edi + 0x18], 0x2a
jne 0x49dabb
cmp byte [esp + edi + 0x19], 0x2a
jne 0x49dabb
push 0xc
lea eax, [esp + edi + 0x1e]
push str.messages
push eax
call fcn.004e64b9
add esp, 0xc
test eax, eax
je 0x49db67
mov eax, 0x2a
cmp word [esi - 4], ax
jne 0x49dae9
cmp word [esi - 2], ax
jne 0x49dae9
push 0xc
push 0x4ff260
push esi
call fcn.004e76f5
add esp, 0xc
test eax, eax
je 0x49db67
mov eax, 0x2a
mov ecx, 0xfeff
cmp word [esi - 4], cx
jne 0x49db16
cmp word [esi - 2], ax
jne 0x49db16
cmp word [esi], ax
jne 0x49db16
push 0xc
lea edx, [esi + 2]
push 0x4ff260
push edx
call fcn.004e76f5
add esp, 0xc
test eax, eax
je 0x49db67
inc edi
lea eax, [ebx - 0x28]
add esi, 2
cmp edi, eax
jb 0x49da91
mov eax, dword [esp + 0x10]
lea ebx, [eax + ebx - 0x28]
push 0
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.004e5058
push ebp
push 0x2000
lea ecx, [esp + 0x2c]
push 1
push ecx
call fcn.004e4fb1
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x28
ja 0x49da80
push ebp
call fcn.004e4b91
add esp, 4
xor eax, eax
jmp 0x49db98
mov edx, dword [esp + 0x10]
push 0
add edi, edx
push edi
push ebp
call fcn.004e5058
mov eax, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 1
push ecx
call fcn.004e4fb1
push ebp
mov esi, eax
call fcn.004e4b91
add esp, 0x20
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2010]
pop esi
pop ebp
xor ecx, esp
call fcn.004e34f4
add esp, 0x200c
ret 0xc
Function at 0x49dbc0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x502884
push eax
mov esi, ecx
call fcn.004b1490
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x49dc06
xor al, al
jmp 0x49dcc1
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004e4fb1
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x49dc87
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x49dc5e
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x49dc56
cmp byte [esp + esi + 0x11], 0x73
jne 0x49dc56
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004e64b9
add esp, 0xc
test eax, eax
je 0x49dc94
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x49dc30
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004e5058
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004e4fb1
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x49dc26
push edi
call fcn.004e4b91
add esp, 4
xor al, al
jmp 0x49dcbf
push 0
add esi, ebx
push esi
push edi
call fcn.004e5058
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004e8056
cmp eax, 0x15
push edi
sete bl
call fcn.004e4b91
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004e34f4
add esp, 0x2004
ret 4

Function at 0x49f150
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebx
push esi
push 0x4fdd08
push eax
call fcn.00443af0
mov esi, eax
xor ebx, ebx
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x49f18f
xor al, al
jmp 0x49f220
push ebp
push edi
mov dword [esp + 0x14], ebx
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004e4fb1
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x49f213
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x49f1eb
lea ebx, [ebx]
cmp byte [esp + esi + 0x18], 0x72
jne 0x49f1e6
cmp byte [esp + esi + 0x19], 0x65
jne 0x49f1e6
push 0x14
lea ecx, [esp + esi + 0x1e]
push str.quireAdministrator_
push ecx
call fcn.004e64b9
add esp, 0xc
test eax, eax
je 0x49f239
inc esi
cmp esi, ebp
jl 0x49f1c0
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.004e5058
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x49f195
push esi
call fcn.004e4b91
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004e4b91
add esp, 4
mov al, 1
jmp 0x49f21e
Function at 0x4a0f00
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x514150], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x4a0f59
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 [0x566db0], cx
mov word [0x566db2], dx
mov dword [0x514150], 0x566db0
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.00467630
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x514140
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.004e34f4
add esp, 0x130
ret 0x10

Function at 0x4a13c0
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 0x4a1427
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.004e330d
mov esi, eax
add esp, 4
test esi, esi
je 0x4a1425
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.004a1230
push esi
call fcn.004e44b4
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4a2c30
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, 0xa9
jne 0x4a2c89
push 1
push str.Settings
call fcn.0047f610
test eax, eax
je 0x4a2c7e
mov eax, dword [0x53a464]
mov ecx, dword [0x52c134]
lea esi, [edi + 0x1088]
push esi
push 0x4a2860
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, 0xaa
jne 0x4a2cba
push 1
push 0x4fdab8
push 0
push 0x4f9
call fcn.00461b20
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 [0x53a464]
test eax, eax
jne 0x4a2cc7
xor esi, esi
jmp 0x4a2cf0
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x4a2cd6
xor esi, esi
jmp 0x4a2cf0
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x4a2ce9
xor esi, esi
jmp 0x4a2cf0
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xab
jne 0x4a2d09
mov dword [edi + 0x80], 0xffffffff
push 0x4fdab8
jmp 0x4a2d6b
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x4a2db1
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004e4400
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 0x4a2db1
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x4a2db1
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.00451a10
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.004999f0
mov eax, dword [edi + 0x1084]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x4a2d92
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.004a1ed0
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 0x4a37d0
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 0x4a37f5
xor edi, edi
push 0xf
call ebp
mov edx, dword [0x52c134]
push 1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x514174]
push edi
push eax
push edx
mov dword [esp + 0x34], edi
call ebx
push 0xf
mov dword [esi + 0x514198], eax
call ebp
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0x514178]
push 2
mov dword [esp + 0x20], eax
mov eax, dword [0x52c134]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x52c134]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a385b
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x4a3863
mov dword [esp + 0x18], 0x800080
mov eax, dword [0x52c134]
push 1
lea edx, [esp + 0x1c]
push edx
push 0
push edi
push eax
call ebx
mov dword [esi + 0x51419c], eax
add esi, 0x38
cmp esi, 0x460
jb 0x4a37f3
push 0xf
mov dword [esp + 0x2c], 0xc0c0c0
call ebp
mov edx, dword [0x52c134]
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 [0x52c178], 0
je 0x4a38c4
push eax
call fcn.004b0b30
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a4d50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4a4d6b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.00499a90
test eax, eax
je 0x4a4f23
mov eax, dword [0x52c130]
mov ecx, dword [0x53a464]
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.004b2110
mov ebx, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x14], ebx
test al, al
je 0x4a4df2
push ebx
call fcn.004b2070
push 0x10
mov ebx, eax
call fcn.004b2070
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, 0x5496f0
call fcn.004a2740
mov edi, eax
test edi, edi
jne 0x4a4e37
mov edi, dword [esi + 0x18]
cmp byte [esp + 0x13], 0
je 0x4a4e57
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.004b2180
mov edi, eax
push edi
mov ecx, 0x5496f0
call fcn.004a2120
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 0x5145d0
push 1
push 0x444
push edx
call ebp
lea eax, [esp + 0x30]
push eax
push 2
mov ecx, esi
call fcn.004a4020
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], 0x173
test eax, eax
jne 0x4a4eb2
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 0x4a4ef5
mov dword [esp + 0x5c], 0x28
mov eax, dword [0x544c88]
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 0x4a6a80
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 0x4a6b04
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebx + 0x10]
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 0x4a6b03
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 0x4a6af8
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 0x4a6aa4
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 + 0x10]
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 0x4a7560
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push edi
lea edx, [esp + 0xc]
mov edi, ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call eax
mov esi, eax
test esi, esi
jl 0x4a75f6
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a75ee
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x506e18
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x4a75de
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
mov esi, eax
test esi, esi
jl 0x4a75d2
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test esi, esi
jl 0x4a75f6
test eax, eax
jne 0x4a7652
cmp dword [edi + 8], 0
je 0x4a7652
cmp dword [edi + 0x20], 0
jne 0x4a7652
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4a7652
push ebx
push eax
mov ecx, edi
call fcn.004a7070
mov ebx, eax
test ebx, ebx
je 0x4a7651
mov eax, dword [edi + 4]
push 0x204
push 0
push 0
push 0
push 0
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 8]
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.004e3342
add esp, 4
pop ebx
xor eax, eax
test esi, esi
pop edi
setge al
pop esi
add esp, 8
ret 8