Function at 0x47e900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x806c
call fcn.004c5460
push ebx
push ebp
push esi
mov esi, edx
mov dword [esp + 0x14], esi
push edi
mov edi, ecx
cmp esi, 0xc7
ja 0x47ebb2
mov eax, dword [edi + 0x10]
lea edx, [esi*4 + 6]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add edx, eax
push 0
push 0
push 0x1004
push dword [edi]
add edx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
call ebx
mov ecx, dword [esp + 0x14]
mov ebp, eax
cmp byte [ecx + 1], 0
je 0x47e965
cmp byte [esp + 0x8080], 0
jne 0x47ebb2
cmp ebp, 2
jl 0x47ebb2
mov ax, word [esp + 0x8084]
test ax, ax
je 0x47e981
cmp ax, 0x41
jmp 0x47e999
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax]
jne 0x47e995
cmp byte [ecx + 3], 0
jne 0x47e995
cmp byte [eax + 4], 0
jmp 0x47e999
cmp byte [ecx + 4], 0
lea edx, [esp + 0x76]
sete al
mov dword [esp + 0x4c], edx
mov edx, 0x1fff
mov byte [esp + 0x8076], al
mov dword [esp + 0x50], edx
mov ah, byte [ecx]
cmp ah, 1
jne 0x47ea86
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
test ebp, ebp
jle 0x47ea79
nop word [eax + eax]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 1
push eax
push 0
push 0x104b
push dword [edi]
mov dword [esp + 0x50], esi
call ebx
test eax, eax
je 0x47ea39
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.00410ac0
test al, al
je 0x47ea26
push 0x10
push 0
push esi
call fcn.004b2a5a
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x47ea41
push esi
call fcn.004b2533
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x47ea41
mov dword [esp + 0x58], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 4
push eax
push 0
push 0x104c
push dword [edi]
mov dword [esp + 0x50], 0
call ebx
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ebp
jl 0x47e9e0
mov al, byte [esp + 0x8076]
push 0x47e8e0
movzx eax, al
jmp 0x47eb98
test ah, ah
jne 0x47eae4
cmp byte [ecx + 2], 3
jne 0x47eae4
cmp dword [0x4f83ec], 0
jne 0x47ead2
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x47eabb
push str.StrCmpLogicalW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f83ec], eax
jmp 0x47eac0
mov eax, dword [0x4f83ec]
test eax, eax
jne 0x47eace
mov edx, dword [esp + 0x14]
mov byte [edx + 2], 2
jmp 0x47eae6
mov edx, dword [esp + 0x50]
mov eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
dec eax
mov dword [esp + 0x50], eax
jmp 0x47eae6
mov edx, ecx
mov ecx, dword [edi]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], esi
mov eax, dword [edx]
mov dword [esp + 0x70], eax
mov al, byte [edx + 4]
push 0x47e750
mov byte [esp + 0x78], al
lea eax, [esp + 0x24]
push eax
push 0x1051
push ecx
mov byte [esp + 0x8087], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], 1
call ebx
cmp dword [esp + 0x4c], 0
jne 0x47eba2
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
test ebp, ebp
jle 0x47eb73
lea eax, [esp + 0x38]
push eax
push 0
push 0x104c
push dword [edi]
call ebx
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x58]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ebp
jl 0x47eb52
mov byte [esp + 0x8077], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], esi
push 0x47e750
push eax
push 0x1030
push dword [edi]
call ebx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], esi
mov al, byte [esp + 0x8076]
mov byte [ecx + 4], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x806c
ret