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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e64f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 0x130b
push dword [edi + 0x10]
mov bh, 1
mov byte [esp + 0x27], 0
mov bl, bh
mov byte [esp + 0x28], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi - 0x20]
call fcn.0047d1b0
mov dword [esp + 0x78], 0
mov eax, dword [edi + 0xfc]
mov esi, dword [eax]
cmp esi, eax
je 0x47a647
nop
cmp byte [esi + 0xb8], 0
jne 0x47a5ca
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x48]
cmp eax, dword [esp + 0x2c]
jne 0x47a5c6
cmp dword [esp + 0x30], 8
lea edx, [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x47a5bb
mov ecx, dword [ecx]
call fcn.00495610
test al, al
je 0x47a5c6
xor bh, bh
xor bl, bl
jmp 0x47a5cf
mov byte [esp + 0x17], 1
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
jb 0x47a5da
mov ecx, dword [ecx]
mov edx, 0x4fdfec
call fcn.00495610
test al, al
je 0x47a5f2
mov al, byte [esi + 0xb8]
mov byte [esp + 0x18], al
cmp byte [esi + 0xd], 0
jne 0x47a637
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x47a61c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x47a637
jmp 0x47a610
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x47a610
jmp 0x47a637
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x47a635
cmp esi, dword [eax + 8]
jne 0x47a635
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47a625
mov esi, eax
cmp esi, dword [edi + 0xfc]
jne 0x47a590
test bh, bh
je 0x47a6ae
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
mov edx, 0x4fdffc
cmovae ecx, dword [esp + 0x1c]
call fcn.00495610
test al, al
je 0x47a67e
cmp byte [edi + 0x104], 0
je 0x47a6ac
cmp byte [edi + 0x105], 0
je 0x47a6ac
cmp byte [edi + 0x106], 0
je 0x47a6ac
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
mov edx, 0x4fe008
cmovae ecx, dword [esp + 0x1c]
call fcn.00495610
test al, al
je 0x47a6ae
cmp byte [edi + 0x107], 0
je 0x47a6ac
cmp byte [edi + 0x108], 0
jne 0x47a6ae
xor bh, bh
test bl, bl
je 0x47a6e1
cmp byte [edi + 0x104], 0
je 0x47a6df
cmp byte [edi + 0x105], 0
je 0x47a6df
cmp byte [edi + 0x106], 0
je 0x47a6df
cmp byte [edi + 0x107], 0
je 0x47a6df
cmp byte [edi + 0x108], 0
jne 0x47a6e1
xor bh, bh
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push dword [edi - 0x1c]
call esi
xor ecx, ecx
test bh, bh
push 0
setne cl
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f0
push dword [edi - 0x1c]
call esi
xor ecx, ecx
test bl, bl
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
setne cl
push ecx
push 0xf1
push eax
call ebx
push 0x3f4
push dword [edi - 0x1c]
call esi
xor ecx, ecx
cmp byte [esp + 0x17], cl
setne cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x1004
push dword [edi + 0xe4]
call ebx
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x47a7bc
lea ecx, [ecx]
push 0x30
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004cb9a0
add esp, 0xc
mov dword [esp + 0x38], esi
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 4
push eax
push 0
push 0x104b
push dword [edi + 0xe4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
cmovne ecx, dword [esp + 0x54]
test ecx, ecx
je 0x47a7a8
cmp dword [ecx + 0x20], 0
jne 0x47a7af
inc esi
cmp esi, ebx
jl 0x47a760
jmp 0x47a7bc
push ecx
push dword [esp + 0x1c]
mov ecx, dword [ecx + 0x20]
call fcn.00478520
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x47a7d7
push dword [esp + 0x1c]
call fcn.004c515a
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret