joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x88], edi
test byte [0x551bf4], 1
jne 0x49bb2e
or dword [0x551bf4], 1
xor eax, eax
push 0x50ccf0
mov dword [0x551bec], 7
mov dword [0x551be8], edi
mov word [0x551bd8], ax
call fcn.00404f03
add esp, 4
cmp byte [0x551bd4], 0
jne 0x49bccd
lea ecx, [ebp - 0x64]
push ecx
mov byte [0x551bd4], 1
call fcn.0049ad90
add esp, 4
mov dword [ebp - 4], edi
cmp dword [ebp - 0x54], edi
je 0x49bcb4
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0046a480
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], edi
je 0x49bca2
lea ecx, [ebp - 0x2c]
push edi
push ecx
xor bl, bl
call fcn.00416c50
add esp, 8
test al, al
je 0x49bc7a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x49bb9a
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x49bbb2
push str..exe
lea ecx, [ebp - 0x2c]
call fcn.00429a40
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x49bbbe
lea eax, [ebp - 0x2c]
push str.drwtsn32.exe
push eax
call fcn.004086e6
add esp, 8
test eax, eax
jne 0x49bbff
push edi
push str.drwtsn32.exe
lea edx, [ebp - 0x48]
push 0x29
push edx
call fcn.00429c80
add esp, 0x10
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00406280
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040a2c0
jmp 0x49bc7a
lea ecx, [ebp - 0x84]
call fcn.0045b3b0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.0045b6c0
test al, al
je 0x49bc67
lea ecx, [ebp - 0x8c]
call fcn.0045b340
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push 1
push edx
mov byte [ebp - 4], 5
call fcn.00469c30
add esp, 0xc
lea ecx, [ebp - 0x48]
mov bl, al
call fcn.0040a2c0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.0045b390
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0045b410
test bl, bl
je 0x49bca2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x49bc86
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49bca2
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x551bd8
call fcn.00406960
cmp dword [ebp - 0x18], 8
jb 0x49bcb4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ec9
add esp, 4
cmp dword [ebp - 0x50], 8
mov dword [ebp - 4], 0xffffffff
jb 0x49bccd
mov edx, dword [ebp - 0x64]
push edx
call fcn.00406ec9
add esp, 4
push 0xffffffffffffffff
push edi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push 0x551bd8
mov ecx, esi
mov word [esi], ax
call fcn.00406960
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x49e820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
push esi
mov esi, ecx
test eax, eax
je 0x49e949
cmp word [eax], 0
je 0x49e949
cmp edi, 1
jbe 0x49e949
push str.8895b1c6_b41f_4c1c_a562_0d564250836f
push eax
push str.._sShellEx_s
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00408c10
add esp, 0x14
test eax, eax
js 0x49e937
lea ecx, [ebp - 0x808]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x804]
push edx
push 0x80000000
mov dword [ebp - 0x808], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e937
lea ecx, [edi + edi]
push ecx
lea eax, [edi + edi - 2]
push 0
push esi
mov dword [ebp - 0x810], 1
mov dword [ebp - 0x80c], eax
call fcn.004e15a0
mov ecx, dword [ebp - 0x808]
add esp, 0xc
lea edx, [ebp - 0x80c]
push edx
push esi
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49e92a
cmp word [esi], ax
je 0x49e928
lea esp, [esp]
movzx edx, word [esi]
push edx
call fcn.004e322c
add esp, 4
test eax, eax
je 0x49e91f
movzx eax, word [esi]
push eax
call fcn.004e39e0
add esp, 4
mov word [esi], ax
add esi, 2
cmp word [esi], 0
jne 0x49e900
mov bl, 1
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4a3520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x4a3641
cmp byte [edi + 0x49], bl
je 0x4a3641
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x4a3635
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4a3595
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4a35ad
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4a35d6
dec eax
je 0x4a35da
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x4a3630
jmp 0x4a363c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4a35ea
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4a3613
cmp ebx, 0x10
jae 0x4a35f9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004e4d1b
add esp, 0x10
cmp esi, eax
jne 0x4a362d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x4a3639
test esi, esi
jne 0x4a35a1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0044c320
jmp 0x4a359b
lea ecx, [ebp - 0x2c]
call fcn.00438e30
xor al, al
jmp 0x4a3643
lea ecx, [ebp - 0x2c]
call fcn.00438e30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4a8760
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508437
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], eax
je 0x4a87ae
mov dword [ebx], 0x52da98
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov dword [ebx + edx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
call fcn.00456bf0
lea esi, [ebx + 0x10]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00457b00
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x4a8800
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.00445a20
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov ecx, esi
mov dword [ebp - 4], 2
mov dword [ebx + edx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.00457540
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x551bfc]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b3b10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x14]
xor al, al
mov byte [ebp - 1], al
test ecx, ecx
je 0x4b3b26
mov dword [ecx], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x4b3b35
mov dword [esi], 0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x10], 0
je 0x4b3c2a
push 0
push ebx
call fcn.00416c50
add esp, 8
test al, al
jne 0x4b3c27
mov ecx, ebx
call fcn.0041a2d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b3c27
mov ecx, ebx
call fcn.0041a2d0
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x4b3c27
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x10], 0
mov dword [ebp + 0x18], 0
jne 0x4b3b95
xor eax, eax
jmp 0x4b3b9a
call fcn.0041a2d0
cmp byte [ebp + 0x24], 0
push edi
mov edi, str.runas
jne 0x4b3bab
mov edi, str.open
push 0
mov ecx, esi
neg ecx
sbb ecx, ecx
lea edx, [ebp + 0x18]
and ecx, edx
mov edx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push str.exefile
push edx
push 1
push eax
mov ecx, ebx
call fcn.0041a2d0
push eax
mov eax, dword [ebp + 0x20]
push edi
push eax
call fcn.00462400
add esp, 0x28
pop edi
test al, al
je 0x4b3c27
test esi, esi
je 0x4b3c1d
cmp dword [ebp + 0x18], 0
je 0x4b3c1d
push 1
push 0
push 0
call fcn.0049a910
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 0x18]
add esp, 4
push eax
mov eax, dword [edx]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4b3c1d
mov dword [esi], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4b4db0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509700
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 9
xor ebx, ebx
xor eax, eax
push str..pipe_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00406300
lea edx, [esi + 0x204]
mov eax, edx
mov dword [ebp - 4], ebx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b4e10
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040e560
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x4b4e39
lea eax, [ebp - 0x2c]
push ebx
push 0x7d0
push 0x1000
push 0x1000
push 1
push ebx
push 0x80003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4b4efa
cmp eax, ebx
je 0x4b4efa
lea ecx, [esi + 8]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov byte [ebp - 0x7a], bl
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x74], bl
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x7c], 0x100
call fcn.0045a2d0
push esi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov byte [ebp - 4], 1
call fcn.0045a810
add esp, 0x14
test al, al
je 0x4b4ee4
cmp dword [esi], ebx
je 0x4b4ee4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00438ee0
cmp dword [ebp - 0x18], edi
jb 0x4b4ec4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00438ee0
cmp dword [ebp - 0x18], edi
jb 0x4b4f0b
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x4b4f03
cmp dword [ebp - 0x18], edi
jb 0x4b4f0b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ec9
add esp, 4
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x4b4f1c
push eax
call edi
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4b4f2e
push eax
call edi
mov dword [esi + 4], 0xffffffff
xor al, al
jmp 0x4b4ec6
Function at 0x4bf320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a142
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x50], ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0x551c0c
call esi
test eax, eax
jne 0x4bf4ad
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0CommonInstallRoot
push 0x80000002
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040a8c0
lea ecx, [ebp - 0x48]
push ecx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 1
call fcn.0041fac0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bf3e3
cmp dword [ebp - 0x38], ebx
je 0x4bf3e3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4bf3d8
lea eax, [ebp - 0x48]
push eax
call edi
mov byte [ebp - 0x49], 1
test eax, eax
jne 0x4bf3e6
mov byte [ebp - 0x49], bl
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0040aa70
cmp byte [ebp - 0x49], bl
je 0x4bf3ff
push ebx
push 1
jmp 0x4bf46f
push 0x20019
push 0x531008
push 0x80000002
lea ecx, [ebp - 0x58]
call fcn.0040a8c0
lea edx, [ebp - 0x2c]
push edx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 2
call fcn.0041fac0
test eax, eax
jne 0x4bf451
cmp dword [ebp - 0x1c], ebx
je 0x4bf451
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4bf446
lea eax, [ebp - 0x2c]
push eax
call edi
mov byte [ebp - 0x49], 1
test eax, eax
jne 0x4bf454
mov byte [ebp - 0x49], bl
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0040aa70
push ebx
cmp byte [ebp - 0x49], bl
je 0x4bf46d
push 1
jmp 0x4bf46f
push 2
push 0x551c0c
call esi
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x4bf48c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x4bf4ad
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406ec9
add esp, 4
push ebx
push ebx
push 0x551c0c
call esi
dec eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4c2cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xb4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xb4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0xb4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 5
push edx
call ebx
mov eax, dword [esi + 0xb4]
push 0
push 0
push 7
push eax
call ebx
mov ecx, dword [esi + 0xb4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp byte [esi + 0xad], 0
je 0x4c2db9
push edi
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4c2db8
mov edi, dword [esi + 4]
test edi, edi
je 0x4c2d9b
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0x24]
cmp ecx, eax
je 0x4c2d85
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4c2d9b
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x37f
push ecx
call ebx
cmp eax, 1
je 0x4c2daf
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0xad], 0
jne 0x4c2d51
pop edi
xor eax, eax
cmp dword [esi + 0xa8], 1
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c3970
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x4c39e2
cmp dword [esi + 0x14], 8
jb 0x4c398c
mov eax, dword [esi]
jmp 0x4c398e
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4c39e2
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004e15a0
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
jb 0x4c39c2
mov esi, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4c39e4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x30]
pop edi
mov dword [edx], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c3f60
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x40]
mov esi, 1
mov dword [ebp - 4], esi
test eax, 0x100000
jne 0x4c40a0
test eax, 0x20000
je 0x4c3fb2
test eax, 0x10000
je 0x4c40a0
cmp dword [ebp + 0x18], 0
je 0x4c40a0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4c3fc8
lea eax, [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsURLW]
push eax
call ebx
test eax, eax
je 0x4c40a0
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004e15a0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], esi
jae 0x4c3fff
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push edx
push eax
call esi
test eax, eax
je 0x4c40a0
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4c4027
cmp eax, 4
jne 0x4c40a0
cmp dword [ebp + 0x34], 0
je 0x4c40a0
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x4c4039
lea eax, [ebp + 0x24]
push eax
call ebx
test eax, eax
je 0x4c40a0
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004e15a0
mov eax, dword [ebp + 0x24]
add esp, 0xc
cmp dword [ebp + 0x38], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
jae 0x4c406a
lea eax, [ebp + 0x24]
mov edx, dword [ebp + 0x34]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push edx
push eax
call esi
test eax, eax
je 0x4c40a0
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4c4088
cmp eax, 4
jne 0x4c40a0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb8]
push 1
lea eax, [ebp + 8]
push eax
push edx
call fcn.00496f20
add esp, 0xc
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4c40b6
mov eax, dword [ebp + 8]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], esi
jb 0x4c40db
mov edx, dword [ebp + 0x24]
push edx
call fcn.00406ec9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x4c9ac0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab58
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
cmp byte [edi + 0xaf], 0
je 0x4c9c7b
cmp dword [esi + 0x10], 0
je 0x4c9c7b
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x4c9b18
mov eax, dword [esi]
jmp 0x4c9b1a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4c9c7b
push 0x3c
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004e15a0
mov ecx, dword [esi + 0x10]
mov eax, 1
add esp, 0xc
mov dword [ebp - 0xc0], 0x3c
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xac], eax
cmp dword [esi + 0x14], ebx
jb 0x4c9b63
mov eax, dword [esi]
jmp 0x4c9b65
mov eax, esi
lea edx, [ebp - 0xc0]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4c9c7b
mov eax, dword [ebp - 0xb4]
cmp eax, 3
je 0x4c9b92
cmp eax, 4
jne 0x4c9c7b
mov eax, dword [ebp - 0xbc]
xor bl, bl
test eax, eax
je 0x4c9c65
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x4c9c65
cmp dword [ebp - 0xb0], 0
je 0x4c9c65
cmp dword [ebp - 0xac], 0
jbe 0x4c9c65
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00471e40
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00471e40
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.004c9a40
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
lea ecx, [edi + 0xbc]
mov byte [ebp - 4], 2
call fcn.004c8c00
lea ecx, [ebp - 0x80]
call fcn.0040a160
mov eax, dword [ebp - 0x84]
cmp eax, dword [edi + 0xc0]
je 0x4c9c51
add eax, 0x44
cmp dword [eax + 0x14], 8
jb 0x4c9c41
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov bl, 1
lea ecx, [ebp - 0x48]
call fcn.0040a2c0
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
test bl, bl
jne 0x4c9c7b
cmp dword [esi + 0x14], 8
jb 0x4c9c6d
mov esi, dword [esi]
mov ecx, dword [edi + 0xb4]
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4