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

Disassembly:
mov eax, 0xa804
call fcn.004df840
mov eax, dword [0x50fb70]
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.004e4809
xor eax, eax
mov word [esp + 0x300e], ax
mov eax, dword [esp + 0xa818]
add esp, 0x10
sub eax, 0
je 0x497d89
sub eax, 1
je 0x497d67
sub eax, 1
jne 0x497dcd
push 0x1800
lea ecx, [esp + 0x3004]
push ecx
lea edx, [esp + 8]
push edx
call fcn.00469ac0
lea eax, [esp + 0x3000]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x497d50
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x300c]
push eax
jmp 0x497dc5
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x497d70
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x497dc4
push 0x6000
lea edx, [esp + 0x4804]
push edx
lea eax, [esp + 8]
push eax
call fcn.00469bd0
lea eax, [esp + 0x4800]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x497db0
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x480c]
push ecx
call fcn.004e450e
add esp, 0x10
mov ecx, dword [esp + 0xa800]
xor ecx, esp
call fcn.004df824
add esp, 0xa804
ret

Function at 0x498690
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10ec
call fcn.004df840
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x10e8], eax
cmp byte [0x533389], 0
je 0x4986e6
push 0x800
lea eax, [esp + 4]
push eax
call fcn.004b4480
test al, al
je 0x498742
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 0x498742
lea edx, [esp]
jmp 0x49872e
lea eax, [esp]
push eax
mov ecx, 0x53fd10
mov dword [esp + 0x1094], 0
mov dword [esp + 0x1098], 0
call fcn.0048d180
test al, al
je 0x498742
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 0x498742
lea edx, [esp]
push edx
push 0x557
call fcn.004612b0
push eax
call fcn.004bc000
add esp, 8
mov ecx, dword [esp + 0x10e8]
xor ecx, esp
call fcn.004df824
add esp, 0x10ec
ret
Function at 0x49a130
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.004adee0
mov ebx, eax
test ebx, ebx
sete al
mov byte [esi + 0x3028], al
test al, al
jne 0x49a31f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004e11c1
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x49a316
cmp word [esp + 0x12], 1
jne 0x49a316
push ebp
push edi
push 0
push 0
push ebx
call fcn.004e1268
movzx edx, word [esp + 0x28]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004dfec6
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.004dfec6
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.004e11c1
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 0x49a2bb
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x10], eax
jmp 0x49a224
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.004dfec6
mov esi, eax
add esp, 4
test esi, esi
je 0x49a301
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004e1268
push ebx
push 1
push edi
push esi
call fcn.004e11c1
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.004df66f
add esp, 4
test edi, edi
je 0x49a301
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 0x49a220
mov edi, dword [esp + 0x14]
push ebx
call fcn.004e0da1
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.004e0da1
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004e0da1
add esp, 4
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x49a330
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x4f9ce8
push eax
mov edi, ecx
call fcn.004adee0
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
jne 0x49a42d
push esi
call fcn.004e0e1d
add esp, 4
cmp eax, 0x42
jne 0x49a424
push esi
call fcn.004e0e1d
add esp, 4
cmp eax, 0x4d
jne 0x49a424
push 0
push 2
push esi
call fcn.004e1268
push esi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.004e11c1
mov eax, dword [esp + 0x2c]
sub eax, 0xe
push eax
mov dword [esp + 0x30], eax
call fcn.004dfec6
mov edi, eax
add esp, 0x20
test edi, edi
je 0x49a424
push 0
push 0xe
push esi
call fcn.004e1268
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push edi
call fcn.004e11c1
add esp, 0x1c
cmp eax, dword [esp + 0x10]
je 0x49a3e6
push edi
call fcn.004df66f
push esi
call fcn.004e0da1
add esp, 8
pop edi
xor al, al
pop esi
ret 0xc
push esi
call fcn.004e0da1
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.004df66f
add esp, 4
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
ret 0xc
push esi
call fcn.004e0da1
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x49a4a0
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.004adee0
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
je 0x49a4df
mov al, 1
jmp 0x49a529
push esi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004e11c1
push esi
mov edi, eax
call fcn.004e0da1
lea ecx, [edi - 4]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x49a527
mov dl, 0x55
cmp byte [esp + eax + 8], dl
jne 0x49a522
cmp byte [esp + eax + 9], 0x50
jne 0x49a522
cmp byte [esp + eax + 0xa], 0x58
jne 0x49a522
cmp byte [esp + eax + 0xb], 0x30
je 0x49a4db
inc eax
cmp eax, ecx
jl 0x49a507
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004df824
add esp, 0x404
ret 4

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

Disassembly:
mov eax, 0x2004
call fcn.004df840
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.004adee0
mov esi, eax
test esi, esi
sete al
mov byte [ebx + 0x3028], al
test al, al
je 0x49a59b
xor al, al
jmp 0x49a5e6
push esi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004e11c1
add esp, 0x10
test eax, eax
je 0x49a5db
push edi
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004e450e
push esi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004e11c1
add esp, 0x20
test eax, eax
jne 0x49a5b4
push esi
call fcn.004e0da1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x2004
ret 8
Function at 0x49a600
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004df840
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.004adee0
mov ebp, eax
test ebp, ebp
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x49a651
xor eax, eax
jmp 0x49a79a
push ebx
push edi
push ebp
push 0x2000
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.004e11c1
mov ebx, eax
add esp, 0x10
cmp ebx, 0x28
jbe 0x49a75a
jmp 0x49a680
lea eax, [ebx - 0x28]
xor edi, edi
test eax, eax
jbe 0x49a725
lea esi, [esp + 0x1c]
cmp byte [esp + edi + 0x18], 0x2a
jne 0x49a6bb
cmp byte [esp + edi + 0x19], 0x2a
jne 0x49a6bb
push 0xc
lea eax, [esp + edi + 0x1e]
push str.messages
push eax
call fcn.004e26c9
add esp, 0xc
test eax, eax
je 0x49a767
mov eax, 0x2a
cmp word [esi - 4], ax
jne 0x49a6e9
cmp word [esi - 2], ax
jne 0x49a6e9
push 0xc
push 0x4fb180
push esi
call fcn.004e3b63
add esp, 0xc
test eax, eax
je 0x49a767
mov eax, 0x2a
mov ecx, 0xfeff
cmp word [esi - 4], cx
jne 0x49a716
cmp word [esi - 2], ax
jne 0x49a716
cmp word [esi], ax
jne 0x49a716
push 0xc
lea edx, [esi + 2]
push 0x4fb180
push edx
call fcn.004e3b63
add esp, 0xc
test eax, eax
je 0x49a767
inc edi
lea eax, [ebx - 0x28]
add esi, 2
cmp edi, eax
jb 0x49a691
mov eax, dword [esp + 0x10]
lea ebx, [eax + ebx - 0x28]
push 0
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.004e1268
push ebp
push 0x2000
lea ecx, [esp + 0x2c]
push 1
push ecx
call fcn.004e11c1
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x28
ja 0x49a680
push ebp
call fcn.004e0da1
add esp, 4
xor eax, eax
jmp 0x49a798
mov edx, dword [esp + 0x10]
push 0
add edi, edx
push edi
push ebp
call fcn.004e1268
mov eax, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 1
push ecx
call fcn.004e11c1
push ebp
mov esi, eax
call fcn.004e0da1
add esp, 0x20
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2010]
pop esi
pop ebp
xor ecx, esp
call fcn.004df824
add esp, 0x200c
ret 0xc
Function at 0x49a7c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004df840
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.004adee0
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x49a806
xor al, al
jmp 0x49a8c1
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004e11c1
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x49a887
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x49a85e
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x49a856
cmp byte [esp + esi + 0x11], 0x73
jne 0x49a856
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004e26c9
add esp, 0xc
test eax, eax
je 0x49a894
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x49a830
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004e1268
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004e11c1
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x49a826
push edi
call fcn.004e0da1
add esp, 4
xor al, al
jmp 0x49a8bf
push 0
add esi, ebx
push esi
push edi
call fcn.004e1268
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004e450e
cmp eax, 0x15
push edi
sete bl
call fcn.004e0da1
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004df824
add esp, 0x2004
ret 4

Function at 0x49bd40
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004df840
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.00443340
mov esi, eax
xor ebx, ebx
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x49bd7f
xor al, al
jmp 0x49be10
push ebp
push edi
mov dword [esp + 0x14], ebx
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004e11c1
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x49be03
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x49bddb
lea ebx, [ebx]
cmp byte [esp + esi + 0x18], 0x72
jne 0x49bdd6
cmp byte [esp + esi + 0x19], 0x65
jne 0x49bdd6
push 0x14
lea ecx, [esp + esi + 0x1e]
push str.quireAdministrator_
push ecx
call fcn.004e26c9
add esp, 0xc
test eax, eax
je 0x49be29
inc esi
cmp esi, ebp
jl 0x49bdb0
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.004e1268
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x49bd85
push esi
call fcn.004e0da1
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004e0da1
add esp, 4
mov al, 1
jmp 0x49be0e
Function at 0x49db00
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 0x49db59
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.00466bf0
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.004df824
add esp, 0x130
ret 0x10

Function at 0x49dfc0
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 0x49e027
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.004df63a
mov esi, eax
add esp, 4
test esi, esi
je 0x49e025
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.0049de30
push esi
call fcn.004e07e4
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x49f830
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 0x49f889
push 1
push str.Settings
call fcn.0047e7a0
test eax, eax
je 0x49f87e
mov eax, dword [0x5354dc]
mov ecx, dword [0x5275b4]
lea esi, [edi + 0x1088]
push esi
push 0x49f460
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 0x49f8ba
push 1
push 0x4f9a98
push 0
push 0x4f9
call fcn.004612b0
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 0x49f8c7
xor esi, esi
jmp 0x49f8f0
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x49f8d6
xor esi, esi
jmp 0x49f8f0
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x49f8e9
xor esi, esi
jmp 0x49f8f0
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xaa
jne 0x49f909
mov dword [edi + 0x80], 0xffffffff
push 0x4f9a98
jmp 0x49f96b
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x49f9b1
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004e0730
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 0x49f9b1
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x49f9b1
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.00451140
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.00496790
mov eax, dword [edi + 0x1084]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x49f992
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.0049ead0
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 0x4a03b0
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 0x4a03d5
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 0x4a043b
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x4a0443
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 0x4a03d3
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 0x4a04a4
push eax
call fcn.004ad580
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1930
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4a194b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.00496890
test eax, eax
je 0x4a1b03
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.004aeb60
mov ebx, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x14], ebx
test al, al
je 0x4a19d2
push ebx
call fcn.004aeac0
push 0x10
mov ebx, eax
call fcn.004aeac0
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.0049f340
mov edi, eax
test edi, edi
jne 0x4a1a17
mov edi, dword [esi + 0x18]
cmp byte [esp + 0x13], 0
je 0x4a1a37
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.004aebd0
mov edi, eax
push edi
mov ecx, 0x5446c8
call fcn.0049ed20
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.004a0c00
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], 0x173
test eax, eax
jne 0x4a1a92
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 0x4a1ad5
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 0x4a3700
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 0x4a3784
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 0x4a3783
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 0x4a3778
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 0x4a3724
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